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 aci
intermediary net/minecraft/class_2751
named net/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket
  • Field Details

    • ADD_MODE

      public static final int ADD_MODE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Laci;a:I
      intermediary field_33343 Lnet/minecraft/class_2751;field_33343:I
      named ADD_MODE Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;ADD_MODE:I
    • REMOVE_MODE

      public static final int REMOVE_MODE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Laci;b:I
      intermediary field_33344 Lnet/minecraft/class_2751;field_33344:I
      named REMOVE_MODE Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;REMOVE_MODE:I
    • UPDATE_MODE

      public static final int UPDATE_MODE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Laci;c:I
      intermediary field_33345 Lnet/minecraft/class_2751;field_33345:I
      named UPDATE_MODE Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;UPDATE_MODE:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official d Laci;d: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

      private final Text displayName
      Mappings:
      Namespace Name Mixin selector
      official e Laci;e:Lvf;
      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

      private final ScoreboardCriterion.RenderType type
      Mappings:
      Namespace Name Mixin selector
      official f Laci;f:Lena$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;
    • numberFormat

      @Nullable private final @Nullable NumberFormat numberFormat
      Mappings:
      Namespace Name Mixin selector
      official g Laci;g:Lwv;
      intermediary field_47519 Lnet/minecraft/class_2751;field_47519:Lnet/minecraft/class_9022;
      named numberFormat Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;numberFormat:Lnet/minecraft/scoreboard/number/NumberFormat;
    • mode

      private final int mode
      Mappings:
      Namespace Name Mixin selector
      official h Laci;h: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(ScoreboardObjective objective, int mode)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laci;<init>(Lemp;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
    • ScoreboardObjectiveUpdateS2CPacket

      public ScoreboardObjectiveUpdateS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laci;<init>(Lui;)V
      intermediary <init> Lnet/minecraft/class_2751;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lxf;a(Lui;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Laci;a(Lza;)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

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official a Laci;a()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

      public Text getDisplayName()
      Mappings:
      Namespace Name Mixin selector
      official d Laci;d()Lvf;
      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

      public int getMode()
      Mappings:
      Namespace Name Mixin selector
      official e Laci;e()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 f Laci;f()Lena$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;
    • getNumberFormat

      @Nullable public @Nullable NumberFormat getNumberFormat()
      Mappings:
      Namespace Name Mixin selector
      official g Laci;g()Lwv;
      intermediary method_55336 Lnet/minecraft/class_2751;method_55336()Lnet/minecraft/class_9022;
      named getNumberFormat Lnet/minecraft/network/packet/s2c/play/ScoreboardObjectiveUpdateS2CPacket;getNumberFormat()Lnet/minecraft/scoreboard/number/NumberFormat;