Class CreativeInventoryActionC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.CreativeInventoryActionC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class CreativeInventoryActionC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official iwintermediary net/minecraft/class_1577named net/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CreativeInventoryActionC2SPacket()CreativeInventoryActionC2SPacket(int slot, ItemStack stack) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)ItemStackgetItemStack()intgetSlot()voidread(PacketByteBuf buf)voidwrite(PacketByteBuf buf)
-
Field Details
-
slot
private int slot- Mappings:
Namespace Name Mixin selector official aLiw;a:Iintermediary field_6460Lnet/minecraft/class_1577;field_6460:Inamed slotLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;slot:I
-
stack
- Mappings:
Namespace Name Mixin selector official bLiw;b:Lzx;intermediary field_6461Lnet/minecraft/class_1577;field_6461:Lnet/minecraft/class_2056;named stackLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;stack:Lnet/minecraft/item/ItemStack;
-
-
Constructor Details
-
CreativeInventoryActionC2SPacket
public CreativeInventoryActionC2SPacket() -
CreativeInventoryActionC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Liw;<init>(ILzx;)Vintermediary <init>Lnet/minecraft/class_1577;<init>(ILnet/minecraft/class_2056;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(ILnet/minecraft/item/ItemStack;)V
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLiw;a(Lic;)Vintermediary method_5807Lnet/minecraft/class_1577;method_5807(Lnet/minecraft/class_1550;)Vnamed applyLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
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
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official aLiw;a()Iintermediary method_5806Lnet/minecraft/class_1577;method_5806()Inamed getSlotLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getSlot()I
-
getItemStack
- Mappings:
Namespace Name Mixin selector official bLiw;b()Lzx;intermediary method_5808Lnet/minecraft/class_1577;method_5808()Lnet/minecraft/class_2056;named getItemStackLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getItemStack()Lnet/minecraft/item/ItemStack;
-