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 intprevValue
-
Constructor Summary
Constructors Constructor Description IntReferenceHolder()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleancheckAndClearUpdateFlag()static IntReferenceHolderforContainer(IIntArray p_221493_0_, int p_221493_1_)abstract intget()abstract voidset(int p_221494_1_)static IntReferenceHoldershared(int[] p_221497_0_, int p_221497_1_)static IntReferenceHolderstandalone()
-
-
-
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()
-
-