Skip to content

Commit d75ef0c

Browse files
committed
✏️ Rename animated_java.mcb -> animation.mcb
1 parent 766a3b1 commit d75ef0c

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

src/systems/datapackCompiler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Compiler, Parser, Tokenizer, SyncIo } from 'mc-build'
22
import { VariableMap } from 'mc-build/dist/mcl/Compiler'
33
import { isFunctionTagPath } from '../util/fileUtil'
4-
import datapackTemplate from './animated_java.mcb'
4+
import animationMcb from './datapackCompiler/animation.mcb'
55
import { AnyRenderedNode, IRenderedRig } from './rigRenderer'
66
import { IRenderedAnimation } from './animationRenderer'
77
import { Variant } from '../variants'
@@ -648,7 +648,7 @@ export async function compileDataPack(options: {
648648
PROGRESS.set(0)
649649
await new Promise(resolve => setTimeout(resolve, 2000 / framespersecond))
650650
console.time('MC-Build Compiler took')
651-
const tokens = Tokenizer.tokenize(datapackTemplate, 'src/animated_java.mcb')
651+
const tokens = Tokenizer.tokenize(animationMcb, 'src/animated_java.mcb')
652652
compiler.addFile('src/animated_java.mcb', Parser.parseMcbFile(tokens))
653653
compiler.compile(VariableMap.fromObject(variables))
654654
console.timeEnd('MC-Build Compiler took')

src/systems/animated_java.mcb renamed to src/systems/datapackCompiler/animation.mcb

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ dir global {
3838
}
3939
}
4040

41-
function help {
42-
# This just prints a link to the docs.
43-
tellraw @a {"text": "..."}
44-
}
45-
4641
dir errors {
4742
function function_not_executed_as_root_entity {
4843
$tellraw @a <%TELLRAW.FUNCTION_NOT_EXECUTED_AS_ROOT_ERROR('$(function_path)', TAGS.PROJECT_ROOT(export_namespace))%>
@@ -118,10 +113,6 @@ dir global {
118113
}
119114

120115
dir <%export_namespace%> {
121-
function uninstall {
122-
# TODO Remove all scoreboard for this rig from the world.
123-
}
124-
125116
function on_load {
126117
IF (use_storage_for_animation) {
127118
REPEAT (animations) as animation {

0 commit comments

Comments
 (0)