Class BlockEntityUItemStackContainer
java.lang.Object
net.minecraft.world.SimpleContainer
info.u_team.u_team_core.inventory.UItemStackContainer
info.u_team.u_team_core.inventory.BlockEntityUItemStackContainer
- All Implemented Interfaces:
net.minecraft.world.Clearable,net.minecraft.world.Container,net.minecraft.world.inventory.StackedContentsCompatible
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.world.level.block.entity.BlockEntityFields inherited from class net.minecraft.world.SimpleContainer
itemsFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBlockEntityUItemStackContainer(int size, net.minecraft.world.level.block.entity.BlockEntity blockEntity) -
Method Summary
Methods inherited from class info.u_team.u_team_core.inventory.UItemStackContainer
deserializeNBT, onLoad, serializeNBTMethods inherited from class net.minecraft.world.SimpleContainer
addItem, addListener, canAddItem, clearContent, createTag, fillStackedContents, fromTag, getContainerSize, getItem, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, 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
-
Field Details
-
blockEntity
protected final net.minecraft.world.level.block.entity.BlockEntity blockEntity
-
-
Constructor Details
-
BlockEntityUItemStackContainer
public BlockEntityUItemStackContainer(int size, net.minecraft.world.level.block.entity.BlockEntity blockEntity)
-
-
Method Details
-
setChanged
public void setChanged()- Specified by:
setChangedin interfacenet.minecraft.world.Container- Overrides:
setChangedin classnet.minecraft.world.SimpleContainer
-