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 ahy
-
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
Lahy;a:Lzn;
-
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
Lahy;b:I
-
recipe
- Mappings:
Namespace Name Mixin selector named recipe
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;recipe:Lnet/minecraft/util/Identifier;
intermediary field_12931
Lnet/minecraft/class_2840;field_12931:Lnet/minecraft/class_2960;
official c
Lahy;c:Lalf;
-
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
Lahy;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>
Lahy;<init>(ILcyy;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>
Lahy;<init>(Lwm;)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
Lahy;a(Lwm;)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
Lzw;a()Lzy;
-
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
Lahy;a(Lagw;)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
Lahy;b()I
-
getRecipe
- Mappings:
Namespace Name Mixin selector named getRecipe
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getRecipe()Lnet/minecraft/util/Identifier;
intermediary method_12320
Lnet/minecraft/class_2840;method_12320()Lnet/minecraft/class_2960;
official e
Lahy;e()Lalf;
-
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
Lahy;f()Z
-