Class OpenScreenS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.OpenScreenS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class OpenScreenS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qv
intermediary net/minecraft/class_3944
named net/minecraft/network/packet/s2c/play/OpenScreenS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private Text
name
private int
screenHandlerId
private int
syncId
-
Constructor Summary
Constructors Constructor Description OpenScreenS2CPacket()
OpenScreenS2CPacket(int syncId, ScreenHandlerType<?> type, Text name)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
Text
getName()
ScreenHandlerType<?>
getScreenHandlerType()
int
getSyncId()
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
-
syncId
private int syncId- Mappings:
Namespace Name Mixin selector official a
Lqv;a:I
intermediary field_17436
Lnet/minecraft/class_3944;field_17436:I
named syncId
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;syncId:I
-
screenHandlerId
private int screenHandlerId- Mappings:
Namespace Name Mixin selector official b
Lqv;b:I
intermediary field_17437
Lnet/minecraft/class_3944;field_17437:I
named screenHandlerId
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;screenHandlerId:I
-
name
- Mappings:
Namespace Name Mixin selector official c
Lqv;c:Loi;
intermediary field_17438
Lnet/minecraft/class_3944;field_17438:Lnet/minecraft/class_2561;
named name
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;name:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
OpenScreenS2CPacket
public OpenScreenS2CPacket() -
OpenScreenS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lqv;<init>(ILbku;Loi;)V
intermediary <init>
Lnet/minecraft/class_3944;<init>(ILnet/minecraft/class_3917;Lnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;<init>(ILnet/minecraft/screen/ScreenHandlerType;Lnet/minecraft/text/Text;)V
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- 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<ClientPlayPacketListener>
- 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<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lqv;a(Lpd;)V
intermediary method_17591
Lnet/minecraft/class_3944;method_17591(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getSyncId
- Mappings:
Namespace Name Mixin selector official b
Lqv;b()I
intermediary method_17592
Lnet/minecraft/class_3944;method_17592()I
named getSyncId
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;getSyncId()I
-
getScreenHandlerType
- Mappings:
Namespace Name Mixin selector official c
Lqv;c()Lbku;
intermediary method_17593
Lnet/minecraft/class_3944;method_17593()Lnet/minecraft/class_3917;
named getScreenHandlerType
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;getScreenHandlerType()Lnet/minecraft/screen/ScreenHandlerType;
-
getName
- Mappings:
Namespace Name Mixin selector official d
Lqv;d()Loi;
intermediary method_17594
Lnet/minecraft/class_3944;method_17594()Lnet/minecraft/class_2561;
named getName
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;getName()Lnet/minecraft/text/Text;
-