Class ScoreboardDisplayS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.ScoreboardDisplayS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class ScoreboardDisplayS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
named net/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket
intermediary net/minecraft/class_2736
official aga
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_47978 Lnet/minecraft/class_2736;field_47978:Lnet/minecraft/class_9139;
      official a Laga;a:Lzt;
    • slot

      private final ScoreboardDisplaySlot slot
      Mappings:
      Namespace Name Mixin selector
      named slot Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;slot:Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary field_12464 Lnet/minecraft/class_2736;field_12464:Lnet/minecraft/class_8646;
      official b Laga;b:Lfct;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;name:Ljava/lang/String;
      intermediary field_12465 Lnet/minecraft/class_2736;field_12465:Ljava/lang/String;
      official c Laga;c:Ljava/lang/String;
  • Constructor Details

    • ScoreboardDisplayS2CPacket

      public ScoreboardDisplayS2CPacket(ScoreboardDisplaySlot slot, @Nullable @Nullable ScoreboardObjective objective)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;<init>(Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;Lnet/minecraft/scoreboard/ScoreboardObjective;)V
      intermediary <init> Lnet/minecraft/class_2736;<init>(Lnet/minecraft/class_8646;Lnet/minecraft/class_266;)V
      official <init> Laga;<init>(Lfct;Lfcu;)V
    • ScoreboardDisplayS2CPacket

      private ScoreboardDisplayS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary <init> Lnet/minecraft/class_2736;<init>(Lnet/minecraft/class_2540;)V
      official <init> Laga;<init>(Lws;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_55925 Lnet/minecraft/class_2736;method_55925(Lnet/minecraft/class_2540;)V
      official a Laga;a(Lws;)V
    • getPacketId

      public PacketType<ScoreboardDisplayS2CPacket> 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 Laac;a()Laae;
    • 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/ScoreboardDisplayS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
      intermediary method_11805 Lnet/minecraft/class_2736;method_11805(Lnet/minecraft/class_2602;)V
      official a Laga;a(Lacr;)V
    • getSlot

      public ScoreboardDisplaySlot getSlot()
      Mappings:
      Namespace Name Mixin selector
      named getSlot Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;getSlot()Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;
      intermediary method_11806 Lnet/minecraft/class_2736;method_11806()Lnet/minecraft/class_8646;
      official b Laga;b()Lfct;
    • getName

      @Nullable public @Nullable String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;getName()Ljava/lang/String;
      intermediary method_11804 Lnet/minecraft/class_2736;method_11804()Ljava/lang/String;
      official e Laga;e()Ljava/lang/String;