Class StatisticsS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.StatisticsS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class StatisticsS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official pl
intermediary net/minecraft/class_2617
named net/minecraft/network/packet/s2c/play/StatisticsS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private Object2IntMap<Stat<?>>
stats
-
Constructor Summary
Constructors Constructor Description StatisticsS2CPacket()
StatisticsS2CPacket(Object2IntMap<Stat<?>> stats)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
private <T> int
getStatId(Stat<T> stat)
Map<Stat<?>,Integer>
getStatMap()
void
read(PacketByteBuf buf)
private <T> void
readStat(StatType<T> type, PacketByteBuf buf)
void
write(PacketByteBuf buf)
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.Packet
isWritingErrorSkippable
-
Field Details
-
stats
- Mappings:
Namespace Name Mixin selector official a
Lpl;a:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_12030
Lnet/minecraft/class_2617;field_12030:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
named stats
Lnet/minecraft/network/packet/s2c/play/StatisticsS2CPacket;stats:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
-
Constructor Details
-
StatisticsS2CPacket
public StatisticsS2CPacket() -
StatisticsS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lpl;<init>(Lit/unimi/dsi/fastutil/objects/Object2IntMap;)V
intermediary <init>
Lnet/minecraft/class_2617;<init>(Lit/unimi/dsi/fastutil/objects/Object2IntMap;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/StatisticsS2CPacket;<init>(Lit/unimi/dsi/fastutil/objects/Object2IntMap;)V
-
-
Method Details
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpl;a(Lpd;)V
intermediary method_11270
Lnet/minecraft/class_2617;method_11270(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/StatisticsS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
readStat
- Mappings:
Namespace Name Mixin selector official a
Lpl;a(Laep;Lnw;)V
intermediary method_11271
Lnet/minecraft/class_2617;method_11271(Lnet/minecraft/class_3448;Lnet/minecraft/class_2540;)V
named readStat
Lnet/minecraft/network/packet/s2c/play/StatisticsS2CPacket;readStat(Lnet/minecraft/stat/StatType;Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getStatId
- Mappings:
Namespace Name Mixin selector official a
Lpl;a(Laen;)I
intermediary method_11272
Lnet/minecraft/class_2617;method_11272(Lnet/minecraft/class_3445;)I
named getStatId
Lnet/minecraft/network/packet/s2c/play/StatisticsS2CPacket;getStatId(Lnet/minecraft/stat/Stat;)I
-
getStatMap
- Mappings:
Namespace Name Mixin selector official b
Lpl;b()Ljava/util/Map;
intermediary method_11273
Lnet/minecraft/class_2617;method_11273()Ljava/util/Map;
named getStatMap
Lnet/minecraft/network/packet/s2c/play/StatisticsS2CPacket;getStatMap()Ljava/util/Map;
-