Class ClientboundAwardStatsPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundAwardStatsPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundAwardStatsPacket
(it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> p_131631_) ClientboundAwardStatsPacket
(FriendlyByteBuf p_178592_) -
Method Summary
Modifier and TypeMethodDescriptiongetStats()
void
handle
(ClientGamePacketListener p_131642_) private static <T> Stat<T>
readStatCap
(FriendlyByteBuf p_237573_, StatType<T> p_237574_) void
write
(FriendlyByteBuf p_131645_) private static <T> void
writeStatCap
(FriendlyByteBuf p_237570_, Stat<T> p_237571_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
stats
-
-
Constructor Details
-
ClientboundAwardStatsPacket
-
ClientboundAwardStatsPacket
-
-
Method Details
-
readStatCap
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
writeStatCap
-
getStats
-