Class CraftRequestC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.CraftRequestC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/CraftRequestC2SPacketintermediary net/minecraft/class_2840official ahy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf, CraftRequestC2SPacket> private final booleanprivate final Identifierprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionCraftRequestC2SPacket(int syncId, RecipeEntry<?> recipe, boolean craftAll) private -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) intbooleanprivate 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.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_48205Lnet/minecraft/class_2840;field_48205:Lnet/minecraft/class_9139;official aLahy;a:Lzn;
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector named syncIdLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;syncId:Iintermediary field_12933Lnet/minecraft/class_2840;field_12933:Iofficial bLahy;b:I
-
recipe
- Mappings:
Namespace Name Mixin selector named recipeLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;recipe:Lnet/minecraft/util/Identifier;intermediary field_12931Lnet/minecraft/class_2840;field_12931:Lnet/minecraft/class_2960;official cLahy;c:Lalf;
-
craftAll
private final boolean craftAll- Mappings:
Namespace Name Mixin selector named craftAllLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;craftAll:Zintermediary field_12932Lnet/minecraft/class_2840;field_12932:Zofficial dLahy;d:Z
-
-
Constructor Details
-
CraftRequestC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;<init>(ILnet/minecraft/recipe/RecipeEntry;Z)Vintermediary <init>Lnet/minecraft/class_2840;<init>(ILnet/minecraft/class_8786;Z)Vofficial <init>Lahy;<init>(ILcyz;Z)V
-
CraftRequestC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)Vintermediary <init>Lnet/minecraft/class_2840;<init>(Lnet/minecraft/class_2540;)Vofficial <init>Lahy;<init>(Lwm;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named writeLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)Vintermediary method_55986Lnet/minecraft/class_2840;method_55986(Lnet/minecraft/class_2540;)Vofficial aLahy;a(Lwm;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;official aLzw;a()Lzy;
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)Vintermediary method_12317Lnet/minecraft/class_2840;method_12317(Lnet/minecraft/class_2792;)Vofficial aLahy;a(Lagw;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector named getSyncIdLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getSyncId()Iintermediary method_12318Lnet/minecraft/class_2840;method_12318()Iofficial bLahy;b()I
-
getRecipe
- Mappings:
Namespace Name Mixin selector named getRecipeLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getRecipe()Lnet/minecraft/util/Identifier;intermediary method_12320Lnet/minecraft/class_2840;method_12320()Lnet/minecraft/class_2960;official eLahy;e()Lalf;
-
shouldCraftAll
public boolean shouldCraftAll()- Mappings:
Namespace Name Mixin selector named shouldCraftAllLnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;shouldCraftAll()Zintermediary method_12319Lnet/minecraft/class_2840;method_12319()Zofficial fLahy;f()Z
-