Class ShortArray3d
java.lang.Object
com.github.retrooper.packetevents.protocol.world.chunk.ShortArray3d
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
fill
(int val) int
get
(int x, int y, int z) int
getBlock
(int x, int y, int z) short[]
getData()
int
getData
(int x, int y, int z) int
hashCode()
void
set
(int x, int y, int z, int val) void
setBlock
(int x, int y, int z, int block) void
setBlockAndData
(int x, int y, int z, int block, int data) void
setData
(int x, int y, int z, int data)
-
Constructor Details
-
ShortArray3d
public ShortArray3d(int size) -
ShortArray3d
public ShortArray3d(short[] array)
-
-
Method Details
-
getData
public short[] getData() -
get
public int get(int x, int y, int z) -
set
public void set(int x, int y, int z, int val) -
getBlock
public int getBlock(int x, int y, int z) -
setBlock
public void setBlock(int x, int y, int z, int block) -
getData
public int getData(int x, int y, int z) -
setData
public void setData(int x, int y, int z, int data) -
setBlockAndData
public void setBlockAndData(int x, int y, int z, int block, int data) -
fill
public void fill(int val) -
equals
-
hashCode
public int hashCode()
-