diff --git a/Data_Pack/data/roguecraft/functions/init_player.mcfunction b/Data_Pack/data/roguecraft/functions/init_player.mcfunction index 282b132..b58fb1a 100644 --- a/Data_Pack/data/roguecraft/functions/init_player.mcfunction +++ b/Data_Pack/data/roguecraft/functions/init_player.mcfunction @@ -137,7 +137,6 @@ gamemode adventure @s recipe give @s roguecraft:skillpoint_1 recipe give @s roguecraft:skillpoint_2 recipe give @s roguecraft:skillpoint_3 -recipe give @s minecraft:blast_furnace function roguecraft:infinite_garden/hub/ender_chest/reset function roguecraft:infinite_garden/hub/check_inventory \ No newline at end of file diff --git a/Data_Pack/data/roguecraft/functions/tick/main.mcfunction b/Data_Pack/data/roguecraft/functions/tick/main.mcfunction index c842577..a9fda1d 100644 --- a/Data_Pack/data/roguecraft/functions/tick/main.mcfunction +++ b/Data_Pack/data/roguecraft/functions/tick/main.mcfunction @@ -20,4 +20,13 @@ execute if data storage roguecraft:master {run_active:0} run function roguecraft execute if data storage roguecraft:master {run_active:1} if entity @a[tag=garden] run function roguecraft:tick/hub_and_infinite_garden execute if data storage roguecraft:master {run_active:1} run function roguecraft:tick/true_run execute if entity @a[gamemode=!adventure] run function roguecraft:tick/run -execute if entity @a[tag=victory] run function roguecraft:tick/final \ No newline at end of file +execute if entity @a[tag=victory] run function roguecraft:tick/final + +#custom recipes +execute as @a[nbt={Inventory:[{id:"minecraft:raw_copper_block"}]}] run recipe give @s roguecraft:copper_block_from_blasting_raw_copper_block +execute as @a[nbt={Inventory:[{id:"minecraft:raw_copper_block"}]}] run recipe give @s roguecraft:copper_block_from_smelting_raw_copper_block +execute as @a[nbt={Inventory:[{id:"minecraft:raw_gold_block"}]}] run recipe give @s roguecraft:gold_block_from_blasting_raw_gold_block +execute as @a[nbt={Inventory:[{id:"minecraft:raw_gold_block"}]}] run recipe give @s roguecraft:gold_block_from_smelting_raw_gold_block +execute as @a[nbt={Inventory:[{id:"minecraft:raw_iron_block"}]}] run recipe give @s roguecraft:iron_block_from_blasting_raw_iron_block +execute as @a[nbt={Inventory:[{id:"minecraft:raw_iron_block"}]}] run recipe give @s roguecraft:iron_block_from_smelting_raw_iron_block +execute as @a[nbt={Inventory:[{id:"minecraft:furnace"}]}] run recipe give @s minecraft:blast_furnace \ No newline at end of file diff --git a/Data_Pack/data/roguecraft/recipes/copper_block_from_blasting_raw_copper_block.json b/Data_Pack/data/roguecraft/recipes/copper_block_from_blasting_raw_copper_block.json new file mode 100644 index 0000000..526b634 --- /dev/null +++ b/Data_Pack/data/roguecraft/recipes/copper_block_from_blasting_raw_copper_block.json @@ -0,0 +1,10 @@ +{ + "type": "minecraft:blasting", + "cookingtime": 225, + "experience": 8.1, + "group": "copper_block", + "ingredient": { + "item": "minecraft:raw_copper_block" + }, + "result": "minecraft:copper_block" +} \ No newline at end of file diff --git a/Data_Pack/data/roguecraft/recipes/copper_block_from_smelting_raw_copper_block.json b/Data_Pack/data/roguecraft/recipes/copper_block_from_smelting_raw_copper_block.json new file mode 100644 index 0000000..9dd6852 --- /dev/null +++ b/Data_Pack/data/roguecraft/recipes/copper_block_from_smelting_raw_copper_block.json @@ -0,0 +1,10 @@ +{ + "type": "minecraft:smelting", + "cookingtime": 900, + "experience": 8.1, + "group": "copper_block", + "ingredient": { + "item": "minecraft:raw_copper_block" + }, + "result": "minecraft:copper_block" +} \ No newline at end of file diff --git a/Data_Pack/data/roguecraft/recipes/gold_block_from_blasting_raw_gold_block.json b/Data_Pack/data/roguecraft/recipes/gold_block_from_blasting_raw_gold_block.json new file mode 100644 index 0000000..7e69035 --- /dev/null +++ b/Data_Pack/data/roguecraft/recipes/gold_block_from_blasting_raw_gold_block.json @@ -0,0 +1,10 @@ +{ + "type": "minecraft:blasting", + "cookingtime": 225, + "experience": 9.0, + "group": "gold_block", + "ingredient": { + "item": "minecraft:raw_gold_block" + }, + "result": "minecraft:gold_block" +} \ No newline at end of file diff --git a/Data_Pack/data/roguecraft/recipes/gold_block_from_smelting_raw_gold_block.json b/Data_Pack/data/roguecraft/recipes/gold_block_from_smelting_raw_gold_block.json new file mode 100644 index 0000000..77934f0 --- /dev/null +++ b/Data_Pack/data/roguecraft/recipes/gold_block_from_smelting_raw_gold_block.json @@ -0,0 +1,10 @@ +{ + "type": "minecraft:smelting", + "cookingtime": 900, + "experience": 9.0, + "group": "gold_block", + "ingredient": { + "item": "minecraft:raw_gold_block" + }, + "result": "minecraft:gold_block" +} \ No newline at end of file diff --git a/Data_Pack/data/roguecraft/recipes/iron_block_from_blasting_raw_iron_block.json b/Data_Pack/data/roguecraft/recipes/iron_block_from_blasting_raw_iron_block.json new file mode 100644 index 0000000..4c4664c --- /dev/null +++ b/Data_Pack/data/roguecraft/recipes/iron_block_from_blasting_raw_iron_block.json @@ -0,0 +1,10 @@ +{ + "type": "minecraft:blasting", + "cookingtime": 225, + "experience": 8.1, + "group": "iron_block", + "ingredient": { + "item": "minecraft:raw_iron_block" + }, + "result": "minecraft:iron_block" +} \ No newline at end of file diff --git a/Data_Pack/data/roguecraft/recipes/iron_block_from_smelting_raw_iron_block.json b/Data_Pack/data/roguecraft/recipes/iron_block_from_smelting_raw_iron_block.json new file mode 100644 index 0000000..42fa60b --- /dev/null +++ b/Data_Pack/data/roguecraft/recipes/iron_block_from_smelting_raw_iron_block.json @@ -0,0 +1,10 @@ +{ + "type": "minecraft:smelting", + "cookingtime": 900, + "experience": 8.1, + "group": "iron_block", + "ingredient": { + "item": "minecraft:raw_iron_block" + }, + "result": "minecraft:iron_block" +} \ No newline at end of file