Package net.minecraft.world
Interface Container
- All Superinterfaces:
Clearable
- All Known Subinterfaces:
Hopper
,WorldlyContainer
- All Known Implementing Classes:
AbstractFurnaceBlockEntity
,AbstractMinecartContainer
,BarrelBlockEntity
,BaseContainerBlockEntity
,BlastFurnaceBlockEntity
,BrewingStandBlockEntity
,ChestBlockEntity
,ComposterBlock.EmptyContainer
,ComposterBlock.InputContainer
,ComposterBlock.OutputContainer
,CompoundContainer
,CraftingContainer
,DispenserBlockEntity
,DropperBlockEntity
,FurnaceBlockEntity
,HopperBlockEntity
,Inventory
,MerchantContainer
,MinecartChest
,MinecartHopper
,PlayerEnderChestContainer
,RandomizableContainerBlockEntity
,RecipeBookExtensionTest.RecipeBookTestContainer
,RecipeWrapper
,ResultContainer
,ShulkerBoxBlockEntity
,SimpleContainer
,SmokerBlockEntity
,TrappedChestBlockEntity
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canPlaceItem
(int p_18952_, ItemStack p_18953_) default int
int
getItem
(int p_18941_) default int
default boolean
boolean
isEmpty()
removeItem
(int p_18942_, int p_18943_) removeItemNoUpdate
(int p_18951_) void
void
default void
boolean
stillValid
(Player p_18946_) default void
Methods inherited from interface net.minecraft.world.Clearable
clearContent
-
Field Details
-
LARGE_MAX_STACK_SIZE
static final int LARGE_MAX_STACK_SIZE- See Also:
-
-
Method Details
-
getContainerSize
int getContainerSize() -
isEmpty
boolean isEmpty() -
getItem
-
removeItem
-
removeItemNoUpdate
-
setItem
-
getMaxStackSize
default int getMaxStackSize() -
setChanged
void setChanged() -
stillValid
-
startOpen
-
stopOpen
-
canPlaceItem
-
countItem
-
hasAnyOf
-