Package net.minecraft.world
Class CompoundContainer
java.lang.Object
net.minecraft.world.CompoundContainer
- 
Field Summary
FieldsFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleancanPlaceItem(int p_18934_, ItemStack p_18935_) voidbooleanintgetItem(int p_18920_) intbooleanisEmpty()removeItem(int p_18922_, int p_18923_) removeItemNoUpdate(int p_18932_) voidvoidvoidbooleanstillValid(Player p_18930_) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.Container
canTakeItem, countItem, hasAnyMatching, hasAnyOf 
- 
Field Details
- 
container1
 - 
container2
 
 - 
 - 
Constructor Details
- 
CompoundContainer
 
 - 
 - 
Method Details
- 
getContainerSize
public int getContainerSize()- Specified by:
 getContainerSizein interfaceContainer
 - 
isEmpty
public boolean isEmpty() - 
contains
 - 
getItem
 - 
removeItem
- Specified by:
 removeItemin interfaceContainer
 - 
removeItemNoUpdate
- Specified by:
 removeItemNoUpdatein interfaceContainer
 - 
setItem
 - 
getMaxStackSize
public int getMaxStackSize()- Specified by:
 getMaxStackSizein interfaceContainer
 - 
setChanged
public void setChanged()- Specified by:
 setChangedin interfaceContainer
 - 
stillValid
- Specified by:
 stillValidin interfaceContainer
 - 
startOpen
 - 
stopOpen
 - 
canPlaceItem
- Specified by:
 canPlaceItemin interfaceContainer
 - 
clearContent
public void clearContent()- Specified by:
 clearContentin interfaceClearable
 
 -