File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import { openExportProgressDialog } from './dialogs/exportProgress/exportProgres
2828import { openUnexpectedErrorDialog } from './dialogs/unexpectedError/unexpectedError'
2929import { BLUEPRINT_FORMAT } from './formats/blueprint'
3030import { BLUEPRINT_CODEC } from './formats/blueprint/codec'
31+ import { exportAll } from './interface/animatedJavaBarItem'
3132import { TextDisplay } from './outliner/textDisplay'
3233import { VanillaBlockDisplay , debugBlockState } from './outliner/vanillaBlockDisplay'
3334import { VanillaItemDisplay } from './outliner/vanillaItemDisplay'
@@ -82,6 +83,7 @@ const AnimatedJavaApi = {
8283 BLOCKSTATE_REGISTRY ,
8384 exportProject,
8485 openInstallPopup,
86+ exportAll,
8587 removeCubesAssociatedWithTexture ( texture : Texture ) {
8688 const cubes = Cube . all . filter ( cube =>
8789 Object . values ( cube . faces ) . some ( face => face . texture === texture . uuid )
@@ -127,5 +129,3 @@ EVENTS.PLUGIN_FINISHED_LOADING.subscribe(() => {
127129 openChangelogDialog ( )
128130 }
129131} )
130-
131- import './plugin'
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ function areMultipleBlueprintsOpen() {
7474 return Blockbench . ModelProject . all . filter ( p => p . format . id === BLUEPRINT_FORMAT_ID ) . length > 1
7575}
7676
77- async function exportAll ( debugMode : boolean ) {
77+ export async function exportAll ( debugMode : boolean ) {
7878 const selectedProject = Project
7979 const blueprints = Blockbench . ModelProject . all . filter ( p => p . format . id === BLUEPRINT_FORMAT_ID )
8080 let success = true
You can’t perform that action at this time.
0 commit comments