Class CraftRequestC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.CraftRequestC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name official aha
intermediary net/minecraft/class_2840
named net/minecraft/network/packet/c2s/play/CraftRequestC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, CraftRequestC2SPacket> private final boolean
private final Identifier
private final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionCraftRequestC2SPacket
(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 official a
Laha;a:Lys;
intermediary field_48205
Lnet/minecraft/class_2840;field_48205:Lnet/minecraft/class_9139;
named CODEC
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
syncId
private final int syncId- Mappings:
Namespace Name Mixin selector official b
Laha;b:I
intermediary field_12933
Lnet/minecraft/class_2840;field_12933:I
named syncId
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;syncId:I
-
recipe
- Mappings:
Namespace Name Mixin selector official c
Laha;c:Lakh;
intermediary field_12931
Lnet/minecraft/class_2840;field_12931:Lnet/minecraft/class_2960;
named recipe
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;recipe:Lnet/minecraft/util/Identifier;
-
craftAll
private final boolean craftAll- Mappings:
Namespace Name Mixin selector official d
Laha;d:Z
intermediary field_12932
Lnet/minecraft/class_2840;field_12932:Z
named craftAll
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;craftAll:Z
-
-
Constructor Details
-
CraftRequestC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Laha;<init>(ILcxf;Z)V
intermediary <init>
Lnet/minecraft/class_2840;<init>(ILnet/minecraft/class_8786;Z)V
named <init>
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;<init>(ILnet/minecraft/recipe/RecipeEntry;Z)V
-
CraftRequestC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>
Laha;<init>(Lvu;)V
intermediary <init>
Lnet/minecraft/class_2840;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official a
Laha;a(Lvu;)V
intermediary method_55986
Lnet/minecraft/class_2840;method_55986(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lzb;a()Lzd;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Laha;a(Lafz;)V
intermediary method_12317
Lnet/minecraft/class_2840;method_12317(Lnet/minecraft/class_2792;)V
named apply
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getSyncId
public int getSyncId()- Mappings:
Namespace Name Mixin selector official b
Laha;b()I
intermediary method_12318
Lnet/minecraft/class_2840;method_12318()I
named getSyncId
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getSyncId()I
-
getRecipe
- Mappings:
Namespace Name Mixin selector official e
Laha;e()Lakh;
intermediary method_12320
Lnet/minecraft/class_2840;method_12320()Lnet/minecraft/class_2960;
named getRecipe
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;getRecipe()Lnet/minecraft/util/Identifier;
-
shouldCraftAll
public boolean shouldCraftAll()- Mappings:
Namespace Name Mixin selector official f
Laha;f()Z
intermediary method_12319
Lnet/minecraft/class_2840;method_12319()Z
named shouldCraftAll
Lnet/minecraft/network/packet/c2s/play/CraftRequestC2SPacket;shouldCraftAll()Z
-