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 TypeMethodDescriptionprivate <T> int
getStatIdCap
(Stat<T> p_178594_) getStats()
void
handle
(ClientGamePacketListener p_131642_) private static <T> Stat<T>
readStatCap
(StatType<T> p_178596_, int p_178597_) void
write
(FriendlyByteBuf p_131645_) 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>
-
getStatIdCap
-
getStats
-