Package net.minecraft.inventory
Class DoubleSidedInventory
java.lang.Object
net.minecraft.inventory.DoubleSidedInventory
- All Implemented Interfaces:
IClearable
,IInventory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canPlaceItem
(int p_94041_1_, ItemStack p_94041_2_) void
boolean
contains
(IInventory p_90010_1_) int
getItem
(int p_70301_1_) int
boolean
isEmpty()
removeItem
(int p_70298_1_, int p_70298_2_) removeItemNoUpdate
(int p_70304_1_) void
void
void
startOpen
(PlayerEntity p_174889_1_) boolean
stillValid
(PlayerEntity p_70300_1_) void
stopOpen
(PlayerEntity p_174886_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.inventory.IInventory
countItem, hasAnyOf
-
Field Details
-
container1
-
container2
-
-
Constructor Details
-
DoubleSidedInventory
-
-
Method Details
-
getContainerSize
public int getContainerSize()- Specified by:
getContainerSize
in interfaceIInventory
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceIInventory
-
contains
-
getItem
- Specified by:
getItem
in interfaceIInventory
-
removeItem
- Specified by:
removeItem
in interfaceIInventory
-
removeItemNoUpdate
- Specified by:
removeItemNoUpdate
in interfaceIInventory
-
setItem
- Specified by:
setItem
in interfaceIInventory
-
getMaxStackSize
public int getMaxStackSize()- Specified by:
getMaxStackSize
in interfaceIInventory
-
setChanged
public void setChanged()- Specified by:
setChanged
in interfaceIInventory
-
stillValid
- Specified by:
stillValid
in interfaceIInventory
-
startOpen
- Specified by:
startOpen
in interfaceIInventory
-
stopOpen
- Specified by:
stopOpen
in interfaceIInventory
-
canPlaceItem
- Specified by:
canPlaceItem
in interfaceIInventory
-
clearContent
public void clearContent()- Specified by:
clearContent
in interfaceIClearable
-