Package devs.beer.nativepackets.api
Interface AwardStatsPacketView
- All Superinterfaces:
PacketView
Lazy copy-on-write view of a clientbound statistics packet.
-
Method Summary
Modifier and TypeMethodDescriptionvoidstatistics(NativeValue statistics) Replaces the map after one defensive native-map copy.Methods inherited from interface devs.beer.nativepackets.api.PacketView
isModified, nativeHandle, type
-
Method Details
-
statistics
NativeValue statistics()- Returns:
- borrowed native statistic-to-value map
-
statistics
Replaces the map after one defensive native-map copy.
-