Class SStatisticsPacket
java.lang.Object
net.minecraft.network.play.server.SStatisticsPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSStatisticsPacket(it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> p_i47942_1_) -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> intgetStats()voidhandle(IClientPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) private <T> voidreadStat(StatType<T> p_197684_1_, PacketBuffer p_197684_2_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
stats
-
-
Constructor Details
-
SStatisticsPacket
public SStatisticsPacket() -
SStatisticsPacket
-
-
Method Details
-
handle
- Specified by:
handlein interfaceIPacket<IClientPlayNetHandler>
-
read
- Specified by:
readin interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
readStat
-
write
- Specified by:
writein interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
getId
-
getStats
-