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

    • slot

      private final int slot
      Mappings:
      Namespace Name Mixin selector
      official a Ltn;a:I
      intermediary field_12464 Lnet/minecraft/class_2736;field_12464:I
      named slot Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;slot:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official b Ltn;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(int slot, @Nullable @Nullable ScoreboardObjective objective)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltn;<init>(ILdou;)V
      intermediary <init> Lnet/minecraft/class_2736;<init>(ILnet/minecraft/class_266;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;<init>(ILnet/minecraft/scoreboard/ScoreboardObjective;)V
    • ScoreboardDisplayS2CPacket

      public ScoreboardDisplayS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltn;<init>(Lph;)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 Lql;a(Lph;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/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 Ltn;a(Lqo;)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 int getSlot()
      Mappings:
      Namespace Name Mixin selector
      official b Ltn;b()I
      intermediary method_11806 Lnet/minecraft/class_2736;method_11806()I
      named getSlot Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;getSlot()I
    • getName

      @Nullable public @Nullable String getName()
      Mappings:
      Namespace Name Mixin selector
      official c Ltn;c()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;