Class UpdateSelectedSlotS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.UpdateSelectedSlotS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name intermediary net/minecraft/class_2735official xrnamed net/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ClientPlayPacketListener clientPlayPacketListener) intgetSlot()voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable
-
Field Details
-
selectedSlot
private final int selectedSlot- Mappings:
Namespace Name Mixin selector intermediary field_12463Lnet/minecraft/class_2735;field_12463:Iofficial aLxr;a:Inamed selectedSlotLnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;selectedSlot:I
-
-
Constructor Details
-
UpdateSelectedSlotS2CPacket
public UpdateSelectedSlotS2CPacket(int slot) - Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_2735;<init>(I)Vofficial <init>Lxr;<init>(I)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;<init>(I)V
-
UpdateSelectedSlotS2CPacket
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_2735;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Lxr;<init>(Lsf;)Vnamed <init>Lnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector intermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vofficial aLuo;a(Lsf;)Vnamed writeLnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ClientPlayPacketListener>- Mappings:
Namespace Name Mixin selector intermediary method_11802Lnet/minecraft/class_2735;method_11802(Lnet/minecraft/class_2602;)Vofficial aLxr;a(Lur;)Vnamed applyLnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector intermediary method_11803Lnet/minecraft/class_2735;method_11803()Iofficial aLxr;a()Inamed getSlotLnet/minecraft/network/packet/s2c/play/UpdateSelectedSlotS2CPacket;getSlot()I
-