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 ty
intermediary net/minecraft/class_2859
named net/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket
  • Field Details

    • action

      Mappings:
      Namespace Name Mixin selector
      official a Lty;a:Lty$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

      private Identifier tabToOpen
      Mappings:
      Namespace Name Mixin selector
      official b Lty;b:Lwb;
      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

      @Environment(CLIENT) public AdvancementTabC2SPacket​(AdvancementTabC2SPacket.Action action, @Nullable Identifier tab)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lty;<init>(Lty$a;Lwb;)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
  • Method Details

    • open

      @Environment(CLIENT) public static AdvancementTabC2SPacket open​(Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Lty;a(Ly;)Lty;
      intermediary method_12418 Lnet/minecraft/class_2859;method_12418(Lnet/minecraft/class_161;)Lnet/minecraft/class_2859;
      named open Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;open(Lnet/minecraft/advancement/Advancement;)Lnet/minecraft/network/packet/c2s/play/AdvancementTabC2SPacket;
    • close

      Mappings:
      Namespace Name Mixin selector
      official b Lty;b()Lty;
      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;
    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ServerPlayPacketListener>
      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<ServerPlayPacketListener>
      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​(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lty;a(Lss;)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 c Lty;c()Lty$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

      public Identifier getTabToOpen()
      Mappings:
      Namespace Name Mixin selector
      official d Lty;d()Lwb;
      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;