- All Superinterfaces:
Clearable, ContainerExtension, Iterable<ItemStack>, SlotProvider
- All Known Subinterfaces:
ContainerEntity, ContainerSingleItem, ContainerSingleItem.BlockContainerSingleItem, CraftingContainer, Hopper, ListBackedContainer, RandomizableContainer, WorldlyContainer
- All Known Implementing Classes:
AbstractChestBoat, AbstractFurnaceBlockEntity, AbstractMinecartContainer, BarrelBlockEntity, BaseContainerBlockEntity, BlastFurnaceBlockEntity, BrewingStandBlockEntity, ChestBlockEntity, ChestBoat, ChestRaft, ChiseledBookShelfBlockEntity, ComposterBlock.EmptyContainer, ComposterBlock.InputContainer, ComposterBlock.OutputContainer, CompoundContainer, CrafterBlockEntity, DecoratedPotBlockEntity, DispenserBlockEntity, DropperBlockEntity, FurnaceBlockEntity, HopperBlockEntity, Inventory, JukeboxBlockEntity, MerchantContainer, MinecartChest, MinecartHopper, PlayerEnderChestContainer, RandomizableContainerBlockEntity, ResultContainer, ShelfBlockEntity, ShulkerBoxBlockEntity, SimpleContainer, SmokerBlockEntity, TransientCraftingContainer, TrappedChestBlockEntity
-
Nested Class Summary
Nested Classes
-
-
Method Summary
default boolean
Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.
default boolean
Returns true if the given stack can be extracted into the target inventory.
default int
Returns the total amount of the specified item in this inventory.
int
Returns the stack in the given slot.
default int
default int
default boolean
default boolean
Returns true if any item from the passed set exists in this inventory.
boolean
Removes up to a specified number of items from an inventory slot and returns them in a new stack.
Removes a stack from the given slot and returns it.
void
void
Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
default void
boolean
Don't rename this method to canInteractWith due to conflicts with Container
static boolean
static boolean
default void
-
-
Method Details
-
-
-
-
-
-
-
-
-
-
-
-
-
getEntitiesWithContainerOpen
-
-
-
-
-
-
-
-
-