Class CraftFailedResponseS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.CraftFailedResponseS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class CraftFailedResponseS2CPacket extends Object implements Packet<ClientPlayPacketListener>
- Mappings:
Namespace Name official qx
intermediary net/minecraft/class_2695
named net/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket
-
Field Summary
Fields Modifier and Type Field Description private Identifier
recipeId
private int
syncId
-
Constructor Summary
Constructors Constructor Description CraftFailedResponseS2CPacket()
CraftFailedResponseS2CPacket(int syncId, Recipe<?> recipe)
-
Method Summary
Modifier and Type Method Description void
apply(ClientPlayPacketListener clientPlayPacketListener)
Identifier
getRecipeId()
int
getSyncId()
void
read(PacketByteBuf buf)
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
isWritingErrorSkippable
-
Field Details
-
syncId
private int syncId- Mappings:
Namespace Name Mixin selector official a
Lqx;a:I
intermediary field_12333
Lnet/minecraft/class_2695;field_12333:I
named syncId
Lnet/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket;syncId:I
-
recipeId
- Mappings:
Namespace Name Mixin selector official b
Lqx;b:Lwb;
intermediary field_12332
Lnet/minecraft/class_2695;field_12332:Lnet/minecraft/class_2960;
named recipeId
Lnet/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket;recipeId:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
CraftFailedResponseS2CPacket
public CraftFailedResponseS2CPacket() -
CraftFailedResponseS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Lqx;<init>(ILbqn;)V
intermediary <init>
Lnet/minecraft/class_2695;<init>(ILnet/minecraft/class_1860;)V
named <init>
Lnet/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket;<init>(ILnet/minecraft/recipe/Recipe;)V
-
-
Method Details
-
getRecipeId
- Mappings:
Namespace Name Mixin selector official b
Lqx;b()Lwb;
intermediary method_11684
Lnet/minecraft/class_2695;method_11684()Lnet/minecraft/class_2960;
named getRecipeId
Lnet/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket;getRecipeId()Lnet/minecraft/util/Identifier;
-
getSyncId
- Mappings:
Namespace Name Mixin selector official c
Lqx;c()I
intermediary method_11685
Lnet/minecraft/class_2695;method_11685()I
named getSyncId
Lnet/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket;getSyncId()I
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpa;a(Lnw;)V
intermediary method_11053
Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
named read
Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpa;b(Lnw;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lqx;a(Lpd;)V
intermediary method_11686
Lnet/minecraft/class_2695;method_11686(Lnet/minecraft/class_2602;)V
named apply
Lnet/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
-