Skip to content

Commit

Permalink
Enable the option "Show In Vanilla Recipe Book" by default
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfyScript committed Mar 6, 2022
1 parent a7ae114 commit d4f0790
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 d4f0790

Please sign in to comment.