/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/bc-minecraft-bedrock-vanilla-data@1.21.137-2/dist/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.MinecraftData=exports.Vanilla=exports.Types=exports.MinecraftDataSet=exports.Edu=void 0;const lib_1=require("./lib");Object.defineProperty(exports,"Edu",{enumerable:!0,get:function(){return lib_1.Edu}}),Object.defineProperty(exports,"Types",{enumerable:!0,get:function(){return lib_1.Types}}),Object.defineProperty(exports,"Vanilla",{enumerable:!0,get:function(){return lib_1.Vanilla}});const types_1=require("./lib/types");var MinecraftData;function get(e,a,t,i){let r=t.find((a=>a.id===e));return r||(a&&(r=i.find((a=>a.id===e))),r)}function getStr(e,a,t,i){return t.includes(e)||a&&i.includes(e)?e:void 0}Object.defineProperty(exports,"MinecraftDataSet",{enumerable:!0,get:function(){return types_1.MinecraftDataSet}}),function(e){let a,t,i;e.vanilla={BehaviorPack:{biomes:lib_1.Vanilla.BehaviorPack.Biomes,blocks:lib_1.Vanilla.BehaviorPack.Blocks,entities:lib_1.Vanilla.BehaviorPack.Entities,features:lib_1.Vanilla.BehaviorPack.Features,items:lib_1.Vanilla.BehaviorPack.Items,lootTables:lib_1.Vanilla.BehaviorPack.LootTables,trading:lib_1.Vanilla.BehaviorPack.Trading},ResourcePack:{animationControllers:lib_1.Vanilla.ResourcePack.AnimationControllers,animations:lib_1.Vanilla.ResourcePack.Animations,entities:lib_1.Vanilla.ResourcePack.Entities,fogs:lib_1.Vanilla.ResourcePack.Fogs,materials:lib_1.Vanilla.ResourcePack.Materials,models:lib_1.Vanilla.ResourcePack.Models,particles:lib_1.Vanilla.ResourcePack.Particles,renderControllers:lib_1.Vanilla.ResourcePack.RenderControllers,sounds:lib_1.Vanilla.ResourcePack.Sounds,soundFiles:lib_1.Vanilla.ResourcePack.SoundFiles,textures:lib_1.Vanilla.ResourcePack.Textures,textureAtlasItems:lib_1.Vanilla.ResourcePack.TextureItems,textureAtlasTerrain:lib_1.Vanilla.ResourcePack.TextureTerrain}},e.edu={BehaviorPack:{biomes:[],blocks:lib_1.Edu.BehaviorPack.Blocks,entities:lib_1.Edu.BehaviorPack.Entities,features:lib_1.Edu.BehaviorPack.Features,items:lib_1.Edu.BehaviorPack.Items,lootTables:lib_1.Edu.BehaviorPack.LootTables,trading:lib_1.Edu.BehaviorPack.Trading},ResourcePack:{animationControllers:lib_1.Edu.ResourcePack.AnimationControllers,animations:lib_1.Edu.ResourcePack.Animations,entities:lib_1.Edu.ResourcePack.Entities,fogs:lib_1.Edu.ResourcePack.Fogs,materials:lib_1.Edu.ResourcePack.Materials,models:lib_1.Edu.ResourcePack.Models,particles:lib_1.Edu.ResourcePack.Particles,renderControllers:lib_1.Edu.ResourcePack.RenderControllers,sounds:lib_1.Edu.ResourcePack.Sounds,soundFiles:lib_1.Edu.ResourcePack.SoundFiles,textures:lib_1.Edu.ResourcePack.Textures,textureAtlasItems:lib_1.Vanilla.ResourcePack.TextureItems,textureAtlasTerrain:lib_1.Vanilla.ResourcePack.TextureTerrain}},function(e){e.Biomes=lib_1.General.Biomes,e.Blocks=lib_1.General.BlockData,e.CameraPresets=lib_1.General.CameraPresets,e.CooldownCategory=lib_1.General.CooldownCategory,e.Dimensions=lib_1.General.Dimensions,e.Effects=lib_1.General.Effects,e.Entities=lib_1.General.EntityData,e.Enchantments=lib_1.General.Enchantments,e.Potions={Effects:lib_1.General.PotionEffects,Types:lib_1.General.PotionTypes,Modifiers:lib_1.General.PotionModifiers}}(a=e.General||(e.General={})),function(t){function i(a,t=!1){return get(a,t,e.vanilla.BehaviorPack.biomes,e.edu.BehaviorPack.biomes)}function r(a,t=!1){return get(a,t,e.vanilla.BehaviorPack.blocks,e.edu.BehaviorPack.blocks)}function n(a,t=!1){return get(a,t,e.vanilla.BehaviorPack.entities,e.edu.BehaviorPack.entities)}function o(a,t=!1){return get(a,t,e.vanilla.BehaviorPack.items,e.edu.BehaviorPack.items)}function l(a,t=!1){return getStr(a,t,e.vanilla.BehaviorPack.lootTables,e.edu.BehaviorPack.lootTables)}function s(a,t=!1){return getStr(a,t,e.vanilla.BehaviorPack.trading,e.edu.BehaviorPack.trading)}t.getBiome=i,t.getBlock=r,t.getBlockState=function(e){return a.Blocks.block_states.find((a=>a.name===e))},t.getEntity=n,t.getItem=o,t.getLootTable=l,t.getFeature=function(a,t=!1){return getStr(a,t,e.vanilla.BehaviorPack.features,e.edu.BehaviorPack.features)},t.getTrading=s,t.hasBiome=function(e,a=!1){return void 0!==i(e,a)},t.hasBlock=function(e,a=!1){return void 0!==r(e,a)},t.hasEntity=function(e,a=!1){return void 0!==n(e,a)},t.hasItem=function(e,a=!1){return void 0!==o(e,a)},t.hasLootTable=function(e,a=!1){return void 0!==l(e,a)},t.hasTrading=function(e,a=!1){return void 0!==s(e,a)}}(t=e.BehaviorPack||(e.BehaviorPack={})),function(a){function t(a,t=!1){return get(a,t,e.vanilla.ResourcePack.animationControllers,e.edu.ResourcePack.animationControllers)}function i(a,t=!1){return get(a,t,e.vanilla.ResourcePack.animations,e.edu.ResourcePack.animations)}function r(a,t=!1){return get(a,t,e.vanilla.ResourcePack.entities,e.edu.ResourcePack.entities)}function n(a,t=!1){return getStr(a,t,e.vanilla.ResourcePack.fogs,e.edu.ResourcePack.fogs)}function o(a,t=!1){return getStr(a,t,e.vanilla.ResourcePack.materials,e.edu.ResourcePack.materials)}function l(a,t=!1){return get(a,t,e.vanilla.ResourcePack.models,e.edu.ResourcePack.models)}function s(a,t=!1){return getStr(a,t,e.vanilla.ResourcePack.particles,e.edu.ResourcePack.particles)}function u(a,t=!1){return getStr(a,t,e.vanilla.ResourcePack.renderControllers,e.edu.ResourcePack.renderControllers)}function c(a,t=!1){return getStr(a,t,e.vanilla.ResourcePack.sounds,e.edu.ResourcePack.sounds)}function d(a,t=!1){return getStr(a,t,e.vanilla.ResourcePack.textures,e.edu.ResourcePack.textures)}a.getAnimationController=t,a.getAnimation=i,a.getEntity=r,a.getFog=n,a.getMaterial=o,a.getModel=l,a.getParticle=s,a.getRenderController=u,a.getSound=c,a.getSoundFile=function(a,t=!1){return getStr(a,t,e.vanilla.ResourcePack.soundFiles,e.edu.ResourcePack.soundFiles)},a.getTexture=d,a.hasAnimationController=function(e,a=!1){return void 0!==t(e,a)},a.hasAnimation=function(e,a=!1){return void 0!==i(e,a)},a.hasEntity=function(e,a=!1){return void 0!==r(e,a)},a.hasFog=function(e,a=!1){return void 0!==n(e,a)},a.hasMaterial=function(e,a=!1){return void 0!==o(e,a)},a.hasModel=function(e,a=!1){return void 0!==l(e,a)},a.hasParticle=function(e,a=!1){return void 0!==s(e,a)},a.hasRenderController=function(e,a=!1){return void 0!==u(e,a)},a.hasSound=function(e,a=!1){return void 0!==c(e,a)},a.hasSoundFile=function(e,a=!1){return void 0!==c(e,a)},a.hasTexture=function(e,a=!1){return void 0!==d(e,a)}}(i=e.ResourcePack||(e.ResourcePack={}))}(MinecraftData||(exports.MinecraftData=MinecraftData={}));
//# sourceMappingURL=/sm/8085f61b6d2dfee64278f782494da699c2c2c44333b7b7339d822bf1168e3305.map