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

public class BlockEntityUItemStackContainer extends UItemStackContainer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.world.level.block.entity.BlockEntity
     

    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
    BlockEntityUItemStackContainer(int size, net.minecraft.world.level.block.entity.BlockEntity blockEntity)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class info.u_team.u_team_core.inventory.UItemStackContainer

    deserializeNBT, onLoad, serializeNBT

    Methods inherited from class net.minecraft.world.SimpleContainer

    addItem, addListener, canAddItem, clearContent, createTag, fillStackedContents, fromTag, getContainerSize, getItem, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, 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
  • 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:
      setChanged in interface net.minecraft.world.Container
      Overrides:
      setChanged in class net.minecraft.world.SimpleContainer