public class UpdateJigsawC2SPacket extends Object implements Packet<ServerPlayPacketListener>
| Modifier and Type | Field and Description |
|---|---|
private Identifier |
attachmentType |
private String |
finalState |
private JigsawBlockEntity.Joint |
jointType |
private Identifier |
pool |
private BlockPos |
pos |
private Identifier |
targetPool |
| Constructor and Description |
|---|
UpdateJigsawC2SPacket() |
UpdateJigsawC2SPacket(BlockPos pos,
Identifier attachmentType,
Identifier targetPool,
Identifier pool,
String finalState,
JigsawBlockEntity.Joint jointType) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ServerPlayPacketListener serverPlayPacketListener) |
Identifier |
getAttachmentType() |
String |
getFinalState() |
JigsawBlockEntity.Joint |
getJointType() |
Identifier |
getPool() |
BlockPos |
getPos() |
Identifier |
getTargetPool() |
void |
read(PacketByteBuf buf) |
void |
write(PacketByteBuf buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWritingErrorSkippableprivate BlockPos pos
private Identifier attachmentType
private Identifier targetPool
private Identifier pool
private String finalState
private JigsawBlockEntity.Joint jointType
public UpdateJigsawC2SPacket()
@Environment(value=CLIENT) public UpdateJigsawC2SPacket(BlockPos pos, Identifier attachmentType, Identifier targetPool, Identifier pool, String finalState, JigsawBlockEntity.Joint jointType)
public void read(PacketByteBuf buf) throws IOException
read in interface Packet<ServerPlayPacketListener>IOExceptionpublic void write(PacketByteBuf buf) throws IOException
write in interface Packet<ServerPlayPacketListener>IOExceptionpublic void apply(ServerPlayPacketListener serverPlayPacketListener)
apply in interface Packet<ServerPlayPacketListener>public BlockPos getPos()
public Identifier getAttachmentType()
public Identifier getTargetPool()
public Identifier getPool()
public String getFinalState()
public JigsawBlockEntity.Joint getJointType()