BedrioxDOCUMENTATION
API CLASS

ContainerManager

Public entry point for looking up world storage and creating plugin-owned inventories.

Bedriox\Api\Inventory\ContainerManager
classBedriox\Api\Inventory

Public methods

__construct(Closure $at, Closure $create, ?Closure $guard = null)

Typed public method.

at(Bedriox\Api\World\World $world, Bedriox\Api\World\BlockPosition $position): ?Bedriox\Api\Inventory\Container

Typed public method.

create(Bedriox\Api\Inventory\ContainerLayout $layout = \Bedriox\Api\Inventory\ContainerLayout::SINGLE_CHEST, ?string $title = null): Bedriox\Api\Inventory\Container

Typed public method.

View exact source ↗