Class InventoryContainer

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
org.cyclops.cyclopscore.inventory.container.ContainerExtended
org.cyclops.cyclopscore.inventory.container.InventoryContainer
All Implemented Interfaces:
IContainerButtonClickAcceptorServer<ContainerExtended>, IValueNotifiable, IValueNotifier
Direct Known Subclasses:
ContainerInfoBookTest, ScrollingInventoryContainer

public abstract class InventoryContainer extends ContainerExtended
A container for an inventory.
  • Field Details

    • inventory

      protected final net.minecraft.world.Container inventory
  • Constructor Details

    • InventoryContainer

      public InventoryContainer(@Nullable net.minecraft.world.inventory.MenuType<?> type, int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.Container inventory)
  • Method Details

    • isAssertInventorySize

      protected boolean isAssertInventorySize()
    • getContainerInventory

      public net.minecraft.world.Container getContainerInventory()
    • getSizeInventory

      protected int getSizeInventory()
      Specified by:
      getSizeInventory in class ContainerExtended
    • stillValid

      public boolean stillValid(net.minecraft.world.entity.player.Player player)
      Specified by:
      stillValid in class net.minecraft.world.inventory.AbstractContainerMenu
    • removed

      public void removed(net.minecraft.world.entity.player.Player player)
      Overrides:
      removed in class net.minecraft.world.inventory.AbstractContainerMenu