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 agfintermediary net/minecraft/class_5427named net/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecipeBookCategorystatic final PacketCodec<PacketByteBuf, RecipeCategoryOptionsC2SPacket> private final booleanprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRecipeCategoryOptionsC2SPacket(RecipeBookCategory category, boolean guiOpen, boolean filteringCraftable) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(ServerPlayPacketListener serverPlayPacketListener) booleanbooleanprivate voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLagf;a:Lxs;intermediary field_48210Lnet/minecraft/class_5427;field_48210:Lnet/minecraft/class_9139;named CODECLnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
-
category
- Mappings:
Namespace Name Mixin selector official bLagf;b:Lcnc;intermediary field_25798Lnet/minecraft/class_5427;field_25798:Lnet/minecraft/class_5421;named categoryLnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;category:Lnet/minecraft/recipe/book/RecipeBookCategory;
-
guiOpen
private final boolean guiOpen- Mappings:
Namespace Name Mixin selector official cLagf;c:Zintermediary field_25799Lnet/minecraft/class_5427;field_25799:Znamed guiOpenLnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;guiOpen:Z
-
filteringCraftable
private final boolean filteringCraftable- Mappings:
Namespace Name Mixin selector official dLagf;d:Zintermediary field_25800Lnet/minecraft/class_5427;field_25800:Znamed filteringCraftableLnet/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>Lagf;<init>(Lcnc;ZZ)Vintermediary <init>Lnet/minecraft/class_5427;<init>(Lnet/minecraft/class_5421;ZZ)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;<init>(Lnet/minecraft/recipe/book/RecipeBookCategory;ZZ)V
-
RecipeCategoryOptionsC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lagf;<init>(Luu;)Vintermediary <init>Lnet/minecraft/class_5427;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector official aLagf;a(Luu;)Vintermediary method_55991Lnet/minecraft/class_5427;method_55991(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
-
getPacketId
- Specified by:
getPacketIdin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLyb;a()Lyd;intermediary method_55846Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;named getPacketIdLnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLagf;a(Laez;)Vintermediary method_30304Lnet/minecraft/class_5427;method_30304(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getCategory
- Mappings:
Namespace Name Mixin selector official bLagf;b()Lcnc;intermediary method_30305Lnet/minecraft/class_5427;method_30305()Lnet/minecraft/class_5421;named getCategoryLnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;getCategory()Lnet/minecraft/recipe/book/RecipeBookCategory;
-
isGuiOpen
public boolean isGuiOpen()- Mappings:
Namespace Name Mixin selector official eLagf;e()Zintermediary method_30306Lnet/minecraft/class_5427;method_30306()Znamed isGuiOpenLnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;isGuiOpen()Z
-
isFilteringCraftable
public boolean isFilteringCraftable()- Mappings:
Namespace Name Mixin selector official fLagf;f()Zintermediary method_30307Lnet/minecraft/class_5427;method_30307()Znamed isFilteringCraftableLnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;isFilteringCraftable()Z
-