Class UItemStackContainer
java.lang.Object
net.minecraft.world.SimpleContainer
info.u_team.u_team_core.inventory.UItemStackContainer
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,net.minecraft.world.inventory.StackedContentsCompatible
- Direct Known Subclasses:
BlockEntityUItemStackContainer
public class UItemStackContainer
extends net.minecraft.world.SimpleContainer
-
Field Summary
Fields inherited from class net.minecraft.world.SimpleContainer
itemsFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserializeNBT(net.minecraft.nbt.CompoundTag compound) voidonLoad()net.minecraft.nbt.CompoundTagMethods inherited from class net.minecraft.world.SimpleContainer
addItem, addListener, canAddItem, clearContent, createTag, fillStackedContents, fromTag, getContainerSize, getItem, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, setChanged, setItem, stillValid, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getMaxStackSize, hasAnyMatching, hasAnyOf, startOpen, stopOpen
-
Constructor Details
-
UItemStackContainer
public UItemStackContainer(int size)
-
-
Method Details
-
serializeNBT
public net.minecraft.nbt.CompoundTag serializeNBT() -
deserializeNBT
public void deserializeNBT(net.minecraft.nbt.CompoundTag compound) -
onLoad
public void onLoad()
-