Package net.minecraft.item.crafting
Class ServerRecipeBook
java.lang.Object
net.minecraft.item.crafting.RecipeBook
net.minecraft.item.crafting.ServerRecipeBook
-
Field Summary
Fields inherited from class net.minecraft.item.crafting.RecipeBook
highlight, known
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
addRecipes
(Collection<IRecipe<?>> p_197926_1_, ServerPlayerEntity p_197926_2_) void
fromNbt
(CompoundNBT p_192825_1_, RecipeManager p_192825_2_) private void
loadRecipes
(ListNBT p_223417_1_, Consumer<IRecipe<?>> p_223417_2_, RecipeManager p_223417_3_) int
removeRecipes
(Collection<IRecipe<?>> p_197925_1_, ServerPlayerEntity p_197925_2_) void
sendInitialRecipeBook
(ServerPlayerEntity p_192826_1_) private void
sendRecipes
(SRecipeBookPacket.State p_194081_1_, ServerPlayerEntity p_194081_2_, List<ResourceLocation> p_194081_3_) toNbt()
Methods inherited from class net.minecraft.item.crafting.RecipeBook
add, add, addHighlight, addHighlight, contains, contains, copyOverData, getBookSettings, isFiltering, isFiltering, isOpen, remove, remove, removeHighlight, setBookSetting, setBookSettings, setFiltering, setOpen, willHighlight
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
ServerRecipeBook
public ServerRecipeBook()
-
-
Method Details
-
addRecipes
-
removeRecipes
-
sendRecipes
private void sendRecipes(SRecipeBookPacket.State p_194081_1_, ServerPlayerEntity p_194081_2_, List<ResourceLocation> p_194081_3_) -
toNbt
-
fromNbt
-
loadRecipes
private void loadRecipes(ListNBT p_223417_1_, Consumer<IRecipe<?>> p_223417_2_, RecipeManager p_223417_3_) -
sendInitialRecipeBook
-