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
function animated_java:global/remove/entity_stack_by_uuid with entity @s data.locators.<%locator.storage_name%>
1173
1182
}
@@ -1181,6 +1190,12 @@ dir remove {
1181
1190
unless data storage <%temp_storage%> {entry:{data:{rig_hash: '<%rig_hash%>'}}} \
1182
1191
run function animated_java:global/remove/outdated_rig
1183
1192
1193
+
block { with storage <%temp_storage%> entry.data.uuids_by_name
1194
+
REPEAT (Object.values(rig.nodes).filter(node => BONE_TYPES.includes(node.type))) as node {
1195
+
$kill $(<%node.storage_name%>)
1196
+
}
1197
+
}
1198
+
1184
1199
function animated_java:global/remove/entity_stack
1185
1200
}
1186
1201
}
@@ -1254,16 +1269,24 @@ IF (has_locators || has_cameras) {
1254
1269
function reset_floating_entities {
1255
1270
IF (has_locators) {
1256
1271
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator')) as locator {
1257
-
execute at @s run block zzz/set_default_pose/as_locator_<%locator.storage_name%> { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
1258
-
IF (locator.config?.use_entity) {
1272
+
IF (locator.config?.use_entity) {
1273
+
execute at @s run block set_default_pose/as_locator_<%locator.storage_name%> { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
@@ -1277,7 +1300,7 @@ IF (has_locators || has_cameras) {
1277
1300
1278
1301
IF (has_cameras) {
1279
1302
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'camera')) as camera {
1280
-
execute at @s run block zzz/set_default_pose/as_camera_<%camera.storage_name%> { with storage <%temp_storage%> entry.data.cameras.<%camera.storage_name%>
1303
+
execute at @s run block set_default_pose/as_camera_<%camera.storage_name%> { with storage <%temp_storage%> entry.data.cameras.<%camera.storage_name%>
function animated_java:global/remove/entity_stack_by_uuid with entity @s data.locators.<%locator.storage_name%>
689
704
}
@@ -697,6 +712,12 @@ dir remove {
697
712
unless data storage <%temp_storage%> {entry:{data:{rig_hash: '<%rig_hash%>'}}} \
698
713
run function animated_java:global/remove/outdated_rig
699
714
715
+
block { with storage <%temp_storage%> entry.data.uuids_by_name
716
+
REPEAT (Object.values(rig.nodes).filter(node => BONE_TYPES.includes(node.type))) as node {
717
+
$kill $(<%node.storage_name%>)
718
+
}
719
+
}
720
+
700
721
function animated_java:global/remove/entity_stack
701
722
}
702
723
}
@@ -770,16 +791,24 @@ IF (has_locators || has_cameras) {
770
791
function reset_floating_entities {
771
792
IF (has_locators) {
772
793
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'locator')) as locator {
773
-
execute at @s run block zzz/set_default_pose/as_locator_<%locator.storage_name%> { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
774
-
IF (locator.config?.use_entity) {
794
+
IF (locator.config?.use_entity) {
795
+
execute at @s run block set_default_pose/as_locator_<%locator.storage_name%> { with storage <%temp_storage%> entry.data.locators.<%locator.storage_name%>
@@ -793,7 +822,7 @@ IF (has_locators || has_cameras) {
793
822
794
823
IF (has_cameras) {
795
824
REPEAT (Object.values(rig.nodes).filter(node => node.type === 'camera')) as camera {
796
-
execute at @s run block zzz/set_default_pose/as_camera_<%camera.storage_name%> { with storage <%temp_storage%> entry.data.cameras.<%camera.storage_name%>
825
+
execute at @s run block set_default_pose/as_camera_<%camera.storage_name%> { with storage <%temp_storage%> entry.data.cameras.<%camera.storage_name%>
0 commit comments