Class ChunkPacket
java.lang.Object
com.fastasyncworldedit.core.queue.implementation.packet.ChunkPacket
-
Constructor Summary
ConstructorDescriptionChunkPacket
(int chunkX, int chunkZ, Supplier<IBlocks> chunkSupplier, boolean replaceAllSections) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
apply
(byte[] buffer) byte[]
get()
Deprecated.getChunk()
int
int
byte[]
boolean
isFull()
void
setNativePacket
(Object nativePacket) void
setPosition
(int chunkX, int chunkZ)
-
Constructor Details
-
ChunkPacket
-
-
Method Details
-
getChunkX
public int getChunkX() -
getChunkZ
public int getChunkZ() -
setPosition
public void setPosition(int chunkX, int chunkZ) -
isFull
public boolean isFull() -
getChunk
-
getSectionBytes
public byte[] getSectionBytes() -
getNativePacket
-
setNativePacket
-
get
Deprecated. -
getHeightMap
-
apply
public byte[] apply(byte[] buffer)
-