Package net.minecraft.util
Class IntReferenceHolder
- java.lang.Object
-
- net.minecraft.util.IntReferenceHolder
-
public abstract class IntReferenceHolder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
prevValue
-
Constructor Summary
Constructors Constructor Description IntReferenceHolder()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
checkAndClearUpdateFlag()
static IntReferenceHolder
forContainer(IIntArray p_221493_0_, int p_221493_1_)
abstract int
get()
abstract void
set(int p_221494_1_)
static IntReferenceHolder
shared(int[] p_221497_0_, int p_221497_1_)
static IntReferenceHolder
standalone()
-
-
-
Method Detail
-
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()
-
-