Class ScoreboardObjectiveUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ScoreboardObjectiveUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class ScoreboardObjectiveUpdateS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official ry
intermediary net/minecraft/class_2751
named net/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private Text
displayName
private int
mode
private String
name
private ScoreboardCriterion.RenderType
type
-
Constructor Summary
Constructors Constructor Description ScoreboardObjectiveUpdateS2CPacket()
ScoreboardObjectiveUpdateS2CPacket(ScoreboardObjective objective, int mode)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
Text
getDisplayName()
int
getMode()
String
getName()
ScoreboardCriterion.RenderType
getType()
void
read(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
-
name
- Mappings:
Namespace Name Mixin selector official a
Lry;a:Ljava/lang/String;
intermediary field_12589
Lnet/minecraft/class_2751;field_12589:Ljava/lang/String;
named name
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;name:Ljava/lang/String;
-
displayName
- Mappings:
Namespace Name Mixin selector official b
Lry;b:Loi;
intermediary field_12591
Lnet/minecraft/class_2751;field_12591:Lnet/minecraft/class_2561;
named displayName
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;displayName:Lnet/minecraft/text/Text;
-
type
- Mappings:
Namespace Name Mixin selector official c
Lry;c:Ldjv$a;
intermediary field_12592
Lnet/minecraft/class_2751;field_12592:Lnet/minecraft/class_274$class_275;
named type
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;type:Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
-
mode
private int mode- Mappings:
Namespace Name Mixin selector official d
Lry;d:I
intermediary field_12590
Lnet/minecraft/class_2751;field_12590:I
named mode
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;mode:I
-
-
Constructor Details
-
ScoreboardObjectiveUpdateS2CPacket
public ScoreboardObjectiveUpdateS2CPacket() -
ScoreboardObjectiveUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lry;<init>(Ldjp;I)V
intermediary <init>
Lnet/minecraft/class_2751;<init>(Lnet/minecraft/class_266;I)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;<init>(Lnet/minecraft/scoreboard/ScoreboardObjective;I)V
-
-
Method Details
-
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
-
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
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lry;a(Lpd;)V
intermediary method_11838
Lnet/minecraft/class_2751;method_11838(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getName
- Mappings:
Namespace Name Mixin selector official b
Lry;b()Ljava/lang/String;
intermediary method_11835
Lnet/minecraft/class_2751;method_11835()Ljava/lang/String;
named getName
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;getName()Ljava/lang/String;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector official c
Lry;c()Loi;
intermediary method_11836
Lnet/minecraft/class_2751;method_11836()Lnet/minecraft/class_2561;
named getDisplayName
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;getDisplayName()Lnet/minecraft/text/Text;
-
getMode
- Mappings:
Namespace Name Mixin selector official d
Lry;d()I
intermediary method_11837
Lnet/minecraft/class_2751;method_11837()I
named getMode
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;getMode()I
-
getType
- Mappings:
Namespace Name Mixin selector official e
Lry;e()Ldjv$a;
intermediary method_11839
Lnet/minecraft/class_2751;method_11839()Lnet/minecraft/class_274$class_275;
named getType
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;getType()Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
-