ClientboundAddEntityPacketEvent

class ClientboundAddEntityPacketEvent(player: Player, packet: ClientboundAddEntityPacket) : PlayerPacketEvent<ClientboundAddEntityPacket>

Constructors

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

Properties

Link copied to clipboard
var data: Int
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 movement: Vec3
Link copied to clipboard
var packet: ClientboundAddEntityPacket

The packet that is being sent or received.

Link copied to clipboard
val player: Player
Link copied to clipboard
var type: EntityType<*>
Link copied to clipboard
var uuid: UUID
Link copied to clipboard
var x: Double
Link copied to clipboard
var xRot: Float
Link copied to clipboard
var y: Double
Link copied to clipboard
Link copied to clipboard
var yRot: Float
Link copied to clipboard
var z: Double