Class SStatisticsPacket
java.lang.Object
net.minecraft.network.play.server.SStatisticsPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSStatisticsPacket
(it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> p_i47942_1_) -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> int
getStats()
void
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) private <T> void
readStat
(StatType<T> p_197684_1_, PacketBuffer p_197684_2_) void
write
(PacketBuffer p_148840_1_) 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.IPacket
isSkippable
-
Field Details
-
stats
-
-
Constructor Details
-
SStatisticsPacket
public SStatisticsPacket() -
SStatisticsPacket
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
readStat
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
getId
-
getStats
-