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

    items

    Fields inherited from interface net.minecraft.world.Container

    DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deserializeNBT(net.minecraft.nbt.CompoundTag compound)
     
    void
     
    net.minecraft.nbt.CompoundTag
     

    Methods 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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods 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()