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

    • slot

      private int slot
      Mappings:
      Namespace Name Mixin selector
      official a Lrr;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 String name
      Mappings:
      Namespace Name Mixin selector
      official b Lrr;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()
    • ScoreboardDisplayS2CPacket

      public ScoreboardDisplayS2CPacket​(int slot, @Nullable ScoreboardObjective objective)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lrr;<init>(ILdjp;)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
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)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 Lrr;a(Lpd;)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

      @Environment(CLIENT) public int getSlot()
      Mappings:
      Namespace Name Mixin selector
      official b Lrr;b()I
      intermediary method_11806 Lnet/minecraft/class_2736;method_11806()I
      named getSlot Lnet/minecraft/network/packet/s2c/play/ScoreboardDisplayS2CPacket;getSlot()I
    • getName

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