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
named net/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket
intermediary net/minecraft/class_5427
official aid
  • Field Details

    • CODEC

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

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

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

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

    • RecipeCategoryOptionsC2SPacket

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

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

    • write

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

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

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

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

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

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