Class OpenScreenS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.OpenScreenS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/OpenScreenS2CPacket
intermediary net/minecraft/class_3944
official aef
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<RegistryByteBuf, OpenScreenS2CPacket> private final Text
private final ScreenHandlerType
<?> private final int
-
Constructor Summary
ConstructorDescriptionOpenScreenS2CPacket
(int syncId, ScreenHandlerType<?> screenHandlerId, Text name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) getName()
int
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.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47945
Lnet/minecraft/class_3944;field_47945:Lnet/minecraft/class_9139;
official a
Laef;a:Lzn;
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector named syncId
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;syncId:I
intermediary field_17436
Lnet/minecraft/class_3944;field_17436:I
official b
Laef;b:I
-
screenHandlerId
- Mappings:
Namespace Name Mixin selector named screenHandlerId
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;screenHandlerId:Lnet/minecraft/screen/ScreenHandlerType;
intermediary field_17437
Lnet/minecraft/class_3944;field_17437:Lnet/minecraft/class_3917;
official c
Laef;c:Lcrc;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;name:Lnet/minecraft/text/Text;
intermediary field_17438
Lnet/minecraft/class_3944;field_17438:Lnet/minecraft/class_2561;
official d
Laef;d:Lxp;
-
-
Constructor Details
-
OpenScreenS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;<init>(ILnet/minecraft/screen/ScreenHandlerType;Lnet/minecraft/text/Text;)V
intermediary <init>
Lnet/minecraft/class_3944;<init>(ILnet/minecraft/class_3917;Lnet/minecraft/class_2561;)V
official <init>
Laef;<init>(ILcrc;Lxp;)V
-
-
Method Details
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_17591
Lnet/minecraft/class_3944;method_17591(Lnet/minecraft/class_2602;)V
official a
Laef;a(Laci;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector named getSyncId
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;getSyncId()I
intermediary method_17592
Lnet/minecraft/class_3944;method_17592()I
official b
Laef;b()I
-
getScreenHandlerType
- Mappings:
Namespace Name Mixin selector named getScreenHandlerType
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;getScreenHandlerType()Lnet/minecraft/screen/ScreenHandlerType;
intermediary method_17593
Lnet/minecraft/class_3944;method_17593()Lnet/minecraft/class_3917;
official e
Laef;e()Lcrc;
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;getName()Lnet/minecraft/text/Text;
intermediary method_17594
Lnet/minecraft/class_3944;method_17594()Lnet/minecraft/class_2561;
official f
Laef;f()Lxp;
-