public class JigsawGeneratingC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Modifier and Type | Field and Description |
---|---|
private boolean |
keepJigsaws |
private int |
maxDepth |
private BlockPos |
pos |
Constructor and Description |
---|
JigsawGeneratingC2SPacket() |
JigsawGeneratingC2SPacket(BlockPos pos,
int maxDepth,
boolean keepJigsaws) |
Modifier and Type | Method and Description |
---|---|
void |
apply(ServerPlayPacketListener serverPlayPacketListener) |
int |
getMaxDepth() |
BlockPos |
getPos() |
void |
read(PacketByteBuf buf) |
boolean |
shouldKeepJigsaws() |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWritingErrorSkippable
private BlockPos pos
private int maxDepth
private boolean keepJigsaws
public JigsawGeneratingC2SPacket()
@Environment(value=CLIENT) public JigsawGeneratingC2SPacket(BlockPos pos, int maxDepth, boolean keepJigsaws)
public void read(PacketByteBuf buf) throws IOException
read
in interface Packet<ServerPlayPacketListener>
IOException
public void write(PacketByteBuf buf) throws IOException
write
in interface Packet<ServerPlayPacketListener>
IOException
public void apply(ServerPlayPacketListener serverPlayPacketListener)
apply
in interface Packet<ServerPlayPacketListener>
public BlockPos getPos()
public int getMaxDepth()
public boolean shouldKeepJigsaws()