Class ScoreboardDisplayS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ScoreboardDisplayS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official sk
intermediary net/minecraft/class_2736
named net/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket
-
Field Summary
-
Constructor Summary
ConstructorDescriptionScoreboardDisplayS2CPacket(int slot, @Nullable ScoreboardObjective objective)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply(ClientPlayPacketListener clientPlayPacketListener)
getName()
int
getSlot()
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
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector official a
Lsk;a:I
intermediary field_12464
Lnet/minecraft/class_2736;field_12464:I
named slot
Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;slot:I
-
name
- Mappings:
Namespace Name Mixin selector official b
Lsk;b:Ljava/lang/String;
intermediary field_12465
Lnet/minecraft/class_2736;field_12465:Ljava/lang/String;
named name
Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;name:Ljava/lang/String;
-
-
Constructor Details
-
ScoreboardDisplayS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lsk;<init>(ILdnv;)V
intermediary <init>
Lnet/minecraft/class_2736;<init>(ILnet/minecraft/class_266;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;<init>(ILnet/minecraft/scoreboard/ScoreboardObjective;)V
-
ScoreboardDisplayS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lsk;<init>(Log;)V
intermediary <init>
Lnet/minecraft/class_2736;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lpk;a(Log;)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
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lsk;a(Lpn;)V
intermediary method_11805
Lnet/minecraft/class_2736;method_11805(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official b
Lsk;b()I
intermediary method_11806
Lnet/minecraft/class_2736;method_11806()I
named getSlot
Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;getSlot()I
-
getName
- Mappings:
Namespace Name Mixin selector official c
Lsk;c()Ljava/lang/String;
intermediary method_11804
Lnet/minecraft/class_2736;method_11804()Ljava/lang/String;
named getName
Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;getName()Ljava/lang/String;
-