@@ -863,7 +863,6 @@ function summon {
863863 }
864864
865865 data_manager write
866-
867866 function <%blueprint_id%>/zzz/set_default_pose
868867
869868 # Variant Arguement
@@ -961,7 +960,7 @@ function summon {
961960 block { with storage <%temp_storage%> entry.data.locators
962961 REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity && node.config.on_summon_function)) as locator {
963962 $block { $(<%locator.storage_name%>)
964- $execute at @s as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
963+ $execute as $(uuid) at @s run block on_summon/custom_<%locator.type + '_' + locator.storage_name%> {
965964 <%%
966965 emit.mcb(locator.config.on_summon_function)
967966 %%>
@@ -974,7 +973,7 @@ function summon {
974973 REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator' && node.config?.use_entity)) as locator {
975974 block { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
976975 # Track any custom entities on the locator.
977- $execute at @s as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
976+ $execute as $(uuid) at @s run function animated_java:global/util/get_entity_stack_uuids
978977 }
979978 data modify storage <%temp_storage%> entry.data.uuids append from storage <%temp_storage%> uuids
980979 }
@@ -985,7 +984,7 @@ function summon {
985984 block { with storage <%temp_storage%> entry.data.interactions
986985 REPEAT (Object.values(rig.nodes).filter(node => node.type === 'interaction' && node.config.on_summon_function)) as interaction {
987986 $block { $(<%interaction.storage_name%>)
988- $execute at @s as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
987+ $execute as $(uuid) at @s run block on_summon/custom_<%interaction.type + '_' + interaction.storage_name%> {
989988 <%%
990989 emit.mcb(interaction.config.on_summon_function)
991990 %%>
@@ -1839,6 +1838,7 @@ IF (has_locators || has_cameras) {
18391838 }
18401839 }
18411840 }
1841+ data_manager write
18421842 }
18431843 }
18441844}
0 commit comments