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
official zw
intermediary net/minecraft/class_2736
named net/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket
  • Field Details

    • slot

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

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

    • ScoreboardDisplayS2CPacket

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

      public ScoreboardDisplayS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzw;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2736;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;<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 Lvd;a(Lso;)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 Lzw;a(Lww;)V
      intermediary method_11805 Lnet/minecraft/class_2736;method_11805(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getSlot

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

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