public class ServerRecipeBook extends RecipeBook
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
private RecipeManager |
recipeManager |
field_216763_g, field_216764_h, field_216765_i, field_216766_j, isFilteringCraftable, isFurnaceFilteringCraftable, isFurnaceGuiOpen, isGuiOpen, newRecipes, recipes
Constructor and Description |
---|
ServerRecipeBook(RecipeManager p_i48175_1_) |
Modifier and Type | Method and Description |
---|---|
int |
add(java.util.Collection<IRecipe<?>> p_197926_1_,
ServerPlayerEntity p_197926_2_) |
private void |
func_223417_a(ListNBT p_223417_1_,
java.util.function.Consumer<IRecipe<?>> p_223417_2_) |
void |
init(ServerPlayerEntity player) |
void |
read(CompoundNBT tag) |
int |
remove(java.util.Collection<IRecipe<?>> p_197925_1_,
ServerPlayerEntity p_197925_2_) |
private void |
sendPacket(SRecipeBookPacket.State state,
ServerPlayerEntity player,
java.util.List<ResourceLocation> recipesIn) |
CompoundNBT |
write() |
copyFrom, func_216755_e, func_216756_f, func_216757_g, func_216758_e, func_216759_g, func_216760_h, func_216761_f, func_216762_h, func_226144_b_, isFilteringCraftable, isFilteringCraftable, isFurnaceFilteringCraftable, isFurnaceGuiOpen, isGuiOpen, isNew, isUnlocked, lock, lock, markNew, markNew, markSeen, setFilteringCraftable, setFurnaceFilteringCraftable, setFurnaceGuiOpen, setGuiOpen, unlock, unlock
private static final org.apache.logging.log4j.Logger LOGGER
private final RecipeManager recipeManager
public ServerRecipeBook(RecipeManager p_i48175_1_)
public int add(java.util.Collection<IRecipe<?>> p_197926_1_, ServerPlayerEntity p_197926_2_)
public int remove(java.util.Collection<IRecipe<?>> p_197925_1_, ServerPlayerEntity p_197925_2_)
private void sendPacket(SRecipeBookPacket.State state, ServerPlayerEntity player, java.util.List<ResourceLocation> recipesIn)
public CompoundNBT write()
public void read(CompoundNBT tag)
private void func_223417_a(ListNBT p_223417_1_, java.util.function.Consumer<IRecipe<?>> p_223417_2_)
public void init(ServerPlayerEntity player)