ClientboundSetEntityDataPacketEvent

class ClientboundSetEntityDataPacketEvent(player: Player, packet: ClientboundSetEntityDataPacket) : PlayerPacketEvent<ClientboundSetEntityDataPacket>

Constructors

Link copied to clipboard
constructor(player: Player, packet: ClientboundSetEntityDataPacket)

Properties

Link copied to clipboard
var id: Int
Link copied to clipboard

Whether the event is canceled. Packets that are canceled will not be sent or processed by the server.

Link copied to clipboard
var packedItems: List<SynchedEntityData.DataValue<*>>
Link copied to clipboard
var packet: ClientboundSetEntityDataPacket

The packet that is being sent or received.

Link copied to clipboard
val player: Player