From 493d96e2ead1013b2585e4953433364aa0a79aff Mon Sep 17 00:00:00 2001 From: Hubry Date: Mon, 13 Jan 2020 15:33:28 +0100 Subject: [PATCH] Add stonecutting recipes for azulejos, closes #3139 --- .../recipes/stonecutting/azulejo_0.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_1.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_10.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_11.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_12.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_13.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_14.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_15.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_2.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_3.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_4.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_5.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_6.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_7.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_8.json | 52 +++++++++++++++++++ .../recipes/stonecutting/azulejo_9.json | 52 +++++++++++++++++++ .../botania/data/StonecuttingProvider.java | 16 ++++++ .../resources/assets/botania/lang/en_us.json | 2 +- 18 files changed, 849 insertions(+), 1 deletion(-) create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_0.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_1.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_10.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_11.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_12.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_13.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_14.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_15.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_2.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_3.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_4.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_5.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_6.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_7.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_8.json create mode 100644 src/generated/resources/data/botania/recipes/stonecutting/azulejo_9.json diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_0.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_0.json new file mode 100644 index 000000000..133399309 --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_0.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_0", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_1.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_1.json new file mode 100644 index 000000000..30277522b --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_1.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_1", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_10.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_10.json new file mode 100644 index 000000000..261e528ac --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_10.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_10", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_11.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_11.json new file mode 100644 index 000000000..b1c144f78 --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_11.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_11", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_12.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_12.json new file mode 100644 index 000000000..6a0ef506c --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_12.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_12", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_13.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_13.json new file mode 100644 index 000000000..95a999b4b --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_13.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_13", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_14.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_14.json new file mode 100644 index 000000000..852843436 --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_14.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_14", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_15.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_15.json new file mode 100644 index 000000000..803637649 --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_15.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + } + ], + "result": "botania:azulejo_15", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_2.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_2.json new file mode 100644 index 000000000..876dbc485 --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_2.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_2", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_3.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_3.json new file mode 100644 index 000000000..7a525070a --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_3.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_3", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_4.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_4.json new file mode 100644 index 000000000..b421f6071 --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_4.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_4", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_5.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_5.json new file mode 100644 index 000000000..c67ba2695 --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_5.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_5", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_6.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_6.json new file mode 100644 index 000000000..7d13ea1da --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_6.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_6", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_7.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_7.json new file mode 100644 index 000000000..66c592dc9 --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_7.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_7", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_8.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_8.json new file mode 100644 index 000000000..5cabea8da --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_8.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_9" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_8", + "count": 1 +} \ No newline at end of file diff --git a/src/generated/resources/data/botania/recipes/stonecutting/azulejo_9.json b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_9.json new file mode 100644 index 000000000..3a721785b --- /dev/null +++ b/src/generated/resources/data/botania/recipes/stonecutting/azulejo_9.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:stonecutting", + "ingredient": [ + { + "item": "botania:azulejo_0" + }, + { + "item": "botania:azulejo_1" + }, + { + "item": "botania:azulejo_2" + }, + { + "item": "botania:azulejo_3" + }, + { + "item": "botania:azulejo_4" + }, + { + "item": "botania:azulejo_5" + }, + { + "item": "botania:azulejo_6" + }, + { + "item": "botania:azulejo_7" + }, + { + "item": "botania:azulejo_8" + }, + { + "item": "botania:azulejo_10" + }, + { + "item": "botania:azulejo_11" + }, + { + "item": "botania:azulejo_12" + }, + { + "item": "botania:azulejo_13" + }, + { + "item": "botania:azulejo_14" + }, + { + "item": "botania:azulejo_15" + } + ], + "result": "botania:azulejo_9", + "count": 1 +} \ No newline at end of file diff --git a/src/main/java/vazkii/botania/data/StonecuttingProvider.java b/src/main/java/vazkii/botania/data/StonecuttingProvider.java index 482ee66b9..a35616225 100644 --- a/src/main/java/vazkii/botania/data/StonecuttingProvider.java +++ b/src/main/java/vazkii/botania/data/StonecuttingProvider.java @@ -15,10 +15,14 @@ import net.minecraftforge.registries.ForgeRegistries; import vazkii.botania.common.block.ModBlocks; import vazkii.botania.common.block.ModFluffBlocks; import vazkii.botania.common.lib.LibBlockNames; +import vazkii.botania.common.lib.ResourceLocationHelper; import javax.annotation.Nonnull; import javax.annotation.Nullable; +import java.util.List; import java.util.function.Consumer; +import java.util.stream.Collectors; +import java.util.stream.IntStream; import static vazkii.botania.common.lib.ResourceLocationHelper.prefix; @@ -53,6 +57,13 @@ public class StonecuttingProvider extends RecipeProvider { consumer.accept(stonecutting(ModBlocks.livingrockBrick, ModFluffBlocks.livingrockBrickSlab, 2)); consumer.accept(stonecutting(ModBlocks.livingrockBrick, ModFluffBlocks.livingrockBrickStairs)); consumer.accept(stonecutting(ModBlocks.livingrockBrick, ModBlocks.livingrockBrickChiseled)); + + List allAzulejos = IntStream.range(0, 16).mapToObj(i -> "azulejo_" + i) + .map(ResourceLocationHelper::prefix) + .map(ForgeRegistries.ITEMS::getValue).collect(Collectors.toList()); + for (Item azulejo : allAzulejos) { + consumer.accept(azulejoStonecutting(allAzulejos, azulejo)); + } } private static void registerForQuartz(String variant, Consumer consumer) { @@ -122,6 +133,11 @@ public class StonecuttingProvider extends RecipeProvider { return new Result(idFor(input, output), IRecipeSerializer.STONECUTTING, Ingredient.fromItems(input), output.asItem(), count); } + private static IFinishedRecipe azulejoStonecutting(List inputs, IItemProvider output) { + Ingredient input = Ingredient.fromItems(inputs.stream().filter(obj -> output != obj).toArray(IItemProvider[]::new)); + return new Result(prefix("stonecutting/" + output.asItem().getRegistryName().getPath()), IRecipeSerializer.STONECUTTING, input, output.asItem(), 1); + } + // Wrapper without advancements public static class Result extends SingleItemRecipeBuilder.Result { public Result(ResourceLocation id, IRecipeSerializer serializer, Ingredient input, Item result, int count) { diff --git a/src/main/resources/assets/botania/lang/en_us.json b/src/main/resources/assets/botania/lang/en_us.json index 6ff3a83cd..07a71d2d3 100644 --- a/src/main/resources/assets/botania/lang/en_us.json +++ b/src/main/resources/assets/botania/lang/en_us.json @@ -3267,7 +3267,7 @@ "botania.entry.azulejo": "Azulejos", "botania.tagline.azulejo": "Blue-and-white decorative tiles", - "botania.page.azulejo0": "$(item)Azulejos$(0) are decorative blocks, textured with tileable patterns of blue and white, crafted simply from a piece of $(item)Lapis Lazuli$(0) and a $(item)Block of Quartz$(0).$(p)The sixteen different designs can be cycled through on a crafting grid.", + "botania.page.azulejo0": "$(item)Azulejos$(0) are decorative blocks, textured with tileable patterns of blue and white, crafted simply from a piece of $(item)Lapis Lazuli$(0) and a $(item)Block of Quartz$(0).$(p)The sixteen different designs can be cycled through on a crafting grid or freely exchanged between in a stonecutter.", "botania.page.azulejo1": "The various patterns", "botania.page.azulejo2": "Crafting $(item)Azulejos$(0)", "botania.page.azulejo3": "Cycling through the patterns",