Class IntReferenceHolder

java.lang.Object
net.minecraft.util.IntReferenceHolder

public abstract class IntReferenceHolder extends Object
  • Field Details

    • prevValue

      private int prevValue
  • Constructor Details

    • IntReferenceHolder

      public IntReferenceHolder()
  • Method Details

    • forContainer

      public static IntReferenceHolder forContainer(IIntArray p_221493_0_, int p_221493_1_)
    • shared

      public static IntReferenceHolder shared(int[] p_221497_0_, int p_221497_1_)
    • standalone

      public static IntReferenceHolder standalone()
    • get

      public abstract int get()
    • set

      public abstract void set(int p_221494_1_)
    • checkAndClearUpdateFlag

      public boolean checkAndClearUpdateFlag()