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 yw
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 Lyw;a:Lyw$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 Lyw;b:Labb;
      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> Lyw;<init>(Lyw$a;Labb;)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> Lyw;<init>(Lqx;)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(Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Lyw;a(Laf;)Lyw;
      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

      public static AdvancementTabC2SPacket close()
      Mappings:
      Namespace Name Mixin selector
      official b Lyw;b()Lyw;
      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 Ltc;a(Lqx;)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 Lyw;a(Lxm;)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 Lyw;c()Lyw$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 d Lyw;d()Labb;
      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;