Package net.minecraft.inventory
Interface IInventory
- All Superinterfaces:
IClearable
- All Known Subinterfaces:
IHopper
,ISidedInventory
- All Known Implementing Classes:
AbstractFurnaceTileEntity
,BarrelTileEntity
,BlastFurnaceTileEntity
,BrewingStandTileEntity
,ChestMinecartEntity
,ChestTileEntity
,ComposterBlock.EmptyInventory
,ComposterBlock.FullInventory
,ComposterBlock.PartialInventory
,ContainerMinecartEntity
,CraftingInventory
,CraftResultInventory
,DispenserTileEntity
,DoubleSidedInventory
,DropperTileEntity
,EnderChestInventory
,FurnaceTileEntity
,HopperMinecartEntity
,HopperTileEntity
,Inventory
,LockableLootTileEntity
,LockableTileEntity
,MerchantInventory
,PlayerInventory
,RecipeWrapper
,ShulkerBoxTileEntity
,SmokerTileEntity
,TrappedChestTileEntity
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
canPlaceItem
(int p_94041_1_, ItemStack p_94041_2_) default int
int
getItem
(int p_70301_1_) default int
default boolean
boolean
isEmpty()
removeItem
(int p_70298_1_, int p_70298_2_) removeItemNoUpdate
(int p_70304_1_) void
void
default void
startOpen
(PlayerEntity p_174889_1_) boolean
stillValid
(PlayerEntity p_70300_1_) default void
stopOpen
(PlayerEntity p_174886_1_) Methods inherited from interface net.minecraft.inventory.IClearable
clearContent
-
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
-