@@ -163,7 +163,7 @@ dir <%export_namespace%> {
163
163
}
164
164
REPEAT (Object.values(rig.nodeMap).filter(v => v.type === 'locator')) as node {
165
165
IF (node.config?.use_entity) {
166
- execute on passengers if entity @s[tag=<%TAGS.PROJECT_DATA(export_namespace)%>] run { with entity @s data.positions. locators.<%node.name%>
166
+ execute on passengers if entity @s[tag=<%TAGS.PROJECT_DATA(export_namespace)%>] run { with entity @s data.locators.<%node.name%>
167
167
$execute as $(uuid) positioned ^$(posx) ^$(posy) ^$(posz) rotated ~$(roty) ~$(rotx) run {
168
168
tp @s ~ ~ ~ ~ ~
169
169
<%%
@@ -174,7 +174,7 @@ dir <%export_namespace%> {
174
174
}
175
175
}
176
176
} ELSE IF (node.config?.ticking_commands) {
177
- execute on passengers if entity @s[tag=<%TAGS.PROJECT_DATA(export_namespace)%>] run { with entity @s data.positions. locators.<%node.name%>
177
+ execute on passengers if entity @s[tag=<%TAGS.PROJECT_DATA(export_namespace)%>] run { with entity @s data.locators.<%node.name%>
178
178
$execute positioned ^$(posx) ^$(posy) ^$(posz) rotated ~$(roty) ~$(rotx) run {
179
179
<%%
180
180
if (node.config?.ticking_commands) {
@@ -186,7 +186,7 @@ dir <%export_namespace%> {
186
186
}
187
187
}
188
188
REPEAT (Object.values(rig.nodeMap).filter(v => v.type === 'camera')) as node {
189
- execute on passengers if entity @s[tag=<%TAGS.PROJECT_DATA(export_namespace)%>] run { with entity @s data.positions. cameras.<%node.name%>
189
+ execute on passengers if entity @s[tag=<%TAGS.PROJECT_DATA(export_namespace)%>] run { with entity @s data.cameras.<%node.name%>
190
190
$execute as $(uuid) positioned ^$(posx) ^$(posy) ^$(posz) rotated ~$(roty) ~$(rotx) run tp @s ~ ~ ~ ~ ~
191
191
}
192
192
}
@@ -382,7 +382,7 @@ dir <%export_namespace%> {
382
382
global.rot = getRotationFromQuaternion(node.rot)
383
383
%%>
384
384
execute on passengers if entity @s[tag=<%TAGS.PROJECT_DATA(export_namespace)%>] run \
385
- data modify entity @s data.positions. locators.<%node.name%> merge value { \
385
+ data modify entity @s data.locators.<%node.name%> merge value { \
386
386
posx: <%node.pos.x%>, posy: <%node.pos.y%>, posz: <%node.pos.z%>, \
387
387
rotx: <%global.rot.x%>, roty: <%global.rot.y%>, \
388
388
}
@@ -407,7 +407,7 @@ dir <%export_namespace%> {
407
407
global.rot = getRotationFromQuaternion(node.rot)
408
408
%%>
409
409
execute on passengers if entity @s[tag=<%TAGS.PROJECT_DATA(export_namespace)%>] run \
410
- data modify entity @s data.positions. cameras.<%node.name%> merge value { \
410
+ data modify entity @s data.cameras.<%node.name%> merge value { \
411
411
posx: <%node.pos.x%>, posy: <%node.pos.y%>, posz: <%node.pos.z%>, \
412
412
rotx: <%global.rot.x%>, roty: <%global.rot.y%>, \
413
413
}
@@ -456,7 +456,7 @@ dir <%export_namespace%> {
456
456
457
457
function animated_java:global/internal/gu/convert_uuid_array_to_string with entity @s
458
458
execute as @e[type=item_display,tag=<%TAGS.NEW()%>,limit=1,distance=..0.01] on passengers if entity @s[tag=<%TAGS.GLOBAL_DATA()%>] run {
459
- data modify entity @s data.positions. locators.<%locator.name%>.uuid set from storage aj:uuid main.out
459
+ data modify entity @s data.locators.<%locator.name%>.uuid set from storage aj:uuid main.out
460
460
}
461
461
<%%
462
462
if (locator.config.summon_commands) {
@@ -474,7 +474,7 @@ dir <%export_namespace%> {
474
474
475
475
function animated_java:global/internal/gu/convert_uuid_array_to_string with entity @s
476
476
execute as @e[type=item_display,tag=<%TAGS.NEW()%>,limit=1,distance=..0.01] on passengers if entity @s[tag=<%TAGS.GLOBAL_DATA()%>] run {
477
- data modify entity @s data.positions. cameras.<%camera.name%>.uuid set from storage aj:uuid main.out
477
+ data modify entity @s data.cameras.<%camera.name%>.uuid set from storage aj:uuid main.out
478
478
}
479
479
}
480
480
}
@@ -560,7 +560,7 @@ dir <%export_namespace%> {
560
560
$data modify storage aj:temp command set value '$(command)'
561
561
execute on passengers if entity @s[tag=<%TAGS.GLOBAL_DATA()%>] run {
562
562
REPEAT (Object.values(rig.nodeMap).filter(v => v.type === 'locator')) as locator {
563
- data modify storage aj:temp uuid set from entity @s data.positions. locators.<%locator.name%>.uuid
563
+ data modify storage aj:temp uuid set from entity @s data.locators.<%locator.name%>.uuid
564
564
block zzz/execute { with storage aj:temp
565
565
$execute as $(uuid) run $(command)
566
566
}
@@ -585,7 +585,7 @@ dir <%export_namespace%> {
585
585
586
586
execute on passengers if entity @s[tag=<%TAGS.GLOBAL_DATA()%>] run {
587
587
REPEAT (Object.values(rig.nodeMap).filter(v => v.type === 'locator' && v.config?.use_entity)) as locator {
588
- block zzz/kill { with entity @s data.positions. locators.<%locator.name%>
588
+ block zzz/kill { with entity @s data.locators.<%locator.name%>
589
589
# Recursively remove any stacked locator entities
590
590
$execute as $(uuid) run block kill_passengers {
591
591
execute on passengers run function ^0
0 commit comments