-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9cf1f53
commit 5a1ece4
Showing
42 changed files
with
143 additions
and
39 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...ce_nbt_recipes/functions/v1.0/advancements/check_for_furnaces/try_place_marker.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
|
||
execute align xyz positioned ~0.5 ~ ~0.5 unless entity @e[type=marker,distance=..0.9,tag=furnace_nbt_recipes.furnace,limit=1] run summon marker ~ ~ ~ {Tags:["furnace_nbt_recipes.furnace"]} | ||
execute align xyz positioned ~.5 ~ ~.5 unless entity @e[type=marker,dx=-1,dy=-1,dz=-1,tag=furnace_nbt_recipes.furnace] run summon marker ~ ~ ~ {Tags:["furnace_nbt_recipes.furnace"]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ata/furnace_nbt_recipes/functions/v1.0/nbt_smelting_compatibility/call_recipes.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
#define storage nbt_smelting:io | ||
data modify storage nbt_smelting:io item set from storage furnace_nbt_recipes:main input | ||
|
||
execute if score #type furnace_nbt_recipes.data matches 0 run function #nbt_smelting:v1/furnace | ||
execute if score #type furnace_nbt_recipes.data matches 1 run function #nbt_smelting:v1/blast_furnace | ||
execute if score #type furnace_nbt_recipes.data matches 2 run function #nbt_smelting:v1/smoker | ||
|
||
item replace block ~ ~ ~ container.3 from block ~ ~ ~ container.2 | ||
execute if data block ~ ~ ~ Items[{Slot:2b}] run scoreboard players set #found furnace_nbt_recipes.data 1 | ||
data remove storage nbt_smelting:io item |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
Datapack/data/furnace_nbt_recipes/functions/v1.0/technical/tick.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
execute unless block ~ ~ ~ #furnace_nbt_recipes:furnaces run kill @s | ||
data modify storage furnace_nbt_recipes:main furnace set from block ~ ~ ~ | ||
execute if data storage furnace_nbt_recipes:main furnace.Items[{Slot:0b}] run function furnace_nbt_recipes:v1.0/technical/main | ||
scoreboard players set #destroy furnace_nbt_recipes.data 0 | ||
execute store result score #destroy furnace_nbt_recipes.data unless block ~ ~ ~ #furnace_nbt_recipes:furnaces run kill @s | ||
execute if score #destroy furnace_nbt_recipes.data matches 0 unless data block ~ ~ ~ {CookTime:0s} run function furnace_nbt_recipes:v1.0/technical/main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
Datapack/data/furnace_nbt_recipes/recipes/blasting/struc___struc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"type": "minecraft:blasting", | ||
"ingredient": { | ||
"item": "minecraft:structure_block" | ||
}, | ||
"result": "minecraft:structure_block", | ||
"experience": 1.0, | ||
"cookingtime": 100 | ||
} |
9 changes: 9 additions & 0 deletions
9
Datapack/data/furnace_nbt_recipes/recipes/smelting/struc___struc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"type": "minecraft:smelting", | ||
"ingredient": { | ||
"item": "minecraft:structure_block" | ||
}, | ||
"result": "minecraft:structure_block", | ||
"experience": 1.0, | ||
"cookingtime": 200 | ||
} |
File renamed without changes.
Oops, something went wrong.