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
Copy file name to clipboardExpand all lines: src/exporters/animationExporter.ts
+39-25Lines changed: 39 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -717,7 +717,7 @@ async function createMCFile(
717
717
execute as @e[type=${entityTypes.boneRoot},tag=${tags.allBones},distance=..${maxDistance}] if score @s ${scoreboards.id} = .this ${scoreboards.id} run {
718
718
${baseModifiers.join('\n')}
719
719
execute store result score .calc ${scoreboards.internal} run data get entity @s Air
720
-
execute store result entity @s Air short 1 run scoreboard players add .calc ${scoreboards.internal}1
720
+
execute store result entity @s Air short 1 run scoreboard players add .calc ${scoreboards.internal}2
721
721
}
722
722
execute as @e[type=${entityTypes.boneDisplay},tag=${tags.allBones},distance=..${maxDistance}] if score @s ${scoreboards.id} = .this ${scoreboards.id} run {
723
723
${displayModifiers.join('\n')}
@@ -732,6 +732,44 @@ async function createMCFile(
732
732
`)
733
733
}
734
734
735
+
{
736
+
//? Move Function
737
+
// prettier-ignore
738
+
FILE.push(`function move {
739
+
# Make sure this function has been ran as the root entity
0 commit comments