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 afe
  • 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 Lafe;a:Lyw;
    • 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 Lafe;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 Lafe;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 Lafe;d:I
    • name

      private final String 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 Lafe;e:Ljava/lang/String;
    • displayName

      private final Text 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 Lafe;f:Lwy;
    • type

      private final ScoreboardCriterion.RenderType 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 Lafe;g:Leyd$a;
    • numberFormat

      private final Optional<NumberFormat> 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 Lafe;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 Lafe;i:I
  • Constructor Details

    • ScoreboardObjectiveUpdateS2CPacket

      public ScoreboardObjectiveUpdateS2CPacket(ScoreboardObjective objective, int mode)
      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> Lafe;<init>(Lexs;I)V
    • ScoreboardObjectiveUpdateS2CPacket

      private ScoreboardObjectiveUpdateS2CPacket(RegistryByteBuf buf)
      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> Lafe;<init>(Lwj;)V
  • Method Details

    • write

      private void write(RegistryByteBuf buf)
      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 Lafe;a(Lwj;)V
    • getPacketId

      Specified by:
      getPacketId in interface Packet<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 Lzf;a()Lzh;
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<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 Lafe;a(Labt;)V
    • getName

      public String 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 Lafe;b()Ljava/lang/String;
    • getDisplayName

      public Text 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 Lafe;e()Lwy;
    • 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 Lafe;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 Lafe;g()Leyd$a;
    • getNumberFormat

      public Optional<NumberFormat> 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 Lafe;h()Ljava/util/Optional;