Class RecipeCategoryOptionsC2SPacket

java.lang.Object
net.minecraft.network.packet.c2s.play.RecipeCategoryOptionsC2SPacket
All Implemented Interfaces:
Packet<ServerPlayPacketListener>

public class RecipeCategoryOptionsC2SPacket extends Object implements Packet<ServerPlayPacketListener>
Mappings:
Namespace Name
official ahf
intermediary net/minecraft/class_5427
named net/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      official a Lahf;a:Lys;
      intermediary field_48210 Lnet/minecraft/class_5427;field_48210:Lnet/minecraft/class_9139;
      named CODEC Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
    • category

      private final RecipeBookCategory category
      Mappings:
      Namespace Name Mixin selector
      official b Lahf;b:Lcps;
      intermediary field_25798 Lnet/minecraft/class_5427;field_25798:Lnet/minecraft/class_5421;
      named category Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;category:Lnet/minecraft/recipe/book/RecipeBookCategory;
    • guiOpen

      private final boolean guiOpen
      Mappings:
      Namespace Name Mixin selector
      official c Lahf;c:Z
      intermediary field_25799 Lnet/minecraft/class_5427;field_25799:Z
      named guiOpen Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;guiOpen:Z
    • filteringCraftable

      private final boolean filteringCraftable
      Mappings:
      Namespace Name Mixin selector
      official d Lahf;d:Z
      intermediary field_25800 Lnet/minecraft/class_5427;field_25800:Z
      named filteringCraftable Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;filteringCraftable:Z
  • Constructor Details

    • RecipeCategoryOptionsC2SPacket

      public RecipeCategoryOptionsC2SPacket(RecipeBookCategory category, boolean guiOpen, boolean filteringCraftable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahf;<init>(Lcps;ZZ)V
      intermediary <init> Lnet/minecraft/class_5427;<init>(Lnet/minecraft/class_5421;ZZ)V
      named <init> Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;<init>(Lnet/minecraft/recipe/book/RecipeBookCategory;ZZ)V
    • RecipeCategoryOptionsC2SPacket

      private RecipeCategoryOptionsC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahf;<init>(Lvu;)V
      intermediary <init> Lnet/minecraft/class_5427;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      private void write(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Lahf;a(Lvu;)V
      intermediary method_55991 Lnet/minecraft/class_5427;method_55991(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
    • getPacketId

      Specified by:
      getPacketId in interface Packet<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

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lahf;a(Lafz;)V
      intermediary method_30304 Lnet/minecraft/class_5427;method_30304(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getCategory

      public RecipeBookCategory getCategory()
      Mappings:
      Namespace Name Mixin selector
      official b Lahf;b()Lcps;
      intermediary method_30305 Lnet/minecraft/class_5427;method_30305()Lnet/minecraft/class_5421;
      named getCategory Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;getCategory()Lnet/minecraft/recipe/book/RecipeBookCategory;
    • isGuiOpen

      public boolean isGuiOpen()
      Mappings:
      Namespace Name Mixin selector
      official e Lahf;e()Z
      intermediary method_30306 Lnet/minecraft/class_5427;method_30306()Z
      named isGuiOpen Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;isGuiOpen()Z
    • isFilteringCraftable

      public boolean isFilteringCraftable()
      Mappings:
      Namespace Name Mixin selector
      official f Lahf;f()Z
      intermediary method_30307 Lnet/minecraft/class_5427;method_30307()Z
      named isFilteringCraftable Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;isFilteringCraftable()Z