Skip to content

Commit 34fdde0

Browse files
committed
Rename pause_all_animations to pause_all
1 parent 2e73ccc commit 34fdde0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

exporters/datapackExporter/exporter/gen/functions.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -715,17 +715,17 @@ export function generateFunctions(folders: IFolders) {
715715
G.exportData.exporterSettings.include_pause_all_animations_function.value === true
716716
) {
717717
animationsFolder
718-
// ANCHOR - function G.PROJECT_PATH:animations/pause_all_animations
719-
.chainNewFile('pause_all_animations.mcfunction', [
720-
`execute if entity @s[tag=${G.TAGS.rootEntity}] run function ${G.INTERNAL_PATH}/animations/pause_all_animations_as_root`,
718+
// ANCHOR - function G.PROJECT_PATH:animations/pause_all
719+
.chainNewFile('pause_all.mcfunction', [
720+
`execute if entity @s[tag=${G.TAGS.rootEntity}] run function ${G.INTERNAL_PATH}/animations/pause_all_as_root`,
721721
`execute if entity @s[tag=!${G.TAGS.rootEntity}] run tellraw @a ${formatStr(
722722
G.TEXT.errorMustBeRunAsRoot.toString(),
723-
[`${G.PROJECT_PATH}/animations/pause_all_animations`]
723+
[`${G.PROJECT_PATH}/animations/pause_all`]
724724
)}`,
725725
])
726726
internalAnimationsFolder
727-
// ANCHOR - function G.INTERNAL_PATH:animations/pause_all_animations_as_root
728-
.chainNewFile('pause_all_animations_as_root.mcfunction', [
727+
// ANCHOR - function G.INTERNAL_PATH:animations/pause_all_as_root
728+
.chainNewFile('pause_all_as_root.mcfunction', [
729729
...G.exportData.renderedAnimations.map(
730730
a => `function ${G.INTERNAL_PATH}/animations/${a.name}/pause`
731731
),

0 commit comments

Comments
 (0)