Skip to content

Commit

Permalink
Merge pull request #83
Browse files Browse the repository at this point in the history
Enable the option "Show In Vanilla Recipe Book" by default
  • Loading branch information
WolfyScript authored Mar 6, 2022
2 parents a7ae114 + d4f0790 commit 641cf0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected RecipeCache() {
this.key = null;
this.checkNBT = true;
this.hidden = false;
this.vanillaBook = false;
this.vanillaBook = true;
this.priority = RecipePriority.NORMAL;
this.conditions = new Conditions();
this.group = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected CustomRecipe(NamespacedKey namespacedKey, JsonNode node) {
if (this.conditions == null) {
this.conditions = new Conditions();
}
this.vanillaBook = node.path(KEY_VANILLA_BOOK).asBoolean(false);
this.vanillaBook = node.path(KEY_VANILLA_BOOK).asBoolean(true);
this.hidden = node.path(KEY_HIDDEN).asBoolean(false);
//Sets the result of the recipe if one exists in the config
if (node.has(KEY_RESULT) && !(this instanceof CustomRecipeStonecutter)) {
Expand All @@ -139,7 +139,7 @@ protected CustomRecipe(NamespacedKey key, RecipeType<C> type) {
this.group = "";
this.priority = RecipePriority.NORMAL;
this.checkNBT = true;
this.vanillaBook = false;
this.vanillaBook = true;
this.conditions = new Conditions();
this.hidden = false;
}
Expand Down

0 comments on commit 641cf0c

Please sign in to comment.