Package net.minecraft.world
Class CompoundContainer
java.lang.Object
net.minecraft.world.CompoundContainer
-
Field Summary
Fields inherited from interface net.minecraft.world.Container
LARGE_MAX_STACK_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canPlaceItem
(int p_18934_, ItemStack p_18935_) void
boolean
int
getItem
(int p_18920_) int
boolean
isEmpty()
removeItem
(int p_18922_, int p_18923_) removeItemNoUpdate
(int p_18932_) void
void
void
boolean
stillValid
(Player p_18930_) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.Container
countItem, hasAnyMatching, hasAnyOf
-
Field Details
-
container1
-
container2
-
-
Constructor Details
-
CompoundContainer
-
-
Method Details
-
getContainerSize
public int getContainerSize()- Specified by:
getContainerSize
in interfaceContainer
-
isEmpty
public boolean isEmpty() -
contains
-
getItem
-
removeItem
- Specified by:
removeItem
in interfaceContainer
-
removeItemNoUpdate
- Specified by:
removeItemNoUpdate
in interfaceContainer
-
setItem
-
getMaxStackSize
public int getMaxStackSize()- Specified by:
getMaxStackSize
in interfaceContainer
-
setChanged
public void setChanged()- Specified by:
setChanged
in interfaceContainer
-
stillValid
- Specified by:
stillValid
in interfaceContainer
-
startOpen
-
stopOpen
-
canPlaceItem
- Specified by:
canPlaceItem
in interfaceContainer
-
clearContent
public void clearContent()- Specified by:
clearContent
in interfaceClearable
-