-
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
d19c2f6
commit 2eff207
Showing
12 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
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
2 changes: 2 additions & 0 deletions
2
data/cauldron_de-slated_cobble/functions/check_for_items_in_filled_cauldrons.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,2 @@ | ||
schedule function cauldron_de-slated_cobble:check_for_items_in_filled_cauldrons 1s | ||
execute as @e[type=minecraft:item] at @s if block ~ ~ ~ #minecraft:cauldrons unless block ~ ~ ~ minecraft:cauldron run function cauldron_de-slated_cobble:check_item |
4 changes: 4 additions & 0 deletions
4
data/cauldron_de-slated_cobble/functions/check_item.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,4 @@ | ||
tag @s add cauDec.subject | ||
data modify entity a093751a-2c77-4658-9d5f-62ab4494bdaf HandItems[0] set from entity @s Item | ||
execute as a093751a-2c77-4658-9d5f-62ab4494bdaf if predicate cauldron_de-slated_cobble:deepslate as @e[type=minecraft:item,tag=cauDec.subject] run function cauldron_de-slated_cobble:harden | ||
tag @s remove cauDec.subject |
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,2 @@ | ||
data modify entity @s[nbt={Item: {id: "minecraft:cobbled_deepslate"}}] Item.id set value "minecraft:cobblestone" | ||
data modify entity @s[nbt={Item: {id: "minecraft:deepslate"}}] Item.id set value "minecraft:stone" |
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 @@ | ||
execute unless entity a093751a-2c77-4658-9d5f-62ab4494bdaf positioned 16562060 1000 -22242910 run function cauldron_de-slated_cobble:summon_marker |
2 changes: 2 additions & 0 deletions
2
data/cauldron_de-slated_cobble/functions/summon_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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
forceload add ~ ~ | ||
summon minecraft:armor_stand ~ ~ ~ {Marker: 1b, NoGravity: 1b, Invulnerable: 1b, Invisible: 1b, UUID: [I; -1600948966, 746014296, -1654693205, 1150598574]} |
3 changes: 3 additions & 0 deletions
3
data/cauldron_de-slated_cobble/functions/uninstall.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,3 @@ | ||
schedule clear cauldron_de-slated_cobble:check_for_items_in_filled_cauldrons | ||
kill a093751a-2c77-4658-9d5f-62ab4494bdaf | ||
forceload remove 16562060 -22242910 |
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 @@ | ||
{ | ||
"condition": "minecraft:entity_properties", | ||
"entity": "this", | ||
"predicate": { | ||
"equipment": { | ||
"mainhand": { | ||
"tag": "cauldron_de-slated_cobble:deepslate" | ||
} | ||
} | ||
} | ||
} |
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,6 @@ | ||
{ | ||
"values": [ | ||
"minecraft:cobbled_deepslate", | ||
"minecraft:deepslate" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"cauldron_de-slated_cobble:load", | ||
"cauldron_de-slated_cobble:check_for_items_in_filled_cauldrons" | ||
] | ||
} |