Record Class ClientboundSetEntityDataPacket

java.lang.Object
java.lang.Record
net.minecraft.network.protocol.game.ClientboundSetEntityDataPacket
All Implemented Interfaces:
Packet<ClientGamePacketListener>

public record ClientboundSetEntityDataPacket(int id, List<SynchedEntityData.DataValue<?>> packedItems) extends Record implements Packet<ClientGamePacketListener>
  • Field Details

  • Constructor Details

    • ClientboundSetEntityDataPacket

      private ClientboundSetEntityDataPacket(RegistryFriendlyByteBuf p_319996_)
    • ClientboundSetEntityDataPacket

      public ClientboundSetEntityDataPacket(int id, List<SynchedEntityData.DataValue<?>> packedItems)
      Creates an instance of a ClientboundSetEntityDataPacket record class.
      Parameters:
      id - the value for the id record component
      packedItems - the value for the packedItems record component
  • Method Details