Class JigsawGeneratingC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.JigsawGeneratingC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class JigsawGeneratingC2SPacket extends Object implements Packet<ServerPlayPacketListener>
-
Field Summary
Fields Modifier and Type Field Description private booleankeepJigsawsprivate intmaxDepthprivate BlockPospos -
Constructor Summary
Constructors Constructor Description JigsawGeneratingC2SPacket()JigsawGeneratingC2SPacket(BlockPos pos, int maxDepth, boolean keepJigsaws) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)intgetMaxDepth()BlockPosgetPos()voidread(PacketByteBuf buf)booleanshouldKeepJigsaws()voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
pos
-
maxDepth
private int maxDepth -
keepJigsaws
private boolean keepJigsaws
-
-
Constructor Details
-
JigsawGeneratingC2SPacket
public JigsawGeneratingC2SPacket() -
JigsawGeneratingC2SPacket
@Environment(CLIENT) public JigsawGeneratingC2SPacket(BlockPos pos, int maxDepth, boolean keepJigsaws)
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>
-
getPos
-
getMaxDepth
public int getMaxDepth() -
shouldKeepJigsaws
public boolean shouldKeepJigsaws()
-