Package net.minecraft.world.chunk
Class NibbleArray
java.lang.Object
net.minecraft.world.chunk.NibbleArray
- Direct Known Subclasses:
NibbleArrayRepeater
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionNibbleArray
(byte[] p_i45646_1_) protected
NibbleArray
(int p_i49951_1_) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
private int
get
(int p_177480_1_) int
get
(int p_76582_1_, int p_76582_2_, int p_76582_3_) byte[]
getData()
protected int
getIndex
(int p_177483_1_, int p_177483_2_, int p_177483_3_) private int
getPosition
(int p_177478_1_) boolean
isEmpty()
private boolean
isFirst
(int p_177479_1_) private void
set
(int p_177482_1_, int p_177482_2_) void
set
(int p_76581_1_, int p_76581_2_, int p_76581_3_, int p_76581_4_) toString()
-
Field Details
-
data
@Nullable protected byte[] data
-
-
Constructor Details
-
NibbleArray
public NibbleArray() -
NibbleArray
public NibbleArray(byte[] p_i45646_1_) -
NibbleArray
protected NibbleArray(int p_i49951_1_)
-
-
Method Details
-
get
public int get(int p_76582_1_, int p_76582_2_, int p_76582_3_) -
set
public void set(int p_76581_1_, int p_76581_2_, int p_76581_3_, int p_76581_4_) -
getIndex
protected int getIndex(int p_177483_1_, int p_177483_2_, int p_177483_3_) -
get
private int get(int p_177480_1_) -
set
private void set(int p_177482_1_, int p_177482_2_) -
isFirst
private boolean isFirst(int p_177479_1_) -
getPosition
private int getPosition(int p_177478_1_) -
getData
public byte[] getData() -
copy
-
toString
-
isEmpty
public boolean isEmpty()
-