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 afm
  • 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 Lafm;a:Lzn;
    • 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 Lafm;b:Lewo;
    • 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 Lafm;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> Lafm;<init>(Lewo;Lewp;)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> Lafm;<init>(Lwm;)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 Lafm;a(Lwm;)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 Lzw;a()Lzy;
    • 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 Lafm;a(Laci;)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 Lafm;b()Lewo;
    • 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 Lafm;e()Ljava/lang/String;