Package net.minecraft.inventory
Class EnderChestInventory
- java.lang.Object
-
- net.minecraft.inventory.Inventory
-
- net.minecraft.inventory.EnderChestInventory
-
- All Implemented Interfaces:
IClearable
,IInventory
,IRecipeHelperPopulator
public class EnderChestInventory extends Inventory
-
-
Field Summary
Fields Modifier and Type Field Description private EnderChestTileEntity
activeChest
-
Constructor Summary
Constructors Constructor Description EnderChestInventory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListNBT
createTag()
void
fromTag(ListNBT p_70486_1_)
void
setActiveChest(EnderChestTileEntity p_146031_1_)
void
startOpen(PlayerEntity p_174889_1_)
boolean
stillValid(PlayerEntity p_70300_1_)
void
stopOpen(PlayerEntity p_174886_1_)
-
Methods inherited from class net.minecraft.inventory.Inventory
addItem, addListener, canAddItem, clearContent, fillStackedContents, getContainerSize, getItem, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, setChanged, setItem, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.minecraft.inventory.IInventory
canPlaceItem, countItem, getMaxStackSize, hasAnyOf
-
-
-
-
Field Detail
-
activeChest
private EnderChestTileEntity activeChest
-
-
Method Detail
-
setActiveChest
public void setActiveChest(EnderChestTileEntity p_146031_1_)
-
stillValid
public boolean stillValid(PlayerEntity p_70300_1_)
- Specified by:
stillValid
in interfaceIInventory
- Overrides:
stillValid
in classInventory
-
startOpen
public void startOpen(PlayerEntity p_174889_1_)
-
stopOpen
public void stopOpen(PlayerEntity p_174886_1_)
-
-