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
static final StreamCodec
<FriendlyByteBuf, ServerboundSeenAdvancementsPacket> private final ResourceLocation
-
Constructor Summary
ModifierConstructorDescriptionprivate
ServerboundSeenAdvancementsPacket
(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_) type()
private 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, isTerminal
-
Field Details
-
STREAM_CODEC
-
action
-
tab
-
-
Constructor Details
-
ServerboundSeenAdvancementsPacket
public ServerboundSeenAdvancementsPacket(ServerboundSeenAdvancementsPacket.Action p_134434_, @Nullable ResourceLocation p_134435_) -
ServerboundSeenAdvancementsPacket
-
-
Method Details
-
openedTab
-
closedScreen
-
write
-
type
- Specified by:
type
in interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ServerGamePacketListener>
-
getAction
-
getTab
-