From c5aa7a39d31138b3e1510dd0ed59317d5f196649 Mon Sep 17 00:00:00 2001 From: radiomike Date: Fri, 31 Mar 2023 18:27:36 +0100 Subject: [PATCH] Sugar cane tweaks see #55 --- .../recipes/alchemytable/reagent_growth.json | 23 ++++++++++++++++ kubejs/server_scripts/item_tags.js | 26 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 kubejs/data/bloodmagic/recipes/alchemytable/reagent_growth.json diff --git a/kubejs/data/bloodmagic/recipes/alchemytable/reagent_growth.json b/kubejs/data/bloodmagic/recipes/alchemytable/reagent_growth.json new file mode 100644 index 0000000..8ab1f4a --- /dev/null +++ b/kubejs/data/bloodmagic/recipes/alchemytable/reagent_growth.json @@ -0,0 +1,23 @@ +{ + "type": "bloodmagic:alchemytable", + "input": [ + { + "tag": "forge:saplings" + }, + { + "tag": "forge:saplings" + }, + { + "item": "tfc:food/sugarcane" + }, + { + "item": "minecraft:sugar" + } + ], + "output": { + "item": "bloodmagic:reagentgrowth" + }, + "syphon": 2000, + "ticks": 200, + "upgradeLevel": 2 +} \ No newline at end of file diff --git a/kubejs/server_scripts/item_tags.js b/kubejs/server_scripts/item_tags.js index 55b539b..657b566 100644 --- a/kubejs/server_scripts/item_tags.js +++ b/kubejs/server_scripts/item_tags.js @@ -54,6 +54,32 @@ onEvent('item.tags', e => { e.add('forge:berries', [`tfc:food/${berry}`]) }) + let saplings =[ + "acacia", + "ash", + "aspen", + "birch", + "blackwood", + "chestnut", + "douglas_fir", + "hickory", + "kapok", + "maple", + "oak", + "palm", + "pine", + "rosewood", + "sequoia", + "spruce", + "sycamore", + "white_cedar", + "willow" + ] + + saplings.forEach(sapling => { + e.add('forge:saplings', [`tfc:wood/sapling/${sapling}`]) + }) + e.removeAll('tombstone:seeds') let seeds =[ "carrot",