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/CraftRequestC2SPacket
intermediary net/minecraft/class_2840
official ahd
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, CraftRequestC2SPacket> private final boolean
private final Identifier
private final int
-
Constructor Summary
ModifierConstructorDescriptionCraftRequestC2SPacket
(int syncId, RecipeEntry<?> recipe, boolean craftAll) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) int
boolean
private 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.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48205
Lnet/minecraft/class_2840;field_48205:Lnet/minecraft/class_9139;
official a
Lahd;a:Lys;
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector named syncId
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;syncId:I
intermediary field_12933
Lnet/minecraft/class_2840;field_12933:I
official b
Lahd;b:I
-
recipeId
- Mappings:
Namespace Name Mixin selector named recipeId
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;recipeId:Lnet/minecraft/util/Identifier;
intermediary field_12931
Lnet/minecraft/class_2840;field_12931:Lnet/minecraft/class_2960;
official c
Lahd;c:Lakk;
-
craftAll
private final boolean craftAll- Mappings:
Namespace Name Mixin selector named craftAll
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;craftAll:Z
intermediary field_12932
Lnet/minecraft/class_2840;field_12932:Z
official d
Lahd;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)V
intermediary <init>
Lnet/minecraft/class_2840;<init>(ILnet/minecraft/class_8786;Z)V
official <init>
Lahd;<init>(ILcyl;Z)V
-
CraftRequestC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2840;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lahd;<init>(Lvr;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55986
Lnet/minecraft/class_2840;method_55986(Lnet/minecraft/class_2540;)V
official a
Lahd;a(Lvr;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzb;a()Lzd;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12317
Lnet/minecraft/class_2840;method_12317(Lnet/minecraft/class_2792;)V
official a
Lahd;a(Lagb;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector named getSyncId
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getSyncId()I
intermediary method_12318
Lnet/minecraft/class_2840;method_12318()I
official b
Lahd;b()I
-
getRecipeId
- Mappings:
Namespace Name Mixin selector named getRecipeId
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getRecipeId()Lnet/minecraft/util/Identifier;
intermediary method_12320
Lnet/minecraft/class_2840;method_12320()Lnet/minecraft/class_2960;
official e
Lahd;e()Lakk;
-
shouldCraftAll
public boolean shouldCraftAll()- Mappings:
Namespace Name Mixin selector named shouldCraftAll
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;shouldCraftAll()Z
intermediary method_12319
Lnet/minecraft/class_2840;method_12319()Z
official f
Lahd;f()Z
-