Package net.minecraft.world.ticks
Interface ContainerSingleItem
- All Known Implementing Classes:
JukeboxBlockEntity
-
Field Summary
Fields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
default int
default ItemStack
default boolean
isEmpty()
default ItemStack
default ItemStack
removeItemNoUpdate
(int p_273409_) default void
setFirstItem
(ItemStack p_273635_) Methods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getItem, getMaxStackSize, hasAnyMatching, hasAnyOf, removeItem, setChanged, setItem, startOpen, stillValid, stopOpen
-
Method Details
-
getContainerSize
default int getContainerSize()- Specified by:
getContainerSize
in interfaceContainer
-
isEmpty
default boolean isEmpty() -
clearContent
default void clearContent()- Specified by:
clearContent
in interfaceClearable
-
getFirstItem
-
removeFirstItem
-
setFirstItem
-
removeItemNoUpdate
- Specified by:
removeItemNoUpdate
in interfaceContainer
-