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 tc
intermediary net/minecraft/class_2813
named net/minecraft/network/packet/c2s/play/ClickSlotC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private short
actionId
private SlotActionType
actionType
private int
clickData
private int
slot
private ItemStack
stack
private int
syncId
-
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 void
apply(ServerPlayPacketListener serverPlayPacketListener)
short
getActionId()
SlotActionType
getActionType()
int
getClickData()
int
getSlot()
ItemStack
getStack()
int
getSyncId()
void
read(PacketByteBuf buf)
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
isWritingErrorSkippable
-
Field Details
-
syncId
private int syncId- Mappings:
Namespace Name Mixin selector official a
Ltc;a:I
intermediary field_12819
Lnet/minecraft/class_2813;field_12819:I
named syncId
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;syncId:I
-
slot
private int slot- Mappings:
Namespace Name Mixin selector official b
Ltc;b:I
intermediary field_12818
Lnet/minecraft/class_2813;field_12818:I
named slot
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;slot:I
-
clickData
private int clickData- Mappings:
Namespace Name Mixin selector official c
Ltc;c:I
intermediary field_12817
Lnet/minecraft/class_2813;field_12817:I
named clickData
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;clickData:I
-
actionId
private short actionId- Mappings:
Namespace Name Mixin selector official d
Ltc;d:S
intermediary field_12820
Lnet/minecraft/class_2813;field_12820:S
named actionId
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;actionId:S
-
stack
- Mappings:
Namespace Name Mixin selector official e
Ltc;e:Lbnv;
intermediary field_12816
Lnet/minecraft/class_2813;field_12816:Lnet/minecraft/class_1799;
named stack
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;stack:Lnet/minecraft/item/ItemStack;
-
actionType
- Mappings:
Namespace Name Mixin selector official f
Ltc;f:Lbka;
intermediary field_12815
Lnet/minecraft/class_2813;field_12815:Lnet/minecraft/class_1713;
named actionType
Lnet/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)V
intermediary <init>
Lnet/minecraft/class_2813;<init>(IIILnet/minecraft/class_1713;Lnet/minecraft/class_1799;S)V
named <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:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Ltc;a(Lss;)V
intermediary method_12191
Lnet/minecraft/class_2813;method_12191(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
read
- Specified by:
read
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ServerPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector official b
Ltc;b()I
intermediary method_12194
Lnet/minecraft/class_2813;method_12194()I
named getSyncId
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSyncId()I
-
getSlot
public int getSlot()- Mappings:
Namespace Name Mixin selector official c
Ltc;c()I
intermediary method_12192
Lnet/minecraft/class_2813;method_12192()I
named getSlot
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getSlot()I
-
getClickData
public int getClickData()- Mappings:
Namespace Name Mixin selector official d
Ltc;d()I
intermediary method_12193
Lnet/minecraft/class_2813;method_12193()I
named getClickData
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getClickData()I
-
getActionId
public short getActionId()- Mappings:
Namespace Name Mixin selector official e
Ltc;e()S
intermediary method_12189
Lnet/minecraft/class_2813;method_12189()S
named getActionId
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getActionId()S
-
getStack
- Mappings:
Namespace Name Mixin selector official f
Ltc;f()Lbnv;
intermediary method_12190
Lnet/minecraft/class_2813;method_12190()Lnet/minecraft/class_1799;
named getStack
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getStack()Lnet/minecraft/item/ItemStack;
-
getActionType
- Mappings:
Namespace Name Mixin selector official g
Ltc;g()Lbka;
intermediary method_12195
Lnet/minecraft/class_2813;method_12195()Lnet/minecraft/class_1713;
named getActionType
Lnet/minecraft/network/packet/c2s/play/ClickSlotC2SPacket;getActionType()Lnet/minecraft/screen/slot/SlotActionType;
-