ClientboundSetObjectivePacketEvent

class ClientboundSetObjectivePacketEvent(player: Player, packet: ClientboundSetObjectivePacket) : PlayerPacketEvent<ClientboundSetObjectivePacket>

Constructors

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

Properties

Link copied to clipboard
var displayName: Component
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 method: Int
Link copied to clipboard
var numberFormat: Optional<NumberFormat>
Link copied to clipboard
Link copied to clipboard
var packet: ClientboundSetObjectivePacket

The packet that is being sent or received.

Link copied to clipboard
val player: Player
Link copied to clipboard
var renderType: ObjectiveCriteria.RenderType