Skip to content

Commit 134a8b0

Browse files
MeekiaveliqueSnaveSutit
authored andcommitted
fix(plugin-export): align plugin-mode JSON export with blueprint schema v1
1 parent 5f66528 commit 134a8b0

2 files changed

Lines changed: 646 additions & 39 deletions

File tree

src/systems/exporter.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { isResourcePackPath } from '../util/minecraftUtil'
99
import { translate } from '../util/translation'
1010
import { Variant } from '../variants'
1111
import { hashAnimations, renderProjectAnimations } from './animationRenderer'
12-
import { exportJSON } from './jsonCompiler'
12+
import { exportPluginBlueprint } from './pluginCompiler'
1313
import compileDataPack from './datapackCompiler'
1414
import { IntentionalExportError } from './errors'
1515
import resourcepackCompiler from './resourcepackCompiler'
@@ -142,13 +142,7 @@ async function actuallyExportProject({
142142

143143
if (aj.enable_plugin_mode) {
144144
PROGRESS_DESCRIPTION.set('Exporting Plugin JSON...')
145-
exportJSON({
146-
rig,
147-
animations,
148-
displayItemPath,
149-
textureExportFolder,
150-
modelExportFolder,
151-
})
145+
exportPluginBlueprint({ rig, animations })
152146
}
153147

154148
Project!.last_used_export_namespace = aj.export_namespace

0 commit comments

Comments
 (0)