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,SAAqB,EAAI,GAAM,GAC3B,YAAgC,IAAzB,EAAY,EAAI,EAC3B,EASA,EAAa,oBAHb,SAA6B,EAAI,GAAM,GACnC,YAAwC,IAAjC,EAAoB,EAAI,EACnC,EASA,EAAa,SAHb,SAAkB,EAAI,GAAM,GACxB,YAA6B,IAAtB,EAAS,EAAI,EACxB,EASA,EAAa,aAHb,SAAsB,EAAM,GAAM,GAC9B,YAA+B,IAAxB,EAAS,EAAM,EAC1B,EASA,EAAa,WAHb,SAAoB,EAAI,GAAM,GAC1B,YAA+B,IAAxB,EAAW,EAAI,EAC1B,CAEH,CAjLD,CAiLG,EAAe,EAAc,eAAiB,EAAc,aAAe,CAAC,GAClF,CAxXD,CAwXG,gBAAkB,QAAQ,cAAgB,cAAgB,CAAC","file":"/npm/bc-minecraft-bedrock-vanilla-data@1.21.80-11/lib/src/main.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/bc-minecraft-bedrock-vanilla-data@1.21.80-11/lib/src/main.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MinecraftData = exports.Types = exports.Edu = exports.Vanilla = exports.MinecraftDataSet = void 0;\nconst MinecraftDataSet_1 = require(\"./Lib/Types/MinecraftDataSet\");\nObject.defineProperty(exports, \"MinecraftDataSet\", { enumerable: true, get: function () { return MinecraftDataSet_1.MinecraftDataSet; } });\nconst Lib_1 = require(\"./Lib/\");\nObject.defineProperty(exports, \"Vanilla\", { enumerable: true, get: function () { return Lib_1.Vanilla; } });\nObject.defineProperty(exports, \"Edu\", { enumerable: true, get: function () { return Lib_1.Edu; } });\nObject.defineProperty(exports, \"Types\", { enumerable: true, get: function () { return Lib_1.Types; } });\nconst Identifiable_1 = require(\"./Lib/Types/Identifiable\");\n/**The minecraft vanilla data of RP and BP data*/\nvar MinecraftData;\n(function (MinecraftData) {\n    /**The vanilla data set*/\n    MinecraftData.vanilla = {\n        BehaviorPack: {\n            biomes: Lib_1.Vanilla.BehaviorPack.Biomes,\n            blocks: Lib_1.Vanilla.BehaviorPack.Blocks,\n            entities: Lib_1.Vanilla.BehaviorPack.Entities,\n            features: Lib_1.Vanilla.BehaviorPack.Features,\n            items: Lib_1.Vanilla.BehaviorPack.Items,\n            loot_tables: Lib_1.Vanilla.BehaviorPack.LootTables,\n            trading: Lib_1.Vanilla.BehaviorPack.Trading,\n        },\n        ResourcePack: {\n            animation_controllers: Lib_1.Vanilla.ResourcePack.AnimationControllers,\n            animations: Lib_1.Vanilla.ResourcePack.Animations,\n            entities: Lib_1.Vanilla.ResourcePack.Entities,\n            fogs: Lib_1.Vanilla.ResourcePack.Fogs,\n            materials: Lib_1.Vanilla.ResourcePack.Materials,\n            models: Lib_1.Vanilla.ResourcePack.Models,\n            particles: Lib_1.Vanilla.ResourcePack.Particles,\n            render_controllers: Lib_1.Vanilla.ResourcePack.RenderControllers,\n            sounds: Lib_1.Vanilla.ResourcePack.Sounds,\n            sound_files: Lib_1.Vanilla.ResourcePack.SoundFiles,\n            textures: Lib_1.Vanilla.ResourcePack.Textures,\n            texture_atlas_items: Lib_1.Vanilla.ResourcePack.TextureItems,\n            texture_atlas_terrain: Lib_1.Vanilla.ResourcePack.TextureTerrain,\n        },\n    };\n    /**The education data set*/\n    MinecraftData.edu = {\n        BehaviorPack: {\n            biomes: [],\n            blocks: Lib_1.Edu.BehaviorPack.Blocks,\n            entities: Lib_1.Edu.BehaviorPack.Entities,\n            features: Lib_1.Edu.BehaviorPack.Features,\n            items: Lib_1.Edu.BehaviorPack.Items,\n            loot_tables: Lib_1.Edu.BehaviorPack.LootTables,\n            trading: Lib_1.Edu.BehaviorPack.Trading,\n        },\n        ResourcePack: {\n            animation_controllers: Lib_1.Edu.ResourcePack.AnimationControllers,\n            animations: Lib_1.Edu.ResourcePack.Animations,\n            entities: Lib_1.Edu.ResourcePack.Entities,\n            fogs: Lib_1.Edu.ResourcePack.Fogs,\n            materials: Lib_1.Edu.ResourcePack.Materials,\n            models: Lib_1.Edu.ResourcePack.Models,\n            particles: Lib_1.Edu.ResourcePack.Particles,\n            render_controllers: Lib_1.Edu.ResourcePack.RenderControllers,\n            sounds: Lib_1.Edu.ResourcePack.Sounds,\n            sound_files: Lib_1.Edu.ResourcePack.SoundFiles,\n            textures: Lib_1.Edu.ResourcePack.Textures,\n            texture_atlas_items: Lib_1.Vanilla.ResourcePack.TextureItems,\n            texture_atlas_terrain: Lib_1.Vanilla.ResourcePack.TextureTerrain,\n        },\n    };\n    /**The generalized data set for minecraft*/\n    let General;\n    (function (General) {\n        /** A list of biomes */\n        General.Biomes = Lib_1.General.Biomes;\n        /** The summarized data set for blocks*/\n        General.Blocks = Lib_1.General.BlockData;\n        /** A list of camera presets */\n        General.CameraPresets = Lib_1.General.CameraPresets;\n        /** A list of cooldown categories */\n        General.CooldownCategory = Lib_1.General.CooldownCategory;\n        /** A list of dimensions */\n        General.Dimensions = Lib_1.General.Dimensions;\n        /** The summarized data set of effects*/\n        General.Effects = Lib_1.General.Effects;\n        /** The summarized data set for entities*/\n        General.Entities = Lib_1.General.EntityData;\n        /** A list of enchantments */\n        General.Enchantments = Lib_1.General.Enchantments;\n        /** Data for the potions */\n        General.Potions = {\n            Effects: Lib_1.General.PotionEffects,\n            Types: Lib_1.General.PotionTypes,\n            Modifiers: Lib_1.General.PotionModifiers,\n        };\n    })(General = MinecraftData.General || (MinecraftData.General = {}));\n    /**Access to behaviorpack vanilla data*/\n    let BehaviorPack;\n    (function (BehaviorPack) {\n        /**Gets the biome by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getBiome(id, edu = false) {\n            return get(id, edu, MinecraftData.vanilla.BehaviorPack.biomes, MinecraftData.edu.BehaviorPack.biomes);\n        }\n        BehaviorPack.getBiome = getBiome;\n        /**Gets the block by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getBlock(id, edu = false) {\n            return get(id, edu, MinecraftData.vanilla.BehaviorPack.blocks, MinecraftData.edu.BehaviorPack.blocks);\n        }\n        BehaviorPack.getBlock = getBlock;\n        /**Gets the block state by the given identification\n         * @param id The block state id\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getBlockState(id) {\n            return General.Blocks.block_states.find((item) => item.name === id);\n        }\n        BehaviorPack.getBlockState = getBlockState;\n        /**Gets the entity by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getEntity(id, edu = false) {\n            return get(id, edu, MinecraftData.vanilla.BehaviorPack.entities, MinecraftData.edu.BehaviorPack.entities);\n        }\n        BehaviorPack.getEntity = getEntity;\n        /**Gets the item by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getItem(id, edu = false) {\n            return get(id, edu, MinecraftData.vanilla.BehaviorPack.items, MinecraftData.edu.BehaviorPack.items);\n        }\n        BehaviorPack.getItem = getItem;\n        /**Gets the loot table by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getLootTable(id, edu = false) {\n            return getStr(id, edu, MinecraftData.vanilla.BehaviorPack.loot_tables, MinecraftData.edu.BehaviorPack.loot_tables);\n        }\n        BehaviorPack.getLootTable = getLootTable;\n        /**Gets the loot table by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getFeature(id, edu = false) {\n            return getStr(id, edu, MinecraftData.vanilla.BehaviorPack.features, MinecraftData.edu.BehaviorPack.features);\n        }\n        BehaviorPack.getFeature = getFeature;\n        /**Gets the trading by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getTrading(id, edu = false) {\n            return getStr(id, edu, MinecraftData.vanilla.BehaviorPack.trading, MinecraftData.edu.BehaviorPack.trading);\n        }\n        BehaviorPack.getTrading = getTrading;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasBiome(id, edu = false) {\n            return getBiome(id, edu) !== undefined;\n        }\n        BehaviorPack.hasBiome = hasBiome;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasBlock(id, edu = false) {\n            return getBlock(id, edu) !== undefined;\n        }\n        BehaviorPack.hasBlock = hasBlock;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasEntity(id, edu = false) {\n            return getEntity(id, edu) !== undefined;\n        }\n        BehaviorPack.hasEntity = hasEntity;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasItem(id, edu = false) {\n            return getItem(id, edu) !== undefined;\n        }\n        BehaviorPack.hasItem = hasItem;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasLootTable(id, edu = false) {\n            return getLootTable(id, edu) !== undefined;\n        }\n        BehaviorPack.hasLootTable = hasLootTable;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasTrading(id, edu = false) {\n            return getTrading(id, edu) !== undefined;\n        }\n        BehaviorPack.hasTrading = hasTrading;\n    })(BehaviorPack = MinecraftData.BehaviorPack || (MinecraftData.BehaviorPack = {}));\n    /**Access to resourcepack vanilla data*/\n    let ResourcePack;\n    (function (ResourcePack) {\n        /**Gets the animation controller by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getAnimationController(id, edu = false) {\n            return get(id, edu, MinecraftData.vanilla.ResourcePack.animation_controllers, MinecraftData.edu.ResourcePack.animation_controllers);\n        }\n        ResourcePack.getAnimationController = getAnimationController;\n        /**Gets the animation by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getAnimation(id, edu = false) {\n            return get(id, edu, MinecraftData.vanilla.ResourcePack.animations, MinecraftData.edu.ResourcePack.animations);\n        }\n        ResourcePack.getAnimation = getAnimation;\n        /**Gets the animation controller by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getEntity(id, edu = false) {\n            return get(id, edu, MinecraftData.vanilla.ResourcePack.entities, MinecraftData.edu.ResourcePack.entities);\n        }\n        ResourcePack.getEntity = getEntity;\n        /**Gets the fog by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getFog(id, edu = false) {\n            return getStr(id, edu, MinecraftData.vanilla.ResourcePack.fogs, MinecraftData.edu.ResourcePack.fogs);\n        }\n        ResourcePack.getFog = getFog;\n        /**Gets the material by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getMaterial(id, edu = false) {\n            return getStr(id, edu, MinecraftData.vanilla.ResourcePack.materials, MinecraftData.edu.ResourcePack.materials);\n        }\n        ResourcePack.getMaterial = getMaterial;\n        /**Gets the model by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getModel(id, edu = false) {\n            return get(id, edu, MinecraftData.vanilla.ResourcePack.models, MinecraftData.edu.ResourcePack.models);\n        }\n        ResourcePack.getModel = getModel;\n        /**Gets the particle by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getParticle(id, edu = false) {\n            return getStr(id, edu, MinecraftData.vanilla.ResourcePack.particles, MinecraftData.edu.ResourcePack.particles);\n        }\n        ResourcePack.getParticle = getParticle;\n        /**Gets the render controller by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getRenderController(id, edu = false) {\n            return getStr(id, edu, MinecraftData.vanilla.ResourcePack.render_controllers, MinecraftData.edu.ResourcePack.render_controllers);\n        }\n        ResourcePack.getRenderController = getRenderController;\n        /**Gets the sound by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getSound(id, edu = false) {\n            return getStr(id, edu, MinecraftData.vanilla.ResourcePack.sounds, MinecraftData.edu.ResourcePack.sounds);\n        }\n        ResourcePack.getSound = getSound;\n        /**Gets the sound file by the given identification\n         * @param file The filename of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getSoundFile(file, edu = false) {\n            return getStr(file, edu, MinecraftData.vanilla.ResourcePack.sound_files, MinecraftData.edu.ResourcePack.sound_files);\n        }\n        ResourcePack.getSoundFile = getSoundFile;\n        /**Gets the texture by the given identification\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function getTexture(id, edu = false) {\n            return getStr(id, edu, MinecraftData.vanilla.ResourcePack.textures, MinecraftData.edu.ResourcePack.textures);\n        }\n        ResourcePack.getTexture = getTexture;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasAnimationController(id, edu = false) {\n            return getAnimationController(id, edu) !== undefined;\n        }\n        ResourcePack.hasAnimationController = hasAnimationController;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasAnimation(id, edu = false) {\n            return getAnimation(id, edu) !== undefined;\n        }\n        ResourcePack.hasAnimation = hasAnimation;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasEntity(id, edu = false) {\n            return getEntity(id, edu) !== undefined;\n        }\n        ResourcePack.hasEntity = hasEntity;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasFog(id, edu = false) {\n            return getFog(id, edu) !== undefined;\n        }\n        ResourcePack.hasFog = hasFog;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasMaterial(id, edu = false) {\n            return getMaterial(id, edu) !== undefined;\n        }\n        ResourcePack.hasMaterial = hasMaterial;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasModel(id, edu = false) {\n            return getModel(id, edu) !== undefined;\n        }\n        ResourcePack.hasModel = hasModel;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasParticle(id, edu = false) {\n            return getParticle(id, edu) !== undefined;\n        }\n        ResourcePack.hasParticle = hasParticle;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasRenderController(id, edu = false) {\n            return getRenderController(id, edu) !== undefined;\n        }\n        ResourcePack.hasRenderController = hasRenderController;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasSound(id, edu = false) {\n            return getSound(id, edu) !== undefined;\n        }\n        ResourcePack.hasSound = hasSound;\n        /**Returns true or false if the given file exists\n         * @param file The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasSoundFile(file, edu = false) {\n            return getSound(file, edu) !== undefined;\n        }\n        ResourcePack.hasSoundFile = hasSoundFile;\n        /**Returns true or false if the given identification exists\n         * @param id The identification of the object to find\n         * @param edu Whether or not to include education data\n         * @returns A object with the specified id or undefined if nothing was found*/\n        function hasTexture(id, edu = false) {\n            return getTexture(id, edu) !== undefined;\n        }\n        ResourcePack.hasTexture = hasTexture;\n    })(ResourcePack = MinecraftData.ResourcePack || (MinecraftData.ResourcePack = {}));\n})(MinecraftData || (exports.MinecraftData = MinecraftData = {}));\nfunction get(id, includeEdu, vanilla, edu) {\n    let out = Identifiable_1.Identifiable.get(vanilla, id);\n    if (out)\n        return out;\n    if (includeEdu)\n        out = Identifiable_1.Identifiable.get(edu, id);\n    return out;\n}\nfunction getStr(id, includeEdu, vanilla, edu) {\n    if (vanilla.includes(id))\n        return id;\n    if (includeEdu && edu.includes(id))\n        return id;\n    return undefined;\n}\n"]}