You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/corpus/02_complex_types.txt
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -151,7 +151,7 @@ function #minecraft:load
151
151
function ./_my_local_function_01/and/subfunction
152
152
function #example:$(macro)/path/%[sub]/to
153
153
function #ns.with.dots:function
154
-
function bs.dump:interpret/any
154
+
function foo.dump:interpret/any
155
155
156
156
------------------
157
157
@@ -243,16 +243,16 @@ data get entity @s Pos[0]
243
243
data get entity @s $(macro){foo: bar}
244
244
data get entity @s entity.path
245
245
data get entity @s container.i
246
-
$data modify storage bs:ctx _.v set from storage bs:ctx _.g[{n:"$(name)"}].o[0]
247
-
$data modify storage bs:ctx _.v set from storage bs:ctx _.g[{n:"$(name)"}].o[{v:"$(v)"}]
246
+
$data modify storage foo:bar _.v set from storage foo:bar _.a[{b:"$(name)"}].o[0]
247
+
$data modify storage foo:bar _.v set from storage foo:bar _.a[{b:"$(name)"}].o[{v:"$(v)"}]
248
248
data get entity @s entity.path[][]
249
-
execute if data storage bs:ctx _.i[-1].by store result score #n bs.ctx run data get storage bs:ctx _.i[-1].by
250
-
$execute store result storage bs:out color.hex_to_rgb[0] int 1 store result score $color.hex_to_rgb.r bs.out run data get storage bs:const color.hex_values.$(x)
251
-
data modify storage bs:out string.upper set from storage bs:ctx _.1
252
-
execute store result storage bs:data vector.distance[0] float 1 run scoreboard players get $vector.length.0 bs.in
253
-
$execute store result score $vector.normalize.0 bs.out run data get storage bs:ctx _[0] $(scale)
254
-
execute if data storage bs:data xp.stack[-1].var{} run return run function bs.dump:interpret/compound/compound
255
-
execute if data entity @s Item.components."minecraft:entity_data".Item.components.minecraft:custom_data.bubblellaneous.block_data
249
+
execute if data storage foo:bar _.i[-1].by store result score #n foo.ctx run data get storage foo:ctx _.i[-1].by
250
+
$execute store result storage foo:out color.hex_to_rgb[0] int 1 store result score $color.hex_to_rgb.r foo.out run data get storage foo:const color.hex_values.$(x)
251
+
data modify storage foo:out string.upper set from storage foo:ctx _.1
252
+
execute store result storage foo:data vector.distance[0] float 1 run scoreboard players get $vector.length.0 foo.in
253
+
$execute store result score $vector.normalize.0 foo.out run data get storage foo:ctx _[0] $(scale)
254
+
execute if data storage foo:data xp.stack[-1].var{} run return run function foo.dump:interpret/compound/compound
255
+
execute if data entity @s Item.components."minecraft:entity_data".Item.components.minecraft:custom_data.namespace.block_data
256
256
257
257
------------------
258
258
@@ -676,7 +676,7 @@ data {\
676
676
abc: {value: false} \
677
677
}
678
678
data modify block ~ ~ ~ RecordItem.tag set value { messages: [hi, bye] }
679
-
data modify storage bs:const color.hex_values set value {00:0,01:1,5b:91,5c:92,5d:93,5e:94,5f:95}
679
+
data modify storage foo:const color.hex_values set value {00:0,01:1,5b:91,5c:92,5d:93,5e:94,5f:95}
680
680
data {frame:{$(frame):{pose:"test"}}}
681
681
682
682
------------------
@@ -875,7 +875,7 @@ item stone[foo=bar]
875
875
item #stone
876
876
item #stone[foo=bar]
877
877
give armor_stand[entity_data={id:"minecraft:armor_stand", Tags:[taco_sauce]}]
878
-
give *[!custom_data~{bubblellaneous: {is_gui: true}}]
878
+
give *[!custom_data~{namespace: {is_gui: true}}]
879
879
give *[minecraft:dyed_color]
880
880
give *[minecraft:consumable|food]
881
881
give *[!minecraft:food,!minecraft:consumable]
@@ -1302,10 +1302,10 @@ execute as @a[advancements={minecraft:story/obtain_armor={iron_helmet=true, gold
1302
1302
execute as @a[advancements={minecraft:story/form_obsidian=true, minecraft:story/follow_ender_eye=true}]
1303
1303
execute as @a[advancements={minecraft:story/form_obsidian={foo=true, bar=false},minecraft:story/follow_ender_eye={foo=false, bar=true}}]
0 commit comments