类 CraftRequestC2SPacket
- java.lang.Object
-
- net.minecraft.network.packet.c2s.play.CraftRequestC2SPacket
-
- 所有已实现的接口:
Packet<ServerPlayPacketListener>
public class CraftRequestC2SPacket extends Object implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official udintermediary net/minecraft/class_2840named net/minecraft/network/packet/c2s/play/CraftRequestC2SPacket
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleancraftAllprivate Identifierrecipeprivate intsyncId
-
构造器概要
构造器 构造器 说明 CraftRequestC2SPacket(int syncId, Recipe<?> recipe, boolean craftAll)CraftRequestC2SPacket(PacketByteBuf buf)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidapply(ServerPlayPacketListener serverPlayPacketListener)IdentifiergetRecipe()intgetSyncId()booleanshouldCraftAll()voidwrite(PacketByteBuf buf)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.network.Packet
isWritingErrorSkippable
-
-
-
-
字段详细资料
-
syncId
private final int syncId
- Mappings:
Namespace Name Mixin selector official aLud;a:Iintermediary field_12933Lnet/minecraft/class_2840;field_12933:Inamed syncIdLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;syncId:I
-
recipe
private final Identifier recipe
- Mappings:
Namespace Name Mixin selector official bLud;b:Lwp;intermediary field_12931Lnet/minecraft/class_2840;field_12931:Lnet/minecraft/class_2960;named recipeLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;recipe:Lnet/minecraft/util/Identifier;
-
craftAll
private final boolean craftAll
- Mappings:
Namespace Name Mixin selector official cLud;c:Zintermediary field_12932Lnet/minecraft/class_2840;field_12932:Znamed craftAllLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;craftAll:Z
-
-
构造器详细资料
-
CraftRequestC2SPacket
public CraftRequestC2SPacket(int syncId, Recipe<?> recipe, boolean craftAll)- Mappings:
Namespace Name Mixin selector official <init>Lud;<init>(ILbsj;Z)Vintermediary <init>Lnet/minecraft/class_2840;<init>(ILnet/minecraft/class_1860;Z)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;<init>(ILnet/minecraft/recipe/Recipe;Z)V
-
CraftRequestC2SPacket
public CraftRequestC2SPacket(PacketByteBuf buf)
- Mappings:
Namespace Name Mixin selector official <init>Lud;<init>(Lob;)Vintermediary <init>Lnet/minecraft/class_2840;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)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
-
apply
public void apply(ServerPlayPacketListener serverPlayPacketListener)
- 指定者:
apply在接口中Packet<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLud;a(Lth;)Vintermediary method_12317Lnet/minecraft/class_2840;method_12317(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getSyncId
public int getSyncId()
- Mappings:
Namespace Name Mixin selector official bLud;b()Iintermediary method_12318Lnet/minecraft/class_2840;method_12318()Inamed getSyncIdLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getSyncId()I
-
getRecipe
public Identifier getRecipe()
- Mappings:
Namespace Name Mixin selector official cLud;c()Lwp;intermediary method_12320Lnet/minecraft/class_2840;method_12320()Lnet/minecraft/class_2960;named getRecipeLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getRecipe()Lnet/minecraft/util/Identifier;
-
shouldCraftAll
public boolean shouldCraftAll()
- Mappings:
Namespace Name Mixin selector official dLud;d()Zintermediary method_12319Lnet/minecraft/class_2840;method_12319()Znamed shouldCraftAllLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;shouldCraftAll()Z
-
-