@@ -89,7 +89,7 @@ async function createMCFile(
8989) : Promise < { mcFile : string ; mcbConfig : MCBConfig } > {
9090 const ajSettings = settings . animatedJava
9191 const exporterSettings : animationExporterSettings =
92- settings . animatedJava_exporter_animationExporter
92+ settings . vanillaAnimationExporter
9393 const projectName = safeFunctionName ( ajSettings . projectName )
9494
9595 let headYOffset = - 1.813
@@ -798,7 +798,7 @@ async function createMCFile(
798798 ) ,
799799 ] ,
800800 width : 512 ,
801- singleButton : true
801+ singleButton : true ,
802802 } ,
803803 } )
804804 }
@@ -1213,7 +1213,7 @@ async function exportDataPack(
12131213
12141214async function animationExport ( data : any ) {
12151215 const exporterSettings : animationExporterSettings =
1216- data . settings . animatedJava_exporter_animationExporter
1216+ data . settings . vanillaAnimationExporter
12171217 const generated = await createMCFile (
12181218 data . bones ,
12191219 data . models ,
@@ -1268,7 +1268,8 @@ function validateFormattedStringSetting(required: string[]) {
12681268
12691269const Exporter = ( AJ : any ) => {
12701270 AJ . settings . registerPluginSettings (
1271- 'animatedJava_exporter_animationExporter' ,
1271+ 'animatedJava.exporters.animation' , // Plugin ID
1272+ 'vanillaAnimationExporter' , // Plugin Settings Key
12721273 {
12731274 rootEntityType : {
12741275 title : tl (
@@ -1366,11 +1367,11 @@ const Exporter = (AJ: any) => {
13661367 return d
13671368 } ,
13681369 isVisible ( settings : any ) {
1369- return settings . animatedJava_exporter_animationExporter
1370+ return settings . vanillaAnimationExporter
13701371 . autoDistance
13711372 } ,
13721373 dependencies : [
1373- 'animatedJava_exporter_animationExporter .autoDistance' ,
1374+ 'vanillaAnimationExporter .autoDistance' ,
13741375 ] ,
13751376 } ,
13761377 manualDistance : {
@@ -1392,11 +1393,11 @@ const Exporter = (AJ: any) => {
13921393 return d
13931394 } ,
13941395 isVisible ( settings : any ) {
1395- return ! settings . animatedJava_exporter_animationExporter
1396+ return ! settings . vanillaAnimationExporter
13961397 . autoDistance
13971398 } ,
13981399 dependencies : [
1399- 'animatedJava_exporter_animationExporter .autoDistance' ,
1400+ 'vanillaAnimationExporter .autoDistance' ,
14001401 ] ,
14011402 } ,
14021403 modelTag : {
@@ -1586,12 +1587,12 @@ const Exporter = (AJ: any) => {
15861587 } ,
15871588 isVisible ( settings : any ) {
15881589 return (
1589- settings . animatedJava_exporter_animationExporter
1590+ settings . vanillaAnimationExporter
15901591 . exportMode === 'mcb'
15911592 )
15921593 } ,
15931594 dependencies : [
1594- 'animatedJava_exporter_animationExporter .exportMode' ,
1595+ 'vanillaAnimationExporter .exportMode' ,
15951596 'animatedJava.projectName' ,
15961597 ] ,
15971598 } ,
@@ -1622,12 +1623,12 @@ const Exporter = (AJ: any) => {
16221623 } ,
16231624 isVisible ( settings : any ) {
16241625 return (
1625- settings . animatedJava_exporter_animationExporter
1626+ settings . vanillaAnimationExporter
16261627 . exportMode === 'mcb'
16271628 )
16281629 } ,
16291630 dependencies : [
1630- 'animatedJava_exporter_animationExporter .exportMode' ,
1631+ 'vanillaAnimationExporter .exportMode' ,
16311632 ] ,
16321633 } ,
16331634 dataPackPath : {
@@ -1658,12 +1659,12 @@ const Exporter = (AJ: any) => {
16581659 } ,
16591660 isVisible ( settings : any ) {
16601661 return (
1661- settings . animatedJava_exporter_animationExporter
1662+ settings . vanillaAnimationExporter
16621663 . exportMode === 'vanilla'
16631664 )
16641665 } ,
16651666 dependencies : [
1666- 'animatedJava_exporter_animationExporter .exportMode' ,
1667+ 'vanillaAnimationExporter .exportMode' ,
16671668 ] ,
16681669 } ,
16691670 }
0 commit comments