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\ContainerTyped public method.
create(Bedriox\Api\Inventory\ContainerLayout $layout = \Bedriox\Api\Inventory\ContainerLayout::SINGLE_CHEST, ?string $title = null): Bedriox\Api\Inventory\ContainerTyped public method.
