Package net.minecraft.item.crafting
Class ServerRecipeBook
- java.lang.Object
-
- net.minecraft.item.crafting.RecipeBook
-
- net.minecraft.item.crafting.ServerRecipeBook
-
public class ServerRecipeBook extends RecipeBook
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
LOGGER
-
Fields inherited from class net.minecraft.item.crafting.RecipeBook
highlight, known
-
-
Constructor Summary
Constructors Constructor Description ServerRecipeBook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
addRecipes(java.util.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_, java.util.function.Consumer<IRecipe<?>> p_223417_2_, RecipeManager p_223417_3_)
int
removeRecipes(java.util.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_, java.util.List<ResourceLocation> p_194081_3_)
CompoundNBT
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
-
-
-
-
Method Detail
-
addRecipes
public int addRecipes(java.util.Collection<IRecipe<?>> p_197926_1_, ServerPlayerEntity p_197926_2_)
-
removeRecipes
public int removeRecipes(java.util.Collection<IRecipe<?>> p_197925_1_, ServerPlayerEntity p_197925_2_)
-
sendRecipes
private void sendRecipes(SRecipeBookPacket.State p_194081_1_, ServerPlayerEntity p_194081_2_, java.util.List<ResourceLocation> p_194081_3_)
-
toNbt
public CompoundNBT toNbt()
-
fromNbt
public void fromNbt(CompoundNBT p_192825_1_, RecipeManager p_192825_2_)
-
loadRecipes
private void loadRecipes(ListNBT p_223417_1_, java.util.function.Consumer<IRecipe<?>> p_223417_2_, RecipeManager p_223417_3_)
-
sendInitialRecipeBook
public void sendInitialRecipeBook(ServerPlayerEntity p_192826_1_)
-
-