Optional
initialEntries: ReadonlyMap<K, V>Optional
isUnreliable: booleanOptional
meta: Many<Readonly
classClass name of the packet, used for debugging purposes.
Readonly
signalClears the map.
Clears the value of the property for players that pass the predicate. Should only be used on the server.
The predicate to filter players
Clears the map for a specific player.
The player for whom to clear the map.
Clears the value of the property for a list of players. Should only be used on the server.
The list of players to clear the value for
Removes an entry from the map if present.
The key of the entry to remove.
True if the entry was present and removed, false otherwise.
Cleans up any resources used by the packet.
Observes map changes. Handler receives the latest snapshot and the diff payload.
Sets the value of the property for players that pass the predicate. Should only be used on the server.
The predicate to filter players
The new value of the property
Sets the value of the property for a list of players. Should only be used on the server.
The list of players to set the value for
The new value of the property
ExactMapPropertyPacket synchronizes a map using diff-based updates, where update checks are based on exact equality of values.