Class ClickSlotC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.ClickSlotC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class ClickSlotC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official tcintermediary net/minecraft/class_2813named net/minecraft/network/packet/c2s/play/ClickSlotC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private shortactionIdprivate SlotActionTypeactionTypeprivate intclickDataprivate intslotprivate ItemStackstackprivate intsyncId -
Constructor Summary
Constructors Constructor Description ClickSlotC2SPacket()ClickSlotC2SPacket(int syncId, int slot, int clickData, SlotActionType actionType, ItemStack stack, short actionId) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)shortgetActionId()SlotActionTypegetActionType()intgetClickData()intgetSlot()ItemStackgetStack()intgetSyncId()voidread(PacketByteBuf buf)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
isWritingErrorSkippable
-
Field Details
-
syncId
private int syncId- Mappings:
Namespace Name Mixin selector official aLtc;a:Iintermediary field_12819Lnet/minecraft/class_2813;field_12819:Inamed syncIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;syncId:I
-
slot
private int slot- Mappings:
Namespace Name Mixin selector official bLtc;b:Iintermediary field_12818Lnet/minecraft/class_2813;field_12818:Inamed slotLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;slot:I
-
clickData
private int clickData- Mappings:
Namespace Name Mixin selector official cLtc;c:Iintermediary field_12817Lnet/minecraft/class_2813;field_12817:Inamed clickDataLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;clickData:I
-
actionId
private short actionId- Mappings:
Namespace Name Mixin selector official dLtc;d:Sintermediary field_12820Lnet/minecraft/class_2813;field_12820:Snamed actionIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;actionId:S
-
stack
- Mappings:
Namespace Name Mixin selector official eLtc;e:Lbnv;intermediary field_12816Lnet/minecraft/class_2813;field_12816:Lnet/minecraft/class_1799;named stackLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;stack:Lnet/minecraft/item/ItemStack;
-
actionType
- Mappings:
Namespace Name Mixin selector official fLtc;f:Lbka;intermediary field_12815Lnet/minecraft/class_2813;field_12815:Lnet/minecraft/class_1713;named actionTypeLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;actionType:Lnet/minecraft/screen/slot/SlotActionType;
-
-
Constructor Details
-
ClickSlotC2SPacket
public ClickSlotC2SPacket() -
ClickSlotC2SPacket
@Environment(CLIENT) public ClickSlotC2SPacket(int syncId, int slot, int clickData, SlotActionType actionType, ItemStack stack, short actionId)- Mappings:
Namespace Name Mixin selector official <init>Ltc;<init>(IIILbka;Lbnv;S)Vintermediary <init>Lnet/minecraft/class_2813;<init>(IIILnet/minecraft/class_1713;Lnet/minecraft/class_1799;S)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;<init>(IIILnet/minecraft/screen/slot/SlotActionType;Lnet/minecraft/item/ItemStack;S)V
-
-
Method Details
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLtc;a(Lss;)Vintermediary method_12191Lnet/minecraft/class_2813;method_12191(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
read
- Specified by:
readin interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLpa;a(Lnw;)Vintermediary method_11053Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)Vnamed readLnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLpa;b(Lnw;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector official bLtc;b()Iintermediary method_12194Lnet/minecraft/class_2813;method_12194()Inamed getSyncIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSyncId()I
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official cLtc;c()Iintermediary method_12192Lnet/minecraft/class_2813;method_12192()Inamed getSlotLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSlot()I
-
getClickData
public int getClickData()- Mappings:
Namespace Name Mixin selector official dLtc;d()Iintermediary method_12193Lnet/minecraft/class_2813;method_12193()Inamed getClickDataLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getClickData()I
-
getActionId
public short getActionId()- Mappings:
Namespace Name Mixin selector official eLtc;e()Sintermediary method_12189Lnet/minecraft/class_2813;method_12189()Snamed getActionIdLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getActionId()S
-
getStack
- Mappings:
Namespace Name Mixin selector official fLtc;f()Lbnv;intermediary method_12190Lnet/minecraft/class_2813;method_12190()Lnet/minecraft/class_1799;named getStackLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getStack()Lnet/minecraft/item/ItemStack;
-
getActionType
- Mappings:
Namespace Name Mixin selector official gLtc;g()Lbka;intermediary method_12195Lnet/minecraft/class_2813;method_12195()Lnet/minecraft/class_1713;named getActionTypeLnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getActionType()Lnet/minecraft/screen/slot/SlotActionType;
-