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 aff
  • 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 Laff;a:Lyx;
    • 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 Laff;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 Laff;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 Laff;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 Laff;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 Laff;f:Lwz;
    • 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 Laff;g:Leyj$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 Laff;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 Laff;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> Laff;<init>(Lexy;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> Laff;<init>(Lwk;)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 Laff;a(Lwk;)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 Lzg;a()Lzi;
    • 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 Laff;a(Labu;)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 Laff;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 Laff;e()Lwz;
    • 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 Laff;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 Laff;g()Leyj$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 Laff;h()Ljava/util/Optional;