ClientboundMapItemDataPacketEvent

class ClientboundMapItemDataPacketEvent(player: Player, packet: ClientboundMapItemDataPacket) : PlayerPacketEvent<ClientboundMapItemDataPacket>

Constructors

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

Properties

Link copied to clipboard
var colorPatch: Optional<MapItemSavedData.MapPatch>
Link copied to clipboard
var decorations: Optional<List<MapDecoration>>
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
Link copied to clipboard
var mapId: MapId
Link copied to clipboard
var packet: ClientboundMapItemDataPacket

The packet that is being sent or received.

Link copied to clipboard
val player: Player
Link copied to clipboard
var scale: Byte