Class UpdateJigsawC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.UpdateJigsawC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class UpdateJigsawC2SPacket extends Object implements Packet<ServerPlayPacketListener>
-
Field Summary
Fields Modifier and Type Field Description private IdentifierattachmentTypeprivate StringfinalStateprivate JigsawBlockEntity.JointjointTypeprivate Identifierpoolprivate BlockPosposprivate IdentifiertargetPool -
Constructor Summary
Constructors Constructor Description UpdateJigsawC2SPacket()UpdateJigsawC2SPacket(BlockPos pos, Identifier attachmentType, Identifier targetPool, Identifier pool, String finalState, JigsawBlockEntity.Joint jointType) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)IdentifiergetAttachmentType()StringgetFinalState()JigsawBlockEntity.JointgetJointType()IdentifiergetPool()BlockPosgetPos()IdentifiergetTargetPool()voidread(PacketByteBuf buf)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
-
attachmentType
-
targetPool
-
pool
-
finalState
-
jointType
-
-
Constructor Details
-
UpdateJigsawC2SPacket
public UpdateJigsawC2SPacket() -
UpdateJigsawC2SPacket
@Environment(CLIENT) public UpdateJigsawC2SPacket(BlockPos pos, Identifier attachmentType, Identifier targetPool, Identifier pool, String finalState, JigsawBlockEntity.Joint jointType)
-
-
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
-
getAttachmentType
-
getTargetPool
-
getPool
-
getFinalState
-
getJointType
-