Class ClientboundAwardStatsPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundAwardStatsPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientboundAwardStatsPacket(it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> p_131631_)ClientboundAwardStatsPacket(FriendlyByteBuf p_178592_) -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> intgetStatIdCap(Stat<T> p_178594_)getStats()voidhandle(ClientGamePacketListener p_131642_)private static <T> Stat<T>readStatCap(StatType<T> p_178596_, int p_178597_)voidwrite(FriendlyByteBuf p_131645_)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
stats
-
-
Constructor Details
-
ClientboundAwardStatsPacket
-
ClientboundAwardStatsPacket
-
-
Method Details
-
readStatCap
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
write
- Specified by:
writein interfacePacket<ClientGamePacketListener>
-
getStatIdCap
-
getStats
-