Package net.minecraft.inventory
Class DoubleSidedInventory
java.lang.Object
net.minecraft.inventory.DoubleSidedInventory
- All Implemented Interfaces:
IClearable,IInventory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlaceItem(int p_94041_1_, ItemStack p_94041_2_) voidbooleancontains(IInventory p_90010_1_) intgetItem(int p_70301_1_) intbooleanisEmpty()removeItem(int p_70298_1_, int p_70298_2_) removeItemNoUpdate(int p_70304_1_) voidvoidvoidstartOpen(PlayerEntity p_174889_1_) booleanstillValid(PlayerEntity p_70300_1_) voidstopOpen(PlayerEntity p_174886_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.inventory.IInventory
countItem, hasAnyOf
-
Field Details
-
container1
-
container2
-
-
Constructor Details
-
DoubleSidedInventory
-
-
Method Details
-
getContainerSize
public int getContainerSize()- Specified by:
getContainerSizein interfaceIInventory
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceIInventory
-
contains
-
getItem
- Specified by:
getItemin interfaceIInventory
-
removeItem
- Specified by:
removeItemin interfaceIInventory
-
removeItemNoUpdate
- Specified by:
removeItemNoUpdatein interfaceIInventory
-
setItem
- Specified by:
setItemin interfaceIInventory
-
getMaxStackSize
public int getMaxStackSize()- Specified by:
getMaxStackSizein interfaceIInventory
-
setChanged
public void setChanged()- Specified by:
setChangedin interfaceIInventory
-
stillValid
- Specified by:
stillValidin interfaceIInventory
-
startOpen
- Specified by:
startOpenin interfaceIInventory
-
stopOpen
- Specified by:
stopOpenin interfaceIInventory
-
canPlaceItem
- Specified by:
canPlaceItemin interfaceIInventory
-
clearContent
public void clearContent()- Specified by:
clearContentin interfaceIClearable
-