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 tu
intermediary net/minecraft/class_5427
named net/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private RecipeBookCategory
category
private boolean
filteringCraftable
private boolean
guiOpen
-
Constructor Summary
Constructors Constructor Description RecipeCategoryOptionsC2SPacket()
RecipeCategoryOptionsC2SPacket(RecipeBookCategory category, boolean guiOpen, boolean filteringCraftable)
-
Method Summary
Modifier and Type Method Description void
apply(ServerPlayPacketListener serverPlayPacketListener)
RecipeBookCategory
getCategory()
boolean
isFilteringCraftable()
boolean
isGuiOpen()
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
-
category
- Mappings:
Namespace Name Mixin selector official a
Ltu;a:Lbla;
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 boolean guiOpen- Mappings:
Namespace Name Mixin selector official b
Ltu;b:Z
intermediary field_25799
Lnet/minecraft/class_5427;field_25799:Z
named guiOpen
Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;guiOpen:Z
-
filteringCraftable
private boolean filteringCraftable- Mappings:
Namespace Name Mixin selector official c
Ltu;c: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() -
RecipeCategoryOptionsC2SPacket
@Environment(CLIENT) public RecipeCategoryOptionsC2SPacket(RecipeBookCategory category, boolean guiOpen, boolean filteringCraftable)- Mappings:
Namespace Name Mixin selector official <init>
Ltu;<init>(Lbla;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
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ServerPlayPacketListener>
- 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<ServerPlayPacketListener>
- 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<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Ltu;a(Lss;)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
- Mappings:
Namespace Name Mixin selector official b
Ltu;b()Lbla;
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 c
Ltu;c()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 d
Ltu;d()Z
intermediary method_30307
Lnet/minecraft/class_5427;method_30307()Z
named isFilteringCraftable
Lnet/minecraft/network/packet/c2s/play/RecipeCategoryOptionsC2SPacket;isFilteringCraftable()Z
-