Class UpdateSelectedSlotS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.UpdateSelectedSlotS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket
intermediary net/minecraft/class_2735
official afi
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, UpdateSelectedSlotS2CPacket> private final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
getSlot()
private 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
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47974
Lnet/minecraft/class_2735;field_47974:Lnet/minecraft/class_9139;
official a
Lafi;a:Lzn;
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector named slot
Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;slot:I
intermediary field_12463
Lnet/minecraft/class_2735;field_12463:I
official b
Lafi;b:I
-
-
Constructor Details
-
UpdateSelectedSlotS2CPacket
public UpdateSelectedSlotS2CPacket(int slot) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;<init>(I)V
intermediary <init>
Lnet/minecraft/class_2735;<init>(I)V
official <init>
Lafi;<init>(I)V
-
UpdateSelectedSlotS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2735;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lafi;<init>(Lwm;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55921
Lnet/minecraft/class_2735;method_55921(Lnet/minecraft/class_2540;)V
official a
Lafi;a(Lwm;)V
-
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/UpdateSelectedSlotS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11802
Lnet/minecraft/class_2735;method_11802(Lnet/minecraft/class_2602;)V
official a
Lafi;a(Laci;)V
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector named getSlot
Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;getSlot()I
intermediary method_11803
Lnet/minecraft/class_2735;method_11803()I
official b
Lafi;b()I
-