Package net.minecraft.world.chunk
Class NibbleArray
- java.lang.Object
-
- net.minecraft.world.chunk.NibbleArray
-
- Direct Known Subclasses:
NibbleArrayRepeater
public class NibbleArray extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
data
-
Constructor Summary
Constructors Modifier Constructor Description NibbleArray()
NibbleArray(byte[] p_i45646_1_)
protected
NibbleArray(int p_i49951_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NibbleArray
copy()
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_)
java.lang.String
toString()
-
-
-
Method Detail
-
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
public NibbleArray copy()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
isEmpty
public boolean isEmpty()
-
-