Class LargeInventory

java.lang.Object
org.cyclops.cyclopscore.inventory.SimpleInventory
org.cyclops.cyclopscore.inventory.LargeInventory
All Implemented Interfaces:
net.minecraft.world.Clearable, net.minecraft.world.Container, net.minecraft.world.WorldlyContainer, org.cyclops.cyclopscore.inventory.INBTInventory, org.cyclops.cyclopscore.persist.nbt.INBTSerializable
Direct Known Subclasses:
IndexedInventory

@Deprecated public class LargeInventory extends SimpleInventory
Deprecated.
A large inventory implementation.
  • Constructor Details

    • LargeInventory

      public LargeInventory()
      Deprecated.
      Default constructor for NBT persistence, don't call this yourself.
    • LargeInventory

      public LargeInventory(int size, int stackLimit)
      Deprecated.
      Make a new instance.
      Parameters:
      size - The amount of slots in the inventory.
      stackLimit - The stack limit for each slot.
  • Method Details

    • readFromNBT

      public void readFromNBT(net.minecraft.core.HolderLookup.Provider provider, net.minecraft.nbt.CompoundTag data, String tag)
      Deprecated.
      Overrides:
      readFromNBT in class SimpleInventory
    • writeToNBT

      public void writeToNBT(net.minecraft.core.HolderLookup.Provider provider, net.minecraft.nbt.CompoundTag data, String tag)
      Deprecated.
      Overrides:
      writeToNBT in class SimpleInventory