Class ClientboundSetEntityDataPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetEntityDataPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetEntityDataPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final List<SynchedEntityData.DataItem<?>>
-
Constructor Summary
ConstructorDescriptionClientboundSetEntityDataPacket
(int p_133147_, SynchedEntityData p_133148_, boolean p_133149_) ClientboundSetEntityDataPacket
(FriendlyByteBuf p_179290_) -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
void
handle
(ClientGamePacketListener p_133155_) void
write
(FriendlyByteBuf p_133158_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
id
private final int id -
packedItems
-
-
Constructor Details
-
ClientboundSetEntityDataPacket
public ClientboundSetEntityDataPacket(int p_133147_, SynchedEntityData p_133148_, boolean p_133149_) -
ClientboundSetEntityDataPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getUnpackedData
-
getId
public int getId()
-