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 yt
intermediary net/minecraft/class_2695
named net/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket
  • Field Details

    • syncId

      private final int syncId
      Mappings:
      Namespace Name Mixin selector
      official a Lyt;a:I
      intermediary field_12333 Lnet/minecraft/class_2695;field_12333:I
      named syncId Lnet/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket;syncId:I
    • recipeId

      private final Identifier recipeId
      Mappings:
      Namespace Name Mixin selector
      official b Lyt;b:Laew;
      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(int syncId, RecipeEntry<?> recipe)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyt;<init>(ILcmk;)V
      intermediary <init> Lnet/minecraft/class_2695;<init>(ILnet/minecraft/class_8786;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket;<init>(ILnet/minecraft/recipe/RecipeEntry;)V
    • CraftFailedResponseS2CPacket

      public CraftFailedResponseS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyt;<init>(Lso;)V
      intermediary <init> Lnet/minecraft/class_2695;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvd;a(Lso;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lyt;a(Lww;)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
    • getRecipeId

      public Identifier getRecipeId()
      Mappings:
      Namespace Name Mixin selector
      official a Lyt;a()Laew;
      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

      public int getSyncId()
      Mappings:
      Namespace Name Mixin selector
      official d Lyt;d()I
      intermediary method_11685 Lnet/minecraft/class_2695;method_11685()I
      named getSyncId Lnet/minecraft/network/packet/s2c/play/CraftFailedResponseS2CPacket;getSyncId()I