Class UpdateSelectedSlotC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.UpdateSelectedSlotC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class UpdateSelectedSlotC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official ivintermediary net/minecraft/class_1576named net/minecraft/network/packet/c2s/play/UpdateSelectedSlotC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private intselectedSlot -
Constructor Summary
Constructors Constructor Description UpdateSelectedSlotC2SPacket()UpdateSelectedSlotC2SPacket(int slot) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)intgetSelectedSlot()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
selectedSlot
private int selectedSlot- Mappings:
Namespace Name Mixin selector official aLiv;a:Iintermediary field_6459Lnet/minecraft/class_1576;field_6459:Inamed selectedSlotLnet/minecraft/network/packet/c2s/play/UpdateSelectedSlotC2SPacket;selectedSlot:I
-
-
Constructor Details
-
UpdateSelectedSlotC2SPacket
public UpdateSelectedSlotC2SPacket() -
UpdateSelectedSlotC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Liv;<init>(I)Vintermediary <init>Lnet/minecraft/class_1576;<init>(I)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/UpdateSelectedSlotC2SPacket;<init>(I)V
-
-
Method Details
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLff;a(Lem;)Vintermediary method_5238Lnet/minecraft/class_1457;method_5238(Lnet/minecraft/class_1435;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/util/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLff;b(Lem;)Vintermediary method_5240Lnet/minecraft/class_1457;method_5240(Lnet/minecraft/class_1435;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/util/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLiv;a(Lic;)Vintermediary method_5805Lnet/minecraft/class_1576;method_5805(Lnet/minecraft/class_1550;)Vnamed applyLnet/minecraft/network/packet/c2s/play/UpdateSelectedSlotC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getSelectedSlot
public int getSelectedSlot()- Mappings:
Namespace Name Mixin selector official aLiv;a()Iintermediary method_5804Lnet/minecraft/class_1576;method_5804()Inamed getSelectedSlotLnet/minecraft/network/packet/c2s/play/UpdateSelectedSlotC2SPacket;getSelectedSlot()I
-