Class ServerMetadataS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.ServerMetadataS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official wy
intermediary net/minecraft/class_7495
named net/minecraft/network/packet/s2c/play/ServerMetadataS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
-
Constructor Summary
ConstructorDescriptionServerMetadataS2CPacket
(@Nullable Text description, @Nullable String favicon, boolean previewsChat) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) boolean
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
-
description
- Mappings:
Namespace Name Mixin selector official a
Lwy;a:Ljava/util/Optional;
intermediary field_39387
Lnet/minecraft/class_7495;field_39387:Ljava/util/Optional;
named description
Lnet/minecraft/network/packet/s2c/play/ServerMetadataS2CPacket;description:Ljava/util/Optional;
-
favicon
- Mappings:
Namespace Name Mixin selector official b
Lwy;b:Ljava/util/Optional;
intermediary field_39388
Lnet/minecraft/class_7495;field_39388:Ljava/util/Optional;
named favicon
Lnet/minecraft/network/packet/s2c/play/ServerMetadataS2CPacket;favicon:Ljava/util/Optional;
-
secureChatEnforced
private final boolean secureChatEnforced- Mappings:
Namespace Name Mixin selector official c
Lwy;c:Z
intermediary field_39920
Lnet/minecraft/class_7495;field_39920:Z
named secureChatEnforced
Lnet/minecraft/network/packet/s2c/play/ServerMetadataS2CPacket;secureChatEnforced:Z
-
-
Constructor Details
-
ServerMetadataS2CPacket
public ServerMetadataS2CPacket(@Nullable @Nullable Text description, @Nullable @Nullable String favicon, boolean previewsChat) - Mappings:
Namespace Name Mixin selector official <init>
Lwy;<init>(Lss;Ljava/lang/String;Z)V
intermediary <init>
Lnet/minecraft/class_7495;<init>(Lnet/minecraft/class_2561;Ljava/lang/String;Z)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ServerMetadataS2CPacket;<init>(Lnet/minecraft/text/Text;Ljava/lang/String;Z)V
-
ServerMetadataS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lwy;<init>(Lsd;)V
intermediary <init>
Lnet/minecraft/class_7495;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/ServerMetadataS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Luh;a(Lsd;)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<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lwy;a(Luk;)V
intermediary method_44131
Lnet/minecraft/class_7495;method_44131(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/ServerMetadataS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getDescription
- Mappings:
Namespace Name Mixin selector official b
Lwy;b()Ljava/util/Optional;
intermediary method_44132
Lnet/minecraft/class_7495;method_44132()Ljava/util/Optional;
named getDescription
Lnet/minecraft/network/packet/s2c/play/ServerMetadataS2CPacket;getDescription()Ljava/util/Optional;
-
getFavicon
- Mappings:
Namespace Name Mixin selector official c
Lwy;c()Ljava/util/Optional;
intermediary method_44133
Lnet/minecraft/class_7495;method_44133()Ljava/util/Optional;
named getFavicon
Lnet/minecraft/network/packet/s2c/play/ServerMetadataS2CPacket;getFavicon()Ljava/util/Optional;
-
isSecureChatEnforced
public boolean isSecureChatEnforced()- Mappings:
Namespace Name Mixin selector official d
Lwy;d()Z
intermediary method_45058
Lnet/minecraft/class_7495;method_45058()Z
named isSecureChatEnforced
Lnet/minecraft/network/packet/s2c/play/ServerMetadataS2CPacket;isSecureChatEnforced()Z
-