Class DataSlot

java.lang.Object
net.minecraft.world.inventory.DataSlot

public abstract class DataSlot extends Object
  • Field Details

    • prevValue

      private int prevValue
  • Constructor Details

    • DataSlot

      public DataSlot()
  • Method Details

    • forContainer

      public static DataSlot forContainer(ContainerData p_39404_, int p_39405_)
    • shared

      public static DataSlot shared(int[] p_39407_, int p_39408_)
    • standalone

      public static DataSlot standalone()
    • get

      public abstract int get()
    • set

      public abstract void set(int p_39402_)
    • checkAndClearUpdateFlag

      public boolean checkAndClearUpdateFlag()