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
`execute as @e[type=minecraft:item_display,tag=${G.TAGS.globalRigRoot}] run function #animated_java:rig_tick`,
455
+
])
456
+
453
457
folders.project.internalFunctions
454
458
// ANCHOR - function G.INTERNAL_FUNCTIONS/tick
455
459
.chainNewFile('tick.mcfunction',[
456
-
`execute as @e[type=minecraft:item_display,tag=${G.TAGS.rootEntity}] run function ${G.INTERNAL_PATH}/tick_as_root`,
460
+
`execute if entity @s[tag=${G.TAGS.rootEntity}] run function ${G.INTERNAL_PATH}/tick_as_root`,
457
461
])
458
462
// ANCHOR - function G.INTERNAL_FUNCTIONS/tick_as_root
459
463
.chainNewFile('tick_as_root.mcfunction',[
@@ -498,7 +502,7 @@ export function generateFunctions(folders: IFolders) {
498
502
: `execute at @s on passengers run function ${G.INTERNAL_PATH}/summon/as_rig_entities`,
499
503
...G.VARIANTS.map(
500
504
v=>
501
-
`execute if score #variant ${G.SCOREBOARD.i} = $aj.${G.PROJECT_NAME}.variant.${v.name}${G.SCOREBOARD.id} run function ${G.INTERNAL_PATH}/apply_variant/${v.name}_as_root`
505
+
`execute if score #variant ${G.SCOREBOARD.i} = $aj.${G.PROJECT_NAME}.variant.${v.name}${G.SCOREBOARD.id} run function ${G.INTERNAL_PATH}/apply_variant/${v.name}/as_root`
502
506
),
503
507
`execute if score #animation ${G.SCOREBOARD.i} matches 0.. run scoreboard players operation @s ${G.SCOREBOARD.animTime} = #frame ${G.SCOREBOARD.i}`,
504
508
...G.exportData.renderedAnimations
@@ -726,7 +730,7 @@ export function generateFunctions(folders: IFolders) {
726
730
// ANCHOR - function G.INTERNAL_PATH:animations/pause_all_as_root
0 commit comments