Class QueryResponseS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.query.QueryResponseS2CPacket
- All Implemented Interfaces:
Packet<ClientQueryPacketListener>
public class QueryResponseS2CPacket extends Object implements Packet<ClientQueryPacketListener>
- Mappings:
Namespace Name official ve
intermediary net/minecraft/class_2924
named net/minecraft/network/packet/s2c/query/QueryResponseS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private static Gson
GSON
private ServerMetadata
metadata
-
Constructor Summary
Constructors Constructor Description QueryResponseS2CPacket()
QueryResponseS2CPacket(ServerMetadata metadata)
-
Method Summary
Modifier and Type Method Description void
apply(ClientQueryPacketListener clientQueryPacketListener)
ServerMetadata
getServerMetadata()
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
-
GSON
- Mappings:
Namespace Name Mixin selector official a
Lve;a:Lcom/google/gson/Gson;
intermediary field_13282
Lnet/minecraft/class_2924;field_13282:Lcom/google/gson/Gson;
named GSON
Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;GSON:Lcom/google/gson/Gson;
-
metadata
- Mappings:
Namespace Name Mixin selector official b
Lve;b:Lvf;
intermediary field_13281
Lnet/minecraft/class_2924;field_13281:Lnet/minecraft/class_2926;
named metadata
Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;metadata:Lnet/minecraft/server/ServerMetadata;
-
-
Constructor Details
-
QueryResponseS2CPacket
public QueryResponseS2CPacket() -
QueryResponseS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lve;<init>(Lvf;)V
intermediary <init>
Lnet/minecraft/class_2924;<init>(Lnet/minecraft/class_2926;)V
named <init>
Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;<init>(Lnet/minecraft/server/ServerMetadata;)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientQueryPacketListener>
- 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<ClientQueryPacketListener>
- 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<ClientQueryPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lve;a(Lvc;)V
intermediary method_12671
Lnet/minecraft/class_2924;method_12671(Lnet/minecraft/class_2921;)V
named apply
Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;apply(Lnet/minecraft/network/listener/ClientQueryPacketListener;)V
-
getServerMetadata
- Mappings:
Namespace Name Mixin selector official b
Lve;b()Lvf;
intermediary method_12672
Lnet/minecraft/class_2924;method_12672()Lnet/minecraft/class_2926;
named getServerMetadata
Lnet/minecraft/network/packet/s2c/query/QueryResponseS2CPacket;getServerMetadata()Lnet/minecraft/server/ServerMetadata;
-