Class ClientboundSetEntityDataPacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.entity.ClientboundSetEntityDataPacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundSetEntityDataPacket(int entityId, List<EntityMetadata<?, ?>> metadata) ClientboundSetEntityDataPacket(io.netty.buffer.ByteBuf in) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintList<EntityMetadata<?, ?>> inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundSetEntityDataPacketwithEntityId(int entityId) @NonNull ClientboundSetEntityDataPacketwithMetadata(List<EntityMetadata<?, ?>> metadata) Methods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundSetEntityDataPacket
public ClientboundSetEntityDataPacket(io.netty.buffer.ByteBuf in) -
ClientboundSetEntityDataPacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getEntityId
public int getEntityId() -
getMetadata
-
equals
-
canEqual
-
hashCode
-
toString
-
withEntityId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMetadata
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-