public class SStatisticsPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> |
statisticMap |
Constructor and Description |
---|
SStatisticsPacket() |
SStatisticsPacket(it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> p_i47942_1_) |
Modifier and Type | Method and Description |
---|---|
private <T> int |
func_197683_a(Stat<T> p_197683_1_) |
java.util.Map<Stat<?>,java.lang.Integer> |
getStatisticMap() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
private <T> void |
readValues(StatType<T> p_197684_1_,
PacketBuffer p_197684_2_) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> statisticMap
public SStatisticsPacket()
public SStatisticsPacket(it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> p_i47942_1_)
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
private <T> void readValues(StatType<T> p_197684_1_, PacketBuffer p_197684_2_)
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
private <T> int func_197683_a(Stat<T> p_197683_1_)
public java.util.Map<Stat<?>,java.lang.Integer> getStatisticMap()