ServerboundTestInstanceBlockActionPacketEvent

class ServerboundTestInstanceBlockActionPacketEvent(player: Player, packet: ServerboundTestInstanceBlockActionPacket) : PlayerPacketEvent<ServerboundTestInstanceBlockActionPacket>

Constructors

constructor(player: Player, packet: ServerboundTestInstanceBlockActionPacket)

Properties

Link copied to clipboard
var action: ServerboundTestInstanceBlockActionPacket.Action
Link copied to clipboard
var data: TestInstanceBlockEntity.Data
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 packet: ServerboundTestInstanceBlockActionPacket

The packet that is being sent or received.

Link copied to clipboard
val player: Player
Link copied to clipboard
var pos: BlockPos