@@ -17,7 +17,7 @@ import { Variant } from '../../variants'
1717import type { IRenderedAnimation } from '../animationRenderer'
1818import mcbFiles from '../datapackCompiler/mcbFiles'
1919import { IntentionalExportError } from '../exporter'
20- import { AJMeta , PackMeta , type PackMetaFormats , SUPPORTED_MINECRAFT_VERSIONS } from '../global'
20+ import { AJMeta , PackMeta , SUPPORTED_MINECRAFT_VERSIONS } from '../global'
2121import { JsonText } from '../jsonText'
2222import { JsonTextParser } from '../jsonText/parser'
2323import type { AnyRenderedNode , IRenderedRig } from '../rigRenderer'
@@ -830,28 +830,28 @@ export default async function compileDataPack(
830830 packMeta . content . pack . pack_format = getDataPackFormat ( targetVersions [ 0 ] )
831831 packMeta . content . pack . description ??= `Animated Java Data Pack for ${ targetVersions . join ( ', ' ) } `
832832
833- if ( targetVersions . length > 1 ) {
834- packMeta . content . pack . supported_formats = [ ]
835- packMeta . content . overlays ??= { }
836- packMeta . content . overlays . entries ??= [ ]
837-
838- for ( const version of targetVersions ) {
839- const format : PackMetaFormats = getDataPackFormat ( version )
840- packMeta . content . pack . supported_formats . push ( format )
841-
842- const existingOverlay = packMeta . content . overlays . entries . find (
843- e => e . directory === `animated_java_${ version . replaceAll ( '.' , '_' ) } `
844- )
845- if ( ! existingOverlay ) {
846- packMeta . content . overlays . entries . push ( {
847- directory : `animated_java_${ version . replaceAll ( '.' , '_' ) } ` ,
848- formats : format ,
849- } )
850- } else {
851- existingOverlay . formats = format
852- }
853- }
854- }
833+ // if (targetVersions.length > 1) {
834+ // packMeta.content.pack.supported_formats = []
835+ // packMeta.content.overlays ??= {}
836+ // packMeta.content.overlays.entries ??= []
837+
838+ // for (const version of targetVersions) {
839+ // const format: PackMetaFormats = getDataPackFormat(version)
840+ // packMeta.content.pack.supported_formats.push(format)
841+
842+ // const existingOverlay = packMeta.content.overlays.entries.find(
843+ // e => e.directory === `animated_java_${version.replaceAll('.', '_')}`
844+ // )
845+ // if (!existingOverlay) {
846+ // packMeta.content.overlays.entries.push({
847+ // directory: `animated_java_${version.replaceAll('.', '_')}`,
848+ // formats: format,
849+ // })
850+ // } else {
851+ // existingOverlay.formats = format
852+ // }
853+ // }
854+ // }
855855
856856 globalCoreFiles . set ( PathModule . join ( options . dataPackFolder , 'pack.mcmeta' ) , {
857857 content : autoStringify ( packMeta . toJSON ( ) ) ,
0 commit comments