Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Commit 6005532

Browse files
authored
Merge pull request #13 from ToolkitMC/devlop
Add player/run_as_uuid macros and fix 1.20.3 overlay NBT syntax
2 parents f6695a5 + 90411c5 commit 6005532

5 files changed

Lines changed: 7 additions & 5 deletions

File tree

1_20_3/data/ame_load/functions/load/all.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Send Debug Message
2-
summon minecraft:marker 0 -64 0 {Tags:["ame.init"],CustomName:{text:"AME/Load",italic:0b,color:"gold",bold:1b}}
2+
summon minecraft:marker 0 -64 0 {Tags:["ame.init"],CustomName:'{"text":"AME/Load","italic":false,"color":"gold","bold":true}'}
33
execute as @e[type=minecraft:marker,limit=1,tag=ame.init] run say Loading...
44
kill @e[type=minecraft:marker,tag=ame.init]
55

@@ -31,4 +31,4 @@ data modify storage macro:input message set value "Loaded."
3131
data modify storage macro:input color set value "green"
3232
function macro:log/add with storage macro:input {}
3333

34-
function ame_load:load/internal/finalize
34+
function ame_load:load/internal/finalize

1_20_3/data/ame_load/functions/load/internal/finalize.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ data remove storage macro:input level
1313
data remove storage macro:input color
1414

1515
# Send Debug Message
16-
summon minecraft:marker 0 -64 0 {Tags:["ame.done"],CustomName:{text:"AME/Load",italic:0b,color:"gold",bold:1b}}
16+
summon minecraft:marker 0 -64 0 {Tags:["ame.done"],CustomName:'{"text":"AME/Load","italic":false,"color":"gold","bold":true}'}
1717
execute as @e[type=minecraft:marker,limit=1,tag=ame.done] run say Done...
18-
kill @e[type=minecraft:marker,tag=ame.done]
18+
kill @e[type=minecraft:marker,tag=ame.done]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# 1.20.3 does not have a real player.cursor slot; this fallback checks the held item.
2-
$execute as @a at @s if entity @s[nbt={SelectedItem:{tag:{wand:"$(customData)"}}}] run $(invoke)
2+
$execute as @a at @s if entity @s[nbt={SelectedItem:{tag:$(customData)}}] run $(invoke)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$execute as @a[nbt={UUID:$(uuid)}] run $(cmd)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$execute as @a[nbt={UUID:$(uuid)}] run function $(func)

0 commit comments

Comments
 (0)