Package net.minecraft.stats
Class ServerRecipeBook
java.lang.Object
net.minecraft.stats.RecipeBook
net.minecraft.stats.ServerRecipeBook
-
Field Summary
Fields inherited from class net.minecraft.stats.RecipeBook
highlight, known
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
addRecipes(Collection<Recipe<?>> p_12792_, ServerPlayer p_12793_)
void
fromNbt(CompoundTag p_12795_, RecipeManager p_12796_)
private void
loadRecipes(ListTag p_12798_, Consumer<Recipe<?>> p_12799_, RecipeManager p_12800_)
int
removeRecipes(Collection<Recipe<?>> p_12807_, ServerPlayer p_12808_)
void
sendInitialRecipeBook(ServerPlayer p_12790_)
private void
sendRecipes(ClientboundRecipePacket.State p_12802_, ServerPlayer p_12803_, List<ResourceLocation> p_12804_)
toNbt()
Methods inherited from class net.minecraft.stats.RecipeBook
add, add, addHighlight, addHighlight, contains, contains, copyOverData, getBookSettings, isFiltering, isFiltering, isOpen, remove, remove, removeHighlight, setBookSetting, setBookSettings, setFiltering, setOpen, willHighlight
-
Field Details
-
RECIPE_BOOK_TAG
- See Also:
- Constant Field Values
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
ServerRecipeBook
public ServerRecipeBook()
-
-
Method Details
-
addRecipes
-
removeRecipes
-
sendRecipes
private void sendRecipes(ClientboundRecipePacket.State p_12802_, ServerPlayer p_12803_, List<ResourceLocation> p_12804_) -
toNbt
-
fromNbt
-
loadRecipes
-
sendInitialRecipeBook
-