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 named net/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket
intermediary net/minecraft/class_2751
official aft
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final PacketCodec
<RegistryByteBuf, ScoreboardObjectiveUpdateS2CPacket> private final Text
private final int
private final String
private final Optional
<NumberFormat> static final int
private final ScoreboardCriterion.RenderType
static final int
-
Constructor Summary
ModifierConstructorDescriptionprivate
ScoreboardObjectiveUpdateS2CPacket
(ScoreboardObjective objective, int mode) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
getMode()
getName()
getType()
private void
write
(RegistryByteBuf 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.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47985
Lnet/minecraft/class_2751;field_47985:Lnet/minecraft/class_9139;
official a
Laft;a:Lzn;
-
ADD_MODE
public static final int ADD_MODE- See Also:
- Mappings:
Namespace Name Mixin selector named ADD_MODE
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;ADD_MODE:I
intermediary field_33343
Lnet/minecraft/class_2751;field_33343:I
official b
Laft;b:I
-
REMOVE_MODE
public static final int REMOVE_MODE- See Also:
- Mappings:
Namespace Name Mixin selector named REMOVE_MODE
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;REMOVE_MODE:I
intermediary field_33344
Lnet/minecraft/class_2751;field_33344:I
official c
Laft;c:I
-
UPDATE_MODE
public static final int UPDATE_MODE- See Also:
- Mappings:
Namespace Name Mixin selector named UPDATE_MODE
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;UPDATE_MODE:I
intermediary field_33345
Lnet/minecraft/class_2751;field_33345:I
official d
Laft;d:I
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;name:Ljava/lang/String;
intermediary field_12589
Lnet/minecraft/class_2751;field_12589:Ljava/lang/String;
official e
Laft;e:Ljava/lang/String;
-
displayName
- Mappings:
Namespace Name Mixin selector named displayName
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;displayName:Lnet/minecraft/text/Text;
intermediary field_12591
Lnet/minecraft/class_2751;field_12591:Lnet/minecraft/class_2561;
official f
Laft;f:Lxp;
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;type:Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
intermediary field_12592
Lnet/minecraft/class_2751;field_12592:Lnet/minecraft/class_274$class_275;
official g
Laft;g:Lewz$a;
-
numberFormat
- Mappings:
Namespace Name Mixin selector named numberFormat
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;numberFormat:Ljava/util/Optional;
intermediary field_47519
Lnet/minecraft/class_2751;field_47519:Ljava/util/Optional;
official h
Laft;h:Ljava/util/Optional;
-
mode
private final int mode- Mappings:
Namespace Name Mixin selector named mode
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;mode:I
intermediary field_12590
Lnet/minecraft/class_2751;field_12590:I
official i
Laft;i:I
-
-
Constructor Details
-
ScoreboardObjectiveUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;<init>(Lnet/minecraft/scoreboard/ScoreboardObjective;I)V
intermediary <init>
Lnet/minecraft/class_2751;<init>(Lnet/minecraft/class_266;I)V
official <init>
Laft;<init>(Lewo;I)V
-
ScoreboardObjectiveUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;<init>(Lnet/minecraft/network/RegistryByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2751;<init>(Lnet/minecraft/class_9129;)V
official <init>
Laft;<init>(Lxa;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;write(Lnet/minecraft/network/RegistryByteBuf;)V
intermediary method_55932
Lnet/minecraft/class_2751;method_55932(Lnet/minecraft/class_9129;)V
official a
Laft;a(Lxa;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11838
Lnet/minecraft/class_2751;method_11838(Lnet/minecraft/class_2602;)V
official a
Laft;a(Laci;)V
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;getName()Ljava/lang/String;
intermediary method_11835
Lnet/minecraft/class_2751;method_11835()Ljava/lang/String;
official b
Laft;b()Ljava/lang/String;
-
getDisplayName
- Mappings:
Namespace Name Mixin selector named getDisplayName
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;getDisplayName()Lnet/minecraft/text/Text;
intermediary method_11836
Lnet/minecraft/class_2751;method_11836()Lnet/minecraft/class_2561;
official e
Laft;e()Lxp;
-
getMode
public int getMode()- Mappings:
Namespace Name Mixin selector named getMode
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;getMode()I
intermediary method_11837
Lnet/minecraft/class_2751;method_11837()I
official f
Laft;f()I
-
getType
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;getType()Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;
intermediary method_11839
Lnet/minecraft/class_2751;method_11839()Lnet/minecraft/class_274$class_275;
official g
Laft;g()Lewz$a;
-
getNumberFormat
- Mappings:
Namespace Name Mixin selector named getNumberFormat
Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;getNumberFormat()Ljava/util/Optional;
intermediary method_55336
Lnet/minecraft/class_2751;method_55336()Ljava/util/Optional;
official h
Laft;h()Ljava/util/Optional;
-