Class AdvancementTabC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.AdvancementTabC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class AdvancementTabC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official ack
intermediary net/minecraft/class_2859
named net/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket
  • Field Details

    • action

      private final AdvancementTabC2SPacket.Action action
      Mappings:
      Namespace Name Mixin selector
      official a Lack;a:Lack$a;
      intermediary field_13021 Lnet/minecraft/class_2859;field_13021:Lnet/minecraft/class_2859$class_2860;
      named action Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;action:Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket$Action;
    • tabToOpen

      @Nullable private final @Nullable Identifier tabToOpen
      Mappings:
      Namespace Name Mixin selector
      official b Lack;b:Laew;
      intermediary field_13020 Lnet/minecraft/class_2859;field_13020:Lnet/minecraft/class_2960;
      named tabToOpen Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;tabToOpen:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • AdvancementTabC2SPacket

      public AdvancementTabC2SPacket(AdvancementTabC2SPacket.Action action, @Nullable @Nullable Identifier tab)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lack;<init>(Lack$a;Laew;)V
      intermediary <init> Lnet/minecraft/class_2859;<init>(Lnet/minecraft/class_2859$class_2860;Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;<init>(Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket$Action;Lnet/minecraft/util/Identifier;)V
    • AdvancementTabC2SPacket

      public AdvancementTabC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lack;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2859;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • open

      public static AdvancementTabC2SPacket open(AdvancementEntry advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Lack;a(Laf;)Lack;
      intermediary method_12418 Lnet/minecraft/class_2859;method_12418(Lnet/minecraft/class_8779;)Lnet/minecraft/class_2859;
      named open Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;open(Lnet/minecraft/advancement/AdvancementEntry;)Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;
    • close

      public static AdvancementTabC2SPacket close()
      Mappings:
      Namespace Name Mixin selector
      official a Lack;a()Lack;
      intermediary method_12414 Lnet/minecraft/class_2859;method_12414()Lnet/minecraft/class_2859;
      named close Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;close()Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;
    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      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(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lack;a(Labc;)V
      intermediary method_12417 Lnet/minecraft/class_2859;method_12417(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getAction

      public AdvancementTabC2SPacket.Action getAction()
      Mappings:
      Namespace Name Mixin selector
      official d Lack;d()Lack$a;
      intermediary method_12415 Lnet/minecraft/class_2859;method_12415()Lnet/minecraft/class_2859$class_2860;
      named getAction Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;getAction()Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket$Action;
    • getTabToOpen

      @Nullable public @Nullable Identifier getTabToOpen()
      Mappings:
      Namespace Name Mixin selector
      official e Lack;e()Laew;
      intermediary method_12416 Lnet/minecraft/class_2859;method_12416()Lnet/minecraft/class_2960;
      named getTabToOpen Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;getTabToOpen()Lnet/minecraft/util/Identifier;