Class SRecipeBookPacket
java.lang.Object
net.minecraft.network.play.server.SRecipeBookPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RecipeBookStatusprivate List<ResourceLocation>private SRecipeBookPacket.Stateprivate List<ResourceLocation> -
Constructor Summary
ConstructorsConstructorDescriptionSRecipeBookPacket(SRecipeBookPacket.State p_i242083_1_, Collection<ResourceLocation> p_i242083_2_, Collection<ResourceLocation> p_i242083_3_, RecipeBookStatus p_i242083_4_) -
Method Summary
Modifier and TypeMethodDescriptiongetState()voidhandle(IClientPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
state
-
recipes
-
toHighlight
-
bookSettings
-
-
Constructor Details
-
SRecipeBookPacket
public SRecipeBookPacket() -
SRecipeBookPacket
public SRecipeBookPacket(SRecipeBookPacket.State p_i242083_1_, Collection<ResourceLocation> p_i242083_2_, Collection<ResourceLocation> p_i242083_3_, RecipeBookStatus p_i242083_4_)
-
-
Method Details
-
handle
- Specified by:
handlein interfaceIPacket<IClientPlayNetHandler>
-
read
- Specified by:
readin interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
getRecipes
-
getHighlights
-
getBookSettings
-
getState
-