类 CreativeInventoryActionC2SPacket
- java.lang.Object
-
- net.minecraft.network.packet.c2s.play.CreativeInventoryActionC2SPacket
-
- 所有已实现的接口:
Packet<ServerPlayPacketListener>
public class CreativeInventoryActionC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official usintermediary net/minecraft/class_2873named net/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket
-
-
构造器概要
构造器 构造器 说明 CreativeInventoryActionC2SPacket(int slot, ItemStack stack)CreativeInventoryActionC2SPacket(PacketByteBuf buf)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ServerPlayPacketListener serverPlayPacketListener)ItemStackgetItemStack()intgetSlot()voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
slot
private final int slot
- Mappings:
Namespace Name Mixin selector official aLus;a:Iintermediary field_13071Lnet/minecraft/class_2873;field_13071:Inamed slotLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;slot:I
-
stack
private final ItemStack stack
- Mappings:
Namespace Name Mixin selector official bLus;b:Lbpr;intermediary field_13070Lnet/minecraft/class_2873;field_13070:Lnet/minecraft/class_1799;named stackLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;stack:Lnet/minecraft/item/ItemStack;
-
-
构造器详细资料
-
CreativeInventoryActionC2SPacket
public CreativeInventoryActionC2SPacket(int slot, ItemStack stack)- Mappings:
Namespace Name Mixin selector official <init>Lus;<init>(ILbpr;)Vintermediary <init>Lnet/minecraft/class_2873;<init>(ILnet/minecraft/class_1799;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(ILnet/minecraft/item/ItemStack;)V
-
CreativeInventoryActionC2SPacket
public CreativeInventoryActionC2SPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Lus;<init>(Lob;)Vintermediary <init>Lnet/minecraft/class_2873;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
方法详细资料
-
apply
public void apply(ServerPlayPacketListener serverPlayPacketListener)
- 指定者:
apply在接口中Packet<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLus;a(Lth;)Vintermediary method_12480Lnet/minecraft/class_2873;method_12480(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
write
public void write(PacketByteBuf buf)
- 指定者:
write在接口中Packet<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpf;a(Lob;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getSlot
public int getSlot()
- Mappings:
Namespace Name Mixin selector official bLus;b()Iintermediary method_12481Lnet/minecraft/class_2873;method_12481()Inamed getSlotLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getSlot()I
-
getItemStack
public ItemStack getItemStack()
- Mappings:
Namespace Name Mixin selector official cLus;c()Lbpr;intermediary method_12479Lnet/minecraft/class_2873;method_12479()Lnet/minecraft/class_1799;named getItemStackLnet/minecraft/network/packet/c2s/play/CreativeInventoryActionC2SPacket;getItemStack()Lnet/minecraft/item/ItemStack;
-
-