@@ -163,7 +163,7 @@ dir <%export_namespace%> {
163163 }
164164 REPEAT (Object.values(rig.nodeMap).filter(v => v.type === 'locator')) as node {
165165 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%>
167167 $execute as $(uuid) positioned ^$(posx) ^$(posy) ^$(posz) rotated ~$(roty) ~$(rotx) run {
168168 tp @s ~ ~ ~ ~ ~
169169 <%%
@@ -174,7 +174,7 @@ dir <%export_namespace%> {
174174 }
175175 }
176176 } 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%>
178178 $execute positioned ^$(posx) ^$(posy) ^$(posz) rotated ~$(roty) ~$(rotx) run {
179179 <%%
180180 if (node.config?.ticking_commands) {
@@ -186,7 +186,7 @@ dir <%export_namespace%> {
186186 }
187187 }
188188 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%>
190190 $execute as $(uuid) positioned ^$(posx) ^$(posy) ^$(posz) rotated ~$(roty) ~$(rotx) run tp @s ~ ~ ~ ~ ~
191191 }
192192 }
@@ -382,7 +382,7 @@ dir <%export_namespace%> {
382382 global.rot = getRotationFromQuaternion(node.rot)
383383 %%>
384384 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 { \
386386 posx: <%node.pos.x%>, posy: <%node.pos.y%>, posz: <%node.pos.z%>, \
387387 rotx: <%global.rot.x%>, roty: <%global.rot.y%>, \
388388 }
@@ -407,7 +407,7 @@ dir <%export_namespace%> {
407407 global.rot = getRotationFromQuaternion(node.rot)
408408 %%>
409409 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 { \
411411 posx: <%node.pos.x%>, posy: <%node.pos.y%>, posz: <%node.pos.z%>, \
412412 rotx: <%global.rot.x%>, roty: <%global.rot.y%>, \
413413 }
@@ -456,7 +456,7 @@ dir <%export_namespace%> {
456456
457457 function animated_java:global/internal/gu/convert_uuid_array_to_string with entity @s
458458 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
460460 }
461461 <%%
462462 if (locator.config.summon_commands) {
@@ -474,7 +474,7 @@ dir <%export_namespace%> {
474474
475475 function animated_java:global/internal/gu/convert_uuid_array_to_string with entity @s
476476 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
478478 }
479479 }
480480 }
@@ -560,7 +560,7 @@ dir <%export_namespace%> {
560560 $data modify storage aj:temp command set value '$(command)'
561561 execute on passengers if entity @s[tag=<%TAGS.GLOBAL_DATA()%>] run {
562562 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
564564 block zzz/execute { with storage aj:temp
565565 $execute as $(uuid) run $(command)
566566 }
@@ -585,7 +585,7 @@ dir <%export_namespace%> {
585585
586586 execute on passengers if entity @s[tag=<%TAGS.GLOBAL_DATA()%>] run {
587587 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%>
589589 # Recursively remove any stacked locator entities
590590 $execute as $(uuid) run block kill_passengers {
591591 execute on passengers run function ^0
0 commit comments