From 4e797020d72cdf2a41eda32612cfcd61da6cf815 Mon Sep 17 00:00:00 2001 From: gnembon Date: Sun, 14 Jun 2020 01:47:15 -0300 Subject: [PATCH 1/2] added smithing to the docs --- docs/scarpet/Full.md | 1 + docs/scarpet/api/Inventories.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/scarpet/Full.md b/docs/scarpet/Full.md index 133ef35e..d818056e 100644 --- a/docs/scarpet/Full.md +++ b/docs/scarpet/Full.md @@ -2953,6 +2953,7 @@ Recipe type can take one of the following options: * `'smoking'` - smoker recipe * `'campfire_cooking'` - campfire recipe * `'stonecutting'` - stonecutter recipe + * `'smithing'` - smithing table (1.16+) The return value is a list of available recipes (even if there is only one recipe available). Each recipe contains of an item triple of the crafting result, list of ingredients, each containing a list of possible variants of the diff --git a/docs/scarpet/api/Inventories.md b/docs/scarpet/api/Inventories.md index fcc1fd53..52ad8340 100644 --- a/docs/scarpet/api/Inventories.md +++ b/docs/scarpet/api/Inventories.md @@ -51,6 +51,7 @@ Recipe type can take one of the following options: * `'smoking'` - smoker recipe * `'campfire_cooking'` - campfire recipe * `'stonecutting'` - stonecutter recipe + * `'smithing'` - smithing table (1.16+) The return value is a list of available recipes (even if there is only one recipe available). Each recipe contains of an item triple of the crafting result, list of ingredients, each containing a list of possible variants of the From ff1226bac3d2f14f315b5b5a11f68e32882e282a Mon Sep 17 00:00:00 2001 From: gnembon Date: Sun, 14 Jun 2020 01:50:02 -0300 Subject: [PATCH 2/2] cleaned debug infos --- src/main/java/carpet/script/CarpetExpression.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/carpet/script/CarpetExpression.java b/src/main/java/carpet/script/CarpetExpression.java index 7489ab81..a0d63d6a 100644 --- a/src/main/java/carpet/script/CarpetExpression.java +++ b/src/main/java/carpet/script/CarpetExpression.java @@ -1515,7 +1515,6 @@ public class CarpetExpression { ItemStack result = recipe.getOutput(); List ingredientValue = new ArrayList<>(); - CarpetSettings.LOG.error("input size: "+recipe.getPreviewInputs().size()); recipe.getPreviewInputs().forEach( ingredient -> {