Class ServerboundSeenAdvancementsPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundSeenAdvancementsPacket
- All Implemented Interfaces:
Packet<ServerGamePacketListener>
public class ServerboundSeenAdvancementsPacket
extends Object
implements Packet<ServerGamePacketListener>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ServerboundSeenAdvancementsPacket.Action
private final ResourceLocation
-
Constructor Summary
ConstructorDescriptionServerboundSeenAdvancementsPacket
(FriendlyByteBuf p_179744_) ServerboundSeenAdvancementsPacket
(ServerboundSeenAdvancementsPacket.Action p_134434_, ResourceLocation p_134435_) -
Method Summary
Modifier and TypeMethodDescriptiongetTab()
void
handle
(ServerGamePacketListener p_134441_) openedTab
(AdvancementHolder p_300057_) void
write
(FriendlyByteBuf p_134446_) 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.protocol.Packet
isSkippable, nextProtocol
-
Field Details
-
action
-
tab
-
-
Constructor Details
-
ServerboundSeenAdvancementsPacket
public ServerboundSeenAdvancementsPacket(ServerboundSeenAdvancementsPacket.Action p_134434_, @Nullable ResourceLocation p_134435_) -
ServerboundSeenAdvancementsPacket
-
-
Method Details
-
openedTab
-
closedScreen
-
write
- Specified by:
write
in interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ServerGamePacketListener>
-
getAction
-
getTab
-