Class OpenScreenS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.OpenScreenS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official yr
intermediary net/minecraft/class_3944
named net/minecraft/network/packet/s2c/play/OpenScreenS2CPacket
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Text
private final ScreenHandlerType<?>
private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) getName()
@Nullable ScreenHandlerType<?>
int
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.Packet
getNewNetworkState, isWritingErrorSkippable
-
Field Details
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector official a
Lyr;a:I
intermediary field_17436
Lnet/minecraft/class_3944;field_17436:I
named syncId
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;syncId:I
-
screenHandlerId
- Mappings:
Namespace Name Mixin selector official b
Lyr;b:Lcfq;
intermediary field_17437
Lnet/minecraft/class_3944;field_17437:Lnet/minecraft/class_3917;
named screenHandlerId
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;screenHandlerId:Lnet/minecraft/screen/ScreenHandlerType;
-
name
- Mappings:
Namespace Name Mixin selector official c
Lyr;c:Ltl;
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
- Mappings:
Namespace Name Mixin selector official <init>
Lyr;<init>(ILcfq;Ltl;)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
-
OpenScreenS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lyr;<init>(Lso;)V
intermediary <init>
Lnet/minecraft/class_3944;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/OpenScreenS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvd;a(Lso;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lyr;a(Lww;)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
public int getSyncId()- Mappings:
Namespace Name Mixin selector official a
Lyr;a()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 d
Lyr;d()Lcfq;
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 e
Lyr;e()Ltl;
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;
-