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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdvancementTabC2SPacket.Action
-
Field Summary
Fields Modifier and Type Field Description private AdvancementTabC2SPacket.Action
action
private Identifier
tabToOpen
-
Constructor Summary
Constructors Constructor Description AdvancementTabC2SPacket()
AdvancementTabC2SPacket(AdvancementTabC2SPacket.Action action, Identifier tab)
-
Method Summary
Modifier and Type Method Description void
apply(ServerPlayPacketListener serverPlayPacketListener)
static AdvancementTabC2SPacket
close()
AdvancementTabC2SPacket.Action
getAction()
Identifier
getTabToOpen()
static AdvancementTabC2SPacket
open(Advancement advancement)
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
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
- 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
- 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
- Specified by:
read
in interfacePacket<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
- Specified by:
write
in interfacePacket<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
- Specified by:
apply
in interfacePacket<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
- 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
- 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;
-