bc-minecraft-bedrock-project 1.21.2-4 → 1.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/src/internal/behavior-pack/animation-controller.d.ts +49 -0
- package/lib/src/internal/behavior-pack/animation-controller.js +49 -0
- package/lib/src/internal/behavior-pack/animation-controller.js.map +1 -0
- package/lib/src/internal/behavior-pack/animation.d.ts +39 -0
- package/lib/src/internal/behavior-pack/animation.js +32 -0
- package/lib/src/internal/behavior-pack/animation.js.map +1 -0
- package/lib/src/internal/behavior-pack/animation.test.d.ts +1 -0
- package/lib/src/internal/behavior-pack/animation.test.js +30 -0
- package/lib/src/internal/behavior-pack/animation.test.js.map +1 -0
- package/lib/src/internal/behavior-pack/block.d.ts +30 -0
- package/lib/src/internal/behavior-pack/block.js +25 -0
- package/lib/src/internal/behavior-pack/block.js.map +1 -0
- package/lib/src/internal/behavior-pack/entity.d.ts +105 -0
- package/lib/src/internal/behavior-pack/entity.js +26 -0
- package/lib/src/internal/behavior-pack/entity.js.map +1 -0
- package/lib/src/internal/behavior-pack/feature.d.ts +116 -0
- package/lib/src/internal/behavior-pack/feature.js +45 -0
- package/lib/src/internal/behavior-pack/feature.js.map +1 -0
- package/lib/src/internal/behavior-pack/index.d.ts +5 -0
- package/lib/src/internal/behavior-pack/index.js +23 -0
- package/lib/src/internal/behavior-pack/index.js.map +1 -0
- package/lib/src/internal/behavior-pack/item.d.ts +32 -0
- package/lib/src/internal/behavior-pack/item.js +23 -0
- package/lib/src/internal/behavior-pack/item.js.map +1 -0
- package/lib/src/internal/comments/comment.d.ts +2 -0
- package/lib/src/internal/comments/comment.js +12 -0
- package/lib/src/internal/comments/comment.js.map +1 -0
- package/lib/src/internal/comments/index.d.ts +1 -0
- package/lib/src/internal/comments/index.js +19 -0
- package/lib/src/internal/comments/index.js.map +1 -0
- package/lib/src/internal/general/commands.js +3 -0
- package/lib/src/internal/general/commands.js.map +1 -0
- package/lib/src/internal/general/controllers/index.d.ts +1 -0
- package/lib/src/internal/general/controllers/index.js +19 -0
- package/lib/src/internal/general/controllers/index.js.map +1 -0
- package/lib/src/internal/general/controllers/state.js +19 -0
- package/lib/src/internal/general/controllers/state.js.map +1 -0
- package/lib/src/internal/general/index.d.ts +2 -0
- package/lib/src/internal/general/index.js +33 -0
- package/lib/src/internal/general/index.js.map +1 -0
- package/lib/src/internal/index.d.ts +6 -0
- package/lib/src/internal/index.js +37 -0
- package/lib/src/internal/index.js.map +1 -0
- package/lib/src/internal/json.d.ts +8 -0
- package/lib/src/internal/json.js +43 -0
- package/lib/src/internal/json.js.map +1 -0
- package/lib/src/internal/json.test.d.ts +1 -0
- package/lib/src/internal/json.test.js +32 -0
- package/lib/src/internal/json.test.js.map +1 -0
- package/lib/src/internal/resource-pack/AnimationController.d.ts +66 -0
- package/lib/src/internal/resource-pack/AnimationController.js.map +1 -0
- package/lib/src/internal/resource-pack/animation-controller.d.ts +66 -0
- package/lib/src/internal/resource-pack/animation-controller.js +49 -0
- package/lib/src/internal/resource-pack/animation-controller.js.map +1 -0
- package/lib/src/internal/resource-pack/animation.d.ts +64 -0
- package/lib/src/internal/resource-pack/animation.js +32 -0
- package/lib/src/internal/resource-pack/animation.js.map +1 -0
- package/lib/src/internal/resource-pack/animation.test.d.ts +1 -0
- package/lib/src/internal/resource-pack/animation.test.js +31 -0
- package/lib/src/internal/resource-pack/animation.test.js.map +1 -0
- package/lib/src/internal/resource-pack/attachable.d.ts +48 -0
- package/lib/src/internal/resource-pack/attachable.js +25 -0
- package/lib/src/internal/resource-pack/attachable.js.map +1 -0
- package/lib/src/internal/resource-pack/block-culling.d.ts +76 -0
- package/lib/src/internal/resource-pack/block-culling.js +25 -0
- package/lib/src/internal/resource-pack/block-culling.js.map +1 -0
- package/lib/src/internal/resource-pack/entity.d.ts +45 -0
- package/lib/src/internal/resource-pack/entity.js +23 -0
- package/lib/src/internal/resource-pack/entity.js.map +1 -0
- package/lib/src/internal/resource-pack/entity.test.d.ts +1 -0
- package/lib/src/internal/resource-pack/entity.test.js +51 -0
- package/lib/src/internal/resource-pack/entity.test.js.map +1 -0
- package/lib/src/internal/resource-pack/fog.d.ts +51 -0
- package/lib/src/internal/resource-pack/fog.js +25 -0
- package/lib/src/internal/resource-pack/fog.js.map +1 -0
- package/lib/src/internal/resource-pack/index.d.ts +12 -0
- package/lib/src/internal/resource-pack/index.js +30 -0
- package/lib/src/internal/resource-pack/index.js.map +1 -0
- package/lib/src/internal/resource-pack/material.d.ts +12 -0
- package/lib/src/internal/resource-pack/material.js +15 -0
- package/lib/src/internal/resource-pack/material.js.map +1 -0
- package/lib/src/internal/resource-pack/model.d.ts +71 -0
- package/lib/src/internal/resource-pack/model.js +78 -0
- package/lib/src/internal/resource-pack/model.js.map +1 -0
- package/lib/src/internal/resource-pack/particle.d.ts +34 -0
- package/lib/src/internal/resource-pack/particle.js +25 -0
- package/lib/src/internal/resource-pack/particle.js.map +1 -0
- package/lib/src/internal/resource-pack/render-controller.d.ts +54 -0
- package/lib/src/internal/resource-pack/render-controller.js +16 -0
- package/lib/src/internal/resource-pack/render-controller.js.map +1 -0
- package/lib/src/internal/resource-pack/sound-definitions.d.ts +32 -0
- package/lib/src/internal/resource-pack/sound-definitions.js +20 -0
- package/lib/src/internal/resource-pack/sound-definitions.js.map +1 -0
- package/lib/src/internal/resource-pack/texture-atlas.d.ts +28 -0
- package/lib/src/internal/resource-pack/texture-atlas.js +22 -0
- package/lib/src/internal/resource-pack/texture-atlas.js.map +1 -0
- package/lib/src/internal/types/format-version.js +69 -0
- package/lib/src/internal/types/format-version.js.map +1 -0
- package/lib/src/internal/types/index.d.ts +3 -0
- package/lib/src/internal/types/index.js +21 -0
- package/lib/src/internal/types/index.js.map +1 -0
- package/lib/src/internal/types/manifest.d.ts +113 -0
- package/lib/src/internal/types/manifest.js +153 -0
- package/lib/src/internal/types/manifest.js.map +1 -0
- package/lib/src/internal/types/script.js +37 -0
- package/lib/src/internal/types/script.js.map +1 -0
- package/lib/src/main.d.ts +3 -3
- package/lib/src/main.js +3 -3
- package/lib/src/main.js.map +1 -1
- package/lib/src/project/behavior-pack/animation/animation.d.ts +8 -0
- package/lib/src/project/behavior-pack/animation/animation.js +3 -0
- package/lib/src/project/behavior-pack/animation/animation.js.map +1 -0
- package/lib/src/project/behavior-pack/animation/index.d.ts +2 -0
- package/lib/src/project/behavior-pack/animation/index.js +20 -0
- package/lib/src/project/behavior-pack/animation/index.js.map +1 -0
- package/lib/src/project/behavior-pack/animation/process.d.ts +4 -0
- package/lib/src/project/behavior-pack/animation/process.js +56 -0
- package/lib/src/project/behavior-pack/animation/process.js.map +1 -0
- package/lib/src/project/behavior-pack/animation-controller/animation-controller.d.ts +10 -0
- package/lib/src/project/behavior-pack/animation-controller/animation-controller.js +3 -0
- package/lib/src/project/behavior-pack/animation-controller/animation-controller.js.map +1 -0
- package/lib/src/project/behavior-pack/animation-controller/animation-controllers.test.d.ts +1 -0
- package/lib/src/project/behavior-pack/animation-controller/animation-controllers.test.js +19 -0
- package/lib/src/project/behavior-pack/animation-controller/animation-controllers.test.js.map +1 -0
- package/lib/src/project/behavior-pack/animation-controller/index.d.ts +2 -0
- package/lib/src/project/behavior-pack/animation-controller/index.js +20 -0
- package/lib/src/project/behavior-pack/animation-controller/index.js.map +1 -0
- package/lib/src/project/behavior-pack/animation-controller/process.d.ts +8 -0
- package/lib/src/project/behavior-pack/animation-controller/process.js +72 -0
- package/lib/src/project/behavior-pack/animation-controller/process.js.map +1 -0
- package/lib/src/project/behavior-pack/behavior-pack-collection.d.ts +43 -0
- package/lib/src/project/behavior-pack/behavior-pack-collection.js +35 -0
- package/lib/src/project/behavior-pack/behavior-pack-collection.js.map +1 -0
- package/lib/src/project/behavior-pack/behavior-pack-collection.test.d.ts +1 -0
- package/lib/src/project/behavior-pack/behavior-pack-collection.test.js +92 -0
- package/lib/src/project/behavior-pack/behavior-pack-collection.test.js.map +1 -0
- package/lib/src/project/behavior-pack/behavior-pack.d.ts +99 -0
- package/lib/src/project/behavior-pack/behavior-pack.js +245 -0
- package/lib/src/project/behavior-pack/behavior-pack.js.map +1 -0
- package/lib/src/project/behavior-pack/behavior-pack.test.d.ts +1 -0
- package/lib/src/project/behavior-pack/behavior-pack.test.js +55 -0
- package/lib/src/project/behavior-pack/behavior-pack.test.js.map +1 -0
- package/lib/src/project/behavior-pack/block/block-state.js +54 -0
- package/lib/src/project/behavior-pack/block/block-state.js.map +1 -0
- package/lib/src/project/behavior-pack/block/block.d.ts +11 -0
- package/lib/src/project/behavior-pack/block/block.js +3 -0
- package/lib/src/project/behavior-pack/block/block.js.map +1 -0
- package/lib/src/project/behavior-pack/block/index.d.ts +3 -0
- package/lib/src/project/behavior-pack/block/index.js +21 -0
- package/lib/src/project/behavior-pack/block/index.js.map +1 -0
- package/lib/src/project/behavior-pack/block/process.d.ts +8 -0
- package/lib/src/project/behavior-pack/block/process.js +62 -0
- package/lib/src/project/behavior-pack/block/process.js.map +1 -0
- package/lib/src/project/behavior-pack/entity/entity.d.ts +19 -0
- package/lib/src/project/behavior-pack/entity/entity.js +3 -0
- package/lib/src/project/behavior-pack/entity/entity.js.map +1 -0
- package/lib/src/project/behavior-pack/entity/entity.test.d.ts +1 -0
- package/lib/src/project/behavior-pack/entity/entity.test.js +81 -0
- package/lib/src/project/behavior-pack/entity/entity.test.js.map +1 -0
- package/lib/src/project/behavior-pack/entity/index.d.ts +3 -0
- package/lib/src/project/behavior-pack/entity/index.js +21 -0
- package/lib/src/project/behavior-pack/entity/index.js.map +1 -0
- package/lib/src/project/behavior-pack/entity/process.d.ts +8 -0
- package/lib/src/project/behavior-pack/entity/process.js +97 -0
- package/lib/src/project/behavior-pack/entity/process.js.map +1 -0
- package/lib/src/project/behavior-pack/entity/properties.js +48 -0
- package/lib/src/project/behavior-pack/entity/properties.js.map +1 -0
- package/lib/src/project/behavior-pack/feature/feature.js +3 -0
- package/lib/src/project/behavior-pack/feature/feature.js.map +1 -0
- package/lib/src/project/behavior-pack/feature/index.d.ts +2 -0
- package/lib/src/project/behavior-pack/feature/index.js +20 -0
- package/lib/src/project/behavior-pack/feature/index.js.map +1 -0
- package/lib/src/project/behavior-pack/feature/process.d.ts +8 -0
- package/lib/src/project/behavior-pack/feature/process.js +56 -0
- package/lib/src/project/behavior-pack/feature/process.js.map +1 -0
- package/lib/src/project/behavior-pack/file-type.js +85 -0
- package/lib/src/project/behavior-pack/file-type.js.map +1 -0
- package/lib/src/project/behavior-pack/file-type.test.d.ts +1 -0
- package/lib/src/project/behavior-pack/file-type.test.js +47 -0
- package/lib/src/project/behavior-pack/file-type.test.js.map +1 -0
- package/lib/src/project/behavior-pack/index.d.ts +12 -0
- package/lib/src/project/behavior-pack/index.js +43 -0
- package/lib/src/project/behavior-pack/index.js.map +1 -0
- package/lib/src/project/behavior-pack/item/index.d.ts +2 -0
- package/lib/src/project/behavior-pack/item/index.js +20 -0
- package/lib/src/project/behavior-pack/item/index.js.map +1 -0
- package/lib/src/project/behavior-pack/item/item.d.ts +8 -0
- package/lib/src/project/behavior-pack/item/item.js +3 -0
- package/lib/src/project/behavior-pack/item/item.js.map +1 -0
- package/lib/src/project/behavior-pack/item/process.d.ts +8 -0
- package/lib/src/project/behavior-pack/item/process.js +53 -0
- package/lib/src/project/behavior-pack/item/process.js.map +1 -0
- package/lib/src/project/behavior-pack/loot-table/index.d.ts +2 -0
- package/lib/src/project/behavior-pack/loot-table/index.js +20 -0
- package/lib/src/project/behavior-pack/loot-table/index.js.map +1 -0
- package/lib/src/project/behavior-pack/loot-table/loot-table.js +3 -0
- package/lib/src/project/behavior-pack/loot-table/loot-table.js.map +1 -0
- package/lib/src/project/behavior-pack/loot-table/loot-table.test.d.ts +1 -0
- package/lib/src/project/behavior-pack/loot-table/loot-table.test.js +15 -0
- package/lib/src/project/behavior-pack/loot-table/loot-table.test.js.map +1 -0
- package/lib/src/project/behavior-pack/loot-table/process.d.ts +8 -0
- package/lib/src/project/behavior-pack/loot-table/process.js +24 -0
- package/lib/src/project/behavior-pack/loot-table/process.js.map +1 -0
- package/lib/src/project/behavior-pack/mcfunction/comment.js +10 -0
- package/lib/src/project/behavior-pack/mcfunction/comment.js.map +1 -0
- package/lib/src/project/behavior-pack/mcfunction/function.js +3 -0
- package/lib/src/project/behavior-pack/mcfunction/function.js.map +1 -0
- package/lib/src/project/behavior-pack/mcfunction/function.test.d.ts +1 -0
- package/lib/src/project/behavior-pack/mcfunction/function.test.js +28 -0
- package/lib/src/project/behavior-pack/mcfunction/function.test.js.map +1 -0
- package/lib/src/project/behavior-pack/mcfunction/index.d.ts +3 -0
- package/lib/src/project/behavior-pack/mcfunction/index.js +21 -0
- package/lib/src/project/behavior-pack/mcfunction/index.js.map +1 -0
- package/lib/src/project/behavior-pack/mcfunction/process.d.ts +8 -0
- package/lib/src/project/behavior-pack/mcfunction/process.js +31 -0
- package/lib/src/project/behavior-pack/mcfunction/process.js.map +1 -0
- package/lib/src/project/behavior-pack/structure/index.d.ts +2 -0
- package/lib/src/project/behavior-pack/structure/index.js +20 -0
- package/lib/src/project/behavior-pack/structure/index.js.map +1 -0
- package/lib/src/project/behavior-pack/structure/process.d.ts +8 -0
- package/lib/src/project/behavior-pack/structure/process.js +28 -0
- package/lib/src/project/behavior-pack/structure/process.js.map +1 -0
- package/lib/src/project/behavior-pack/structure/structure.js +3 -0
- package/lib/src/project/behavior-pack/structure/structure.js.map +1 -0
- package/lib/src/project/behavior-pack/structure/structure.test.d.ts +1 -0
- package/lib/src/project/behavior-pack/structure/structure.test.js +24 -0
- package/lib/src/project/behavior-pack/structure/structure.test.js.map +1 -0
- package/lib/src/project/behavior-pack/trading/index.d.ts +2 -0
- package/lib/src/project/behavior-pack/trading/index.js +20 -0
- package/lib/src/project/behavior-pack/trading/index.js.map +1 -0
- package/lib/src/project/behavior-pack/trading/process.d.ts +8 -0
- package/lib/src/project/behavior-pack/trading/process.js +24 -0
- package/lib/src/project/behavior-pack/trading/process.js.map +1 -0
- package/lib/src/project/behavior-pack/trading/trading.js +3 -0
- package/lib/src/project/behavior-pack/trading/trading.js.map +1 -0
- package/lib/src/project/behavior-pack/trading/trading.test.d.ts +1 -0
- package/lib/src/project/behavior-pack/trading/trading.test.js +15 -0
- package/lib/src/project/behavior-pack/trading/trading.test.js.map +1 -0
- package/lib/src/project/general/general-info.test.d.ts +1 -0
- package/lib/src/project/general/general-info.test.js +16 -0
- package/lib/src/project/general/general-info.test.js.map +1 -0
- package/lib/src/project/general/general.d.ts +47 -0
- package/lib/src/project/general/general.js +89 -0
- package/lib/src/project/general/general.js.map +1 -0
- package/lib/src/project/general/index.d.ts +2 -0
- package/lib/src/project/general/index.js +33 -0
- package/lib/src/project/general/index.js.map +1 -0
- package/lib/src/project/general/types/commands/commands.test.d.ts +1 -0
- package/lib/src/project/general/types/commands/commands.test.js +100 -0
- package/lib/src/project/general/types/commands/commands.test.js.map +1 -0
- package/lib/src/project/general/types/commands/index.d.ts +1 -0
- package/lib/src/project/general/types/commands/index.js +19 -0
- package/lib/src/project/general/types/commands/index.js.map +1 -0
- package/lib/src/project/general/types/commands/process.d.ts +43 -0
- package/lib/src/project/general/types/commands/process.js +167 -0
- package/lib/src/project/general/types/commands/process.js.map +1 -0
- package/lib/src/project/general/types/general-info.js +27 -0
- package/lib/src/project/general/types/general-info.js.map +1 -0
- package/lib/src/project/general/types/index.d.ts +6 -0
- package/lib/src/project/general/types/index.js +37 -0
- package/lib/src/project/general/types/index.js.map +1 -0
- package/lib/src/project/general/types/objective/index.d.ts +1 -0
- package/lib/src/project/general/types/objective/index.js +19 -0
- package/lib/src/project/general/types/objective/index.js.map +1 -0
- package/lib/src/project/general/types/objective/process.d.ts +4 -0
- package/lib/src/project/general/types/objective/process.js +56 -0
- package/lib/src/project/general/types/objective/process.js.map +1 -0
- package/lib/src/project/general/types/structures/index.d.ts +1 -0
- package/lib/src/project/general/types/structures/index.js +19 -0
- package/lib/src/project/general/types/structures/index.js.map +1 -0
- package/lib/src/project/general/types/structures/process.d.ts +4 -0
- package/lib/src/project/general/types/structures/process.js +15 -0
- package/lib/src/project/general/types/structures/process.js.map +1 -0
- package/lib/src/project/general/types/tag/index.d.ts +1 -0
- package/lib/src/project/general/types/tag/index.js +19 -0
- package/lib/src/project/general/types/tag/index.js.map +1 -0
- package/lib/src/project/general/types/tag/process.d.ts +4 -0
- package/lib/src/project/general/types/tag/process.js +15 -0
- package/lib/src/project/general/types/tag/process.js.map +1 -0
- package/lib/src/project/general/types/tickingarea/index.d.ts +1 -0
- package/lib/src/project/general/types/tickingarea/index.js +19 -0
- package/lib/src/project/general/types/tickingarea/index.js.map +1 -0
- package/lib/src/project/general/types/tickingarea/process.d.ts +4 -0
- package/lib/src/project/general/types/tickingarea/process.js +66 -0
- package/lib/src/project/general/types/tickingarea/process.js.map +1 -0
- package/lib/src/project/index.d.ts +8 -0
- package/lib/src/project/index.js +39 -0
- package/lib/src/project/index.js.map +1 -0
- package/lib/src/project/pack-type.js +88 -0
- package/lib/src/project/pack-type.js.map +1 -0
- package/lib/src/project/pack-type.test.d.ts +1 -0
- package/lib/src/project/pack-type.test.js +34 -0
- package/lib/src/project/pack-type.test.js.map +1 -0
- package/lib/src/project/project-data.d.ts +61 -0
- package/lib/src/project/project-data.js +151 -0
- package/lib/src/project/project-data.js.map +1 -0
- package/lib/src/project/project-data.test.d.ts +1 -0
- package/lib/src/project/project-data.test.js +328 -0
- package/lib/src/project/project-data.test.js.map +1 -0
- package/lib/src/project/resource-pack/animation/animation.d.ts +12 -0
- package/lib/src/project/resource-pack/animation/animation.js +3 -0
- package/lib/src/project/resource-pack/animation/animation.js.map +1 -0
- package/lib/src/project/resource-pack/animation/index.d.ts +2 -0
- package/lib/src/project/resource-pack/animation/index.js +20 -0
- package/lib/src/project/resource-pack/animation/index.js.map +1 -0
- package/lib/src/project/resource-pack/animation/process.d.ts +4 -0
- package/lib/src/project/resource-pack/animation/process.js +74 -0
- package/lib/src/project/resource-pack/animation/process.js.map +1 -0
- package/lib/src/project/resource-pack/animation-controller/animation-controller.d.ts +15 -0
- package/lib/src/project/resource-pack/animation-controller/animation-controller.js +3 -0
- package/lib/src/project/resource-pack/animation-controller/animation-controller.js.map +1 -0
- package/lib/src/project/resource-pack/animation-controller/animation-controllers.test.d.ts +1 -0
- package/lib/src/project/resource-pack/animation-controller/animation-controllers.test.js +16 -0
- package/lib/src/project/resource-pack/animation-controller/animation-controllers.test.js.map +1 -0
- package/lib/src/project/resource-pack/animation-controller/index.d.ts +2 -0
- package/lib/src/project/resource-pack/animation-controller/index.js +20 -0
- package/lib/src/project/resource-pack/animation-controller/index.js.map +1 -0
- package/lib/src/project/resource-pack/animation-controller/process.d.ts +4 -0
- package/lib/src/project/resource-pack/animation-controller/process.js +76 -0
- package/lib/src/project/resource-pack/animation-controller/process.js.map +1 -0
- package/lib/src/project/resource-pack/attachable/attachable.d.ts +10 -0
- package/lib/src/project/resource-pack/attachable/attachable.js +3 -0
- package/lib/src/project/resource-pack/attachable/attachable.js.map +1 -0
- package/lib/src/project/resource-pack/attachable/index.d.ts +2 -0
- package/lib/src/project/resource-pack/attachable/index.js +20 -0
- package/lib/src/project/resource-pack/attachable/index.js.map +1 -0
- package/lib/src/project/resource-pack/attachable/process.d.ts +8 -0
- package/lib/src/project/resource-pack/attachable/process.js +98 -0
- package/lib/src/project/resource-pack/attachable/process.js.map +1 -0
- package/lib/src/project/resource-pack/block/block.js +3 -0
- package/lib/src/project/resource-pack/block/block.js.map +1 -0
- package/lib/src/project/resource-pack/block/index.d.ts +1 -0
- package/lib/src/project/resource-pack/block/index.js +19 -0
- package/lib/src/project/resource-pack/block/index.js.map +1 -0
- package/lib/src/project/resource-pack/block-culling/culling.js +3 -0
- package/lib/src/project/resource-pack/block-culling/culling.js.map +1 -0
- package/lib/src/project/resource-pack/block-culling/index.d.ts +2 -0
- package/lib/src/project/resource-pack/block-culling/index.js +20 -0
- package/lib/src/project/resource-pack/block-culling/index.js.map +1 -0
- package/lib/src/project/resource-pack/block-culling/process.d.ts +3 -0
- package/lib/src/project/resource-pack/block-culling/process.js +60 -0
- package/lib/src/project/resource-pack/block-culling/process.js.map +1 -0
- package/lib/src/project/resource-pack/entity/entity.d.ts +10 -0
- package/lib/src/project/resource-pack/entity/entity.js +3 -0
- package/lib/src/project/resource-pack/entity/entity.js.map +1 -0
- package/lib/src/project/resource-pack/entity/index.d.ts +2 -0
- package/lib/src/project/resource-pack/entity/index.js +20 -0
- package/lib/src/project/resource-pack/entity/index.js.map +1 -0
- package/lib/src/project/resource-pack/entity/process.d.ts +8 -0
- package/lib/src/project/resource-pack/entity/process.js +97 -0
- package/lib/src/project/resource-pack/entity/process.js.map +1 -0
- package/lib/src/project/resource-pack/file-type.js +107 -0
- package/lib/src/project/resource-pack/file-type.js.map +1 -0
- package/lib/src/project/resource-pack/file-type.test.d.ts +1 -0
- package/lib/src/project/resource-pack/file-type.test.js +58 -0
- package/lib/src/project/resource-pack/file-type.test.js.map +1 -0
- package/lib/src/project/resource-pack/fog/fog.js +3 -0
- package/lib/src/project/resource-pack/fog/fog.js.map +1 -0
- package/lib/src/project/resource-pack/fog/index.d.ts +2 -0
- package/lib/src/project/resource-pack/fog/index.js +20 -0
- package/lib/src/project/resource-pack/fog/index.js.map +1 -0
- package/lib/src/project/resource-pack/fog/process.d.ts +8 -0
- package/lib/src/project/resource-pack/fog/process.js +51 -0
- package/lib/src/project/resource-pack/fog/process.js.map +1 -0
- package/lib/src/project/resource-pack/index.d.ts +15 -0
- package/lib/src/project/resource-pack/index.js +46 -0
- package/lib/src/project/resource-pack/index.js.map +1 -0
- package/lib/src/project/resource-pack/material/index.d.ts +2 -0
- package/lib/src/project/resource-pack/material/index.js +20 -0
- package/lib/src/project/resource-pack/material/index.js.map +1 -0
- package/lib/src/project/resource-pack/material/material.js +3 -0
- package/lib/src/project/resource-pack/material/material.js.map +1 -0
- package/lib/src/project/resource-pack/material/process.d.ts +8 -0
- package/lib/src/project/resource-pack/material/process.js +55 -0
- package/lib/src/project/resource-pack/material/process.js.map +1 -0
- package/lib/src/project/resource-pack/model/index.d.ts +2 -0
- package/lib/src/project/resource-pack/model/index.js +20 -0
- package/lib/src/project/resource-pack/model/index.js.map +1 -0
- package/lib/src/project/resource-pack/model/model.js +3 -0
- package/lib/src/project/resource-pack/model/model.js.map +1 -0
- package/lib/src/project/resource-pack/model/process.d.ts +8 -0
- package/lib/src/project/resource-pack/model/process.js +90 -0
- package/lib/src/project/resource-pack/model/process.js.map +1 -0
- package/lib/src/project/resource-pack/particle/index.d.ts +2 -0
- package/lib/src/project/resource-pack/particle/index.js +20 -0
- package/lib/src/project/resource-pack/particle/index.js.map +1 -0
- package/lib/src/project/resource-pack/particle/particle.js +3 -0
- package/lib/src/project/resource-pack/particle/particle.js.map +1 -0
- package/lib/src/project/resource-pack/particle/process.d.ts +8 -0
- package/lib/src/project/resource-pack/particle/process.js +51 -0
- package/lib/src/project/resource-pack/particle/process.js.map +1 -0
- package/lib/src/project/resource-pack/render-controller/index.d.ts +2 -0
- package/lib/src/project/resource-pack/render-controller/index.js +20 -0
- package/lib/src/project/resource-pack/render-controller/index.js.map +1 -0
- package/lib/src/project/resource-pack/render-controller/process.d.ts +4 -0
- package/lib/src/project/resource-pack/render-controller/process.js +55 -0
- package/lib/src/project/resource-pack/render-controller/process.js.map +1 -0
- package/lib/src/project/resource-pack/render-controller/render-controller.d.ts +8 -0
- package/lib/src/project/resource-pack/render-controller/render-controller.js +3 -0
- package/lib/src/project/resource-pack/render-controller/render-controller.js.map +1 -0
- package/lib/src/project/resource-pack/resource-pack-collection.d.ts +46 -0
- package/lib/src/project/resource-pack/resource-pack-collection.js +32 -0
- package/lib/src/project/resource-pack/resource-pack-collection.js.map +1 -0
- package/lib/src/project/resource-pack/resource-pack-collection.test.d.ts +1 -0
- package/lib/src/project/resource-pack/resource-pack-collection.test.js +18 -0
- package/lib/src/project/resource-pack/resource-pack-collection.test.js.map +1 -0
- package/lib/src/project/resource-pack/resource-pack.d.ts +106 -0
- package/lib/src/project/resource-pack/resource-pack.js +281 -0
- package/lib/src/project/resource-pack/resource-pack.js.map +1 -0
- package/lib/src/project/resource-pack/resource-pack.test.d.ts +1 -0
- package/lib/src/project/resource-pack/resource-pack.test.js +52 -0
- package/lib/src/project/resource-pack/resource-pack.test.js.map +1 -0
- package/lib/src/project/resource-pack/sound/index.d.ts +2 -0
- package/lib/src/project/resource-pack/sound/index.js +20 -0
- package/lib/src/project/resource-pack/sound/index.js.map +1 -0
- package/lib/src/project/resource-pack/sound/process.d.ts +8 -0
- package/lib/src/project/resource-pack/sound/process.js +54 -0
- package/lib/src/project/resource-pack/sound/process.js.map +1 -0
- package/lib/src/project/resource-pack/sound/sound.js +3 -0
- package/lib/src/project/resource-pack/sound/sound.js.map +1 -0
- package/lib/src/project/resource-pack/texture/index.d.ts +2 -0
- package/lib/src/project/resource-pack/texture/index.js +20 -0
- package/lib/src/project/resource-pack/texture/index.js.map +1 -0
- package/lib/src/project/resource-pack/texture/process.d.ts +8 -0
- package/lib/src/project/resource-pack/texture/process.js +32 -0
- package/lib/src/project/resource-pack/texture/process.js.map +1 -0
- package/lib/src/project/resource-pack/texture/texture.js +3 -0
- package/lib/src/project/resource-pack/texture/texture.js.map +1 -0
- package/lib/src/project/skin-pack/FileType.js +39 -0
- package/lib/src/project/skin-pack/FileType.js.map +1 -0
- package/lib/src/project/skin-pack/index.js.map +1 -0
- package/lib/src/project/util.d.ts +34 -0
- package/lib/src/project/util.js +47 -0
- package/lib/src/project/util.js.map +1 -0
- package/lib/src/project/world/index.d.ts +2 -0
- package/lib/src/project/world/index.js +20 -0
- package/lib/src/project/world/index.js.map +1 -0
- package/lib/src/project/world/world-pack-collection.d.ts +9 -0
- package/lib/src/project/world/world-pack-collection.js +18 -0
- package/lib/src/project/world/world-pack-collection.js.map +1 -0
- package/lib/src/project/world/world-pack.d.ts +62 -0
- package/lib/src/project/world/world-pack.js +89 -0
- package/lib/src/project/world/world-pack.js.map +1 -0
- package/lib/src/types/carrier.js +3 -0
- package/lib/src/types/carrier.js.map +1 -0
- package/lib/src/types/container.js +20 -0
- package/lib/src/types/container.js.map +1 -0
- package/lib/src/types/data-set-connector.d.ts +23 -0
- package/lib/src/types/data-set-connector.js +59 -0
- package/lib/src/types/data-set-connector.js.map +1 -0
- package/lib/src/types/data-set.d.ts +66 -0
- package/lib/src/types/data-set.js +94 -0
- package/lib/src/types/data-set.js.map +1 -0
- package/lib/src/types/data-set.test.d.ts +1 -0
- package/lib/src/types/data-set.test.js +120 -0
- package/lib/src/types/data-set.test.js.map +1 -0
- package/lib/src/types/documentation.d.ts +14 -0
- package/lib/src/types/documentation.js +86 -0
- package/lib/src/types/documentation.js.map +1 -0
- package/lib/src/types/documentation.test.d.ts +1 -0
- package/lib/src/types/documentation.test.js +60 -0
- package/lib/src/types/documentation.test.js.map +1 -0
- package/lib/src/types/i-data-set.js +3 -0
- package/lib/src/types/i-data-set.js.map +1 -0
- package/lib/src/types/index.d.ts +13 -0
- package/lib/src/types/index.js +31 -0
- package/lib/src/types/index.js.map +1 -0
- package/lib/src/types/json-path.d.ts +25 -0
- package/lib/src/types/json-path.js +48 -0
- package/lib/src/types/json-path.js.map +1 -0
- package/lib/src/types/json-path.test.d.ts +1 -0
- package/lib/src/types/json-path.test.js +43 -0
- package/lib/src/types/json-path.test.js.map +1 -0
- package/lib/src/types/pack-collection.d.ts +48 -0
- package/lib/src/types/pack-collection.js +91 -0
- package/lib/src/types/pack-collection.js.map +1 -0
- package/lib/src/types/pack-collection.test.d.ts +1 -0
- package/lib/src/types/pack-collection.test.js +219 -0
- package/lib/src/types/pack-collection.test.js.map +1 -0
- package/lib/src/types/pack.d.ts +53 -0
- package/lib/src/types/pack.js +20 -0
- package/lib/src/types/pack.js.map +1 -0
- package/lib/src/types/project-context.d.ts +13 -0
- package/lib/src/types/project-context.js +3 -0
- package/lib/src/types/project-context.js.map +1 -0
- package/lib/src/types/smap.js +23 -0
- package/lib/src/types/smap.js.map +1 -0
- package/lib/src/types/smap.test.d.ts +1 -0
- package/lib/src/types/smap.test.js +36 -0
- package/lib/src/types/smap.test.js.map +1 -0
- package/lib/src/types/text-document.js +28 -0
- package/lib/src/types/text-document.js.map +1 -0
- package/lib/src/types/text.js +15 -0
- package/lib/src/types/text.js.map +1 -0
- package/lib/src/types/text.test.d.ts +1 -0
- package/lib/src/types/text.test.js +19 -0
- package/lib/src/types/text.test.js.map +1 -0
- package/package.json +17 -13
- package/lib/src/Lib/Internal/BehaviorPack/Animation.d.ts +0 -39
- package/lib/src/Lib/Internal/BehaviorPack/Animation.js +0 -32
- package/lib/src/Lib/Internal/BehaviorPack/Animation.js.map +0 -1
- package/lib/src/Lib/Internal/BehaviorPack/AnimationController.d.ts +0 -49
- package/lib/src/Lib/Internal/BehaviorPack/AnimationController.js.map +0 -1
- package/lib/src/Lib/Internal/BehaviorPack/Block.d.ts +0 -30
- package/lib/src/Lib/Internal/BehaviorPack/Block.js +0 -23
- package/lib/src/Lib/Internal/BehaviorPack/Block.js.map +0 -1
- package/lib/src/Lib/Internal/BehaviorPack/Entity.d.ts +0 -105
- package/lib/src/Lib/Internal/BehaviorPack/Entity.js +0 -26
- package/lib/src/Lib/Internal/BehaviorPack/Entity.js.map +0 -1
- package/lib/src/Lib/Internal/BehaviorPack/Feature.d.ts +0 -116
- package/lib/src/Lib/Internal/BehaviorPack/Feature.js +0 -45
- package/lib/src/Lib/Internal/BehaviorPack/Feature.js.map +0 -1
- package/lib/src/Lib/Internal/BehaviorPack/Item.d.ts +0 -32
- package/lib/src/Lib/Internal/BehaviorPack/Item.js +0 -23
- package/lib/src/Lib/Internal/BehaviorPack/Item.js.map +0 -1
- package/lib/src/Lib/Internal/BehaviorPack/index.d.ts +0 -5
- package/lib/src/Lib/Internal/BehaviorPack/index.js +0 -23
- package/lib/src/Lib/Internal/BehaviorPack/index.js.map +0 -1
- package/lib/src/Lib/Internal/Comment/Comment.d.ts +0 -2
- package/lib/src/Lib/Internal/Comment/Comment.js +0 -12
- package/lib/src/Lib/Internal/Comment/Comment.js.map +0 -1
- package/lib/src/Lib/Internal/Comment/index.d.ts +0 -1
- package/lib/src/Lib/Internal/Comment/index.js +0 -19
- package/lib/src/Lib/Internal/Comment/index.js.map +0 -1
- package/lib/src/Lib/Internal/General/Commands.js +0 -3
- package/lib/src/Lib/Internal/General/Commands.js.map +0 -1
- package/lib/src/Lib/Internal/General/Controllers/State.js +0 -19
- package/lib/src/Lib/Internal/General/Controllers/State.js.map +0 -1
- package/lib/src/Lib/Internal/General/Controllers/index.d.ts +0 -1
- package/lib/src/Lib/Internal/General/Controllers/index.js +0 -19
- package/lib/src/Lib/Internal/General/Controllers/index.js.map +0 -1
- package/lib/src/Lib/Internal/General/index.d.ts +0 -2
- package/lib/src/Lib/Internal/General/index.js +0 -33
- package/lib/src/Lib/Internal/General/index.js.map +0 -1
- package/lib/src/Lib/Internal/Json.d.ts +0 -8
- package/lib/src/Lib/Internal/Json.js +0 -43
- package/lib/src/Lib/Internal/Json.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/Animation.d.ts +0 -64
- package/lib/src/Lib/Internal/ResourcePack/Animation.js +0 -32
- package/lib/src/Lib/Internal/ResourcePack/Animation.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/AnimationController.d.ts +0 -66
- package/lib/src/Lib/Internal/ResourcePack/AnimationController.js +0 -49
- package/lib/src/Lib/Internal/ResourcePack/AnimationController.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/Attachable.d.ts +0 -48
- package/lib/src/Lib/Internal/ResourcePack/Attachable.js +0 -25
- package/lib/src/Lib/Internal/ResourcePack/Attachable.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/BlockCulling.d.ts +0 -76
- package/lib/src/Lib/Internal/ResourcePack/BlockCulling.js +0 -25
- package/lib/src/Lib/Internal/ResourcePack/BlockCulling.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/Entity.d.ts +0 -45
- package/lib/src/Lib/Internal/ResourcePack/Entity.js +0 -23
- package/lib/src/Lib/Internal/ResourcePack/Entity.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/Fog.d.ts +0 -51
- package/lib/src/Lib/Internal/ResourcePack/Fog.js +0 -25
- package/lib/src/Lib/Internal/ResourcePack/Fog.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/Material.d.ts +0 -12
- package/lib/src/Lib/Internal/ResourcePack/Material.js +0 -15
- package/lib/src/Lib/Internal/ResourcePack/Material.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/Model.d.ts +0 -71
- package/lib/src/Lib/Internal/ResourcePack/Model.js +0 -78
- package/lib/src/Lib/Internal/ResourcePack/Model.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/Particle.d.ts +0 -34
- package/lib/src/Lib/Internal/ResourcePack/Particle.js +0 -25
- package/lib/src/Lib/Internal/ResourcePack/Particle.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/RenderController.d.ts +0 -54
- package/lib/src/Lib/Internal/ResourcePack/RenderController.js +0 -16
- package/lib/src/Lib/Internal/ResourcePack/RenderController.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/SoundDefinitions.d.ts +0 -32
- package/lib/src/Lib/Internal/ResourcePack/SoundDefinitions.js +0 -20
- package/lib/src/Lib/Internal/ResourcePack/SoundDefinitions.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/TextureAtlas.d.ts +0 -28
- package/lib/src/Lib/Internal/ResourcePack/TextureAtlas.js +0 -22
- package/lib/src/Lib/Internal/ResourcePack/TextureAtlas.js.map +0 -1
- package/lib/src/Lib/Internal/ResourcePack/index.d.ts +0 -12
- package/lib/src/Lib/Internal/ResourcePack/index.js +0 -30
- package/lib/src/Lib/Internal/ResourcePack/index.js.map +0 -1
- package/lib/src/Lib/Internal/Types/FormatVersion.js +0 -69
- package/lib/src/Lib/Internal/Types/FormatVersion.js.map +0 -1
- package/lib/src/Lib/Internal/Types/Manifest.d.ts +0 -113
- package/lib/src/Lib/Internal/Types/Manifest.js +0 -153
- package/lib/src/Lib/Internal/Types/Manifest.js.map +0 -1
- package/lib/src/Lib/Internal/Types/Script.js +0 -37
- package/lib/src/Lib/Internal/Types/Script.js.map +0 -1
- package/lib/src/Lib/Internal/Types/index.d.ts +0 -3
- package/lib/src/Lib/Internal/Types/index.js +0 -21
- package/lib/src/Lib/Internal/Types/index.js.map +0 -1
- package/lib/src/Lib/Internal/index.d.ts +0 -6
- package/lib/src/Lib/Internal/index.js +0 -37
- package/lib/src/Lib/Internal/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Animation/Animation.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/Animation/Animation.js +0 -3
- package/lib/src/Lib/Project/BehaviorPack/Animation/Animation.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Animation/Process.d.ts +0 -4
- package/lib/src/Lib/Project/BehaviorPack/Animation/Process.js +0 -56
- package/lib/src/Lib/Project/BehaviorPack/Animation/Process.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Animation/index.d.ts +0 -2
- package/lib/src/Lib/Project/BehaviorPack/Animation/index.js +0 -20
- package/lib/src/Lib/Project/BehaviorPack/Animation/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/AnimationController/AnimationController.d.ts +0 -10
- package/lib/src/Lib/Project/BehaviorPack/AnimationController/AnimationController.js +0 -3
- package/lib/src/Lib/Project/BehaviorPack/AnimationController/AnimationController.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/AnimationController/Process.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/AnimationController/Process.js +0 -73
- package/lib/src/Lib/Project/BehaviorPack/AnimationController/Process.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/AnimationController/index.d.ts +0 -2
- package/lib/src/Lib/Project/BehaviorPack/AnimationController/index.js +0 -20
- package/lib/src/Lib/Project/BehaviorPack/AnimationController/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/BehaviorPack.d.ts +0 -102
- package/lib/src/Lib/Project/BehaviorPack/BehaviorPack.js +0 -245
- package/lib/src/Lib/Project/BehaviorPack/BehaviorPack.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/BehaviorPackCollection.d.ts +0 -43
- package/lib/src/Lib/Project/BehaviorPack/BehaviorPackCollection.js +0 -35
- package/lib/src/Lib/Project/BehaviorPack/BehaviorPackCollection.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Block/Block.d.ts +0 -11
- package/lib/src/Lib/Project/BehaviorPack/Block/Block.js +0 -3
- package/lib/src/Lib/Project/BehaviorPack/Block/Block.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Block/BlockState.js +0 -54
- package/lib/src/Lib/Project/BehaviorPack/Block/BlockState.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Block/Process.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/Block/Process.js +0 -62
- package/lib/src/Lib/Project/BehaviorPack/Block/Process.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Block/index.d.ts +0 -3
- package/lib/src/Lib/Project/BehaviorPack/Block/index.js +0 -21
- package/lib/src/Lib/Project/BehaviorPack/Block/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Entity/Entity.d.ts +0 -19
- package/lib/src/Lib/Project/BehaviorPack/Entity/Entity.js +0 -3
- package/lib/src/Lib/Project/BehaviorPack/Entity/Entity.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Entity/Process.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/Entity/Process.js +0 -99
- package/lib/src/Lib/Project/BehaviorPack/Entity/Process.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Entity/Properties.js +0 -48
- package/lib/src/Lib/Project/BehaviorPack/Entity/Properties.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Entity/index.d.ts +0 -3
- package/lib/src/Lib/Project/BehaviorPack/Entity/index.js +0 -21
- package/lib/src/Lib/Project/BehaviorPack/Entity/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Enum/index.d.ts +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Enum/index.js +0 -19
- package/lib/src/Lib/Project/BehaviorPack/Enum/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Feature/Feature.js +0 -3
- package/lib/src/Lib/Project/BehaviorPack/Feature/Feature.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Feature/Process.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/Feature/Process.js +0 -52
- package/lib/src/Lib/Project/BehaviorPack/Feature/Process.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Feature/index.d.ts +0 -2
- package/lib/src/Lib/Project/BehaviorPack/Feature/index.js +0 -20
- package/lib/src/Lib/Project/BehaviorPack/Feature/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/FileType.js +0 -85
- package/lib/src/Lib/Project/BehaviorPack/FileType.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Item/Item.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/Item/Item.js +0 -3
- package/lib/src/Lib/Project/BehaviorPack/Item/Item.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Item/Process.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/Item/Process.js +0 -53
- package/lib/src/Lib/Project/BehaviorPack/Item/Process.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Item/index.d.ts +0 -2
- package/lib/src/Lib/Project/BehaviorPack/Item/index.js +0 -20
- package/lib/src/Lib/Project/BehaviorPack/Item/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/LootTable/LootTable.js +0 -3
- package/lib/src/Lib/Project/BehaviorPack/LootTable/LootTable.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/LootTable/Process.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/LootTable/Process.js +0 -24
- package/lib/src/Lib/Project/BehaviorPack/LootTable/Process.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/LootTable/index.d.ts +0 -2
- package/lib/src/Lib/Project/BehaviorPack/LootTable/index.js +0 -20
- package/lib/src/Lib/Project/BehaviorPack/LootTable/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/McFunction/Comment.js +0 -10
- package/lib/src/Lib/Project/BehaviorPack/McFunction/Comment.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/McFunction/Function.js +0 -3
- package/lib/src/Lib/Project/BehaviorPack/McFunction/Function.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/McFunction/Process.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/McFunction/Process.js +0 -31
- package/lib/src/Lib/Project/BehaviorPack/McFunction/Process.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/McFunction/index.d.ts +0 -3
- package/lib/src/Lib/Project/BehaviorPack/McFunction/index.js +0 -21
- package/lib/src/Lib/Project/BehaviorPack/McFunction/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Structure/Process.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/Structure/Process.js +0 -28
- package/lib/src/Lib/Project/BehaviorPack/Structure/Process.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Structure/Structure.js +0 -3
- package/lib/src/Lib/Project/BehaviorPack/Structure/Structure.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Structure/index.d.ts +0 -2
- package/lib/src/Lib/Project/BehaviorPack/Structure/index.js +0 -20
- package/lib/src/Lib/Project/BehaviorPack/Structure/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Trading/Process.d.ts +0 -8
- package/lib/src/Lib/Project/BehaviorPack/Trading/Process.js +0 -24
- package/lib/src/Lib/Project/BehaviorPack/Trading/Process.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Trading/Trading.js +0 -3
- package/lib/src/Lib/Project/BehaviorPack/Trading/Trading.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/Trading/index.d.ts +0 -2
- package/lib/src/Lib/Project/BehaviorPack/Trading/index.js +0 -20
- package/lib/src/Lib/Project/BehaviorPack/Trading/index.js.map +0 -1
- package/lib/src/Lib/Project/BehaviorPack/index.d.ts +0 -12
- package/lib/src/Lib/Project/BehaviorPack/index.js +0 -43
- package/lib/src/Lib/Project/BehaviorPack/index.js.map +0 -1
- package/lib/src/Lib/Project/General/General.d.ts +0 -48
- package/lib/src/Lib/Project/General/General.js +0 -89
- package/lib/src/Lib/Project/General/General.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/Commands/Process.d.ts +0 -43
- package/lib/src/Lib/Project/General/Types/Commands/Process.js +0 -167
- package/lib/src/Lib/Project/General/Types/Commands/Process.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/Commands/index.d.ts +0 -1
- package/lib/src/Lib/Project/General/Types/Commands/index.js +0 -19
- package/lib/src/Lib/Project/General/Types/Commands/index.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/GeneralInfo.js +0 -27
- package/lib/src/Lib/Project/General/Types/GeneralInfo.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/Objective/Process.d.ts +0 -4
- package/lib/src/Lib/Project/General/Types/Objective/Process.js +0 -56
- package/lib/src/Lib/Project/General/Types/Objective/Process.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/Objective/index.d.ts +0 -1
- package/lib/src/Lib/Project/General/Types/Objective/index.js +0 -19
- package/lib/src/Lib/Project/General/Types/Objective/index.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/Structures/Process.d.ts +0 -4
- package/lib/src/Lib/Project/General/Types/Structures/Process.js +0 -15
- package/lib/src/Lib/Project/General/Types/Structures/Process.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/Structures/index.d.ts +0 -1
- package/lib/src/Lib/Project/General/Types/Structures/index.js +0 -19
- package/lib/src/Lib/Project/General/Types/Structures/index.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/Tag/Process.d.ts +0 -4
- package/lib/src/Lib/Project/General/Types/Tag/Process.js +0 -15
- package/lib/src/Lib/Project/General/Types/Tag/Process.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/Tag/index.d.ts +0 -1
- package/lib/src/Lib/Project/General/Types/Tag/index.js +0 -19
- package/lib/src/Lib/Project/General/Types/Tag/index.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/TickingArea/Process.d.ts +0 -4
- package/lib/src/Lib/Project/General/Types/TickingArea/Process.js +0 -66
- package/lib/src/Lib/Project/General/Types/TickingArea/Process.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/TickingArea/index.d.ts +0 -1
- package/lib/src/Lib/Project/General/Types/TickingArea/index.js +0 -19
- package/lib/src/Lib/Project/General/Types/TickingArea/index.js.map +0 -1
- package/lib/src/Lib/Project/General/Types/index.d.ts +0 -6
- package/lib/src/Lib/Project/General/Types/index.js +0 -37
- package/lib/src/Lib/Project/General/Types/index.js.map +0 -1
- package/lib/src/Lib/Project/General/index.d.ts +0 -2
- package/lib/src/Lib/Project/General/index.js +0 -33
- package/lib/src/Lib/Project/General/index.js.map +0 -1
- package/lib/src/Lib/Project/PackType.js +0 -88
- package/lib/src/Lib/Project/PackType.js.map +0 -1
- package/lib/src/Lib/Project/ProjectData.d.ts +0 -66
- package/lib/src/Lib/Project/ProjectData.js +0 -152
- package/lib/src/Lib/Project/ProjectData.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Animation/Animation.d.ts +0 -12
- package/lib/src/Lib/Project/ResourcePack/Animation/Animation.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/Animation/Animation.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Animation/Process.d.ts +0 -4
- package/lib/src/Lib/Project/ResourcePack/Animation/Process.js +0 -74
- package/lib/src/Lib/Project/ResourcePack/Animation/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Animation/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/Animation/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/Animation/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/AnimationController/AnimationController.d.ts +0 -15
- package/lib/src/Lib/Project/ResourcePack/AnimationController/AnimationController.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/AnimationController/AnimationController.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/AnimationController/Process.d.ts +0 -4
- package/lib/src/Lib/Project/ResourcePack/AnimationController/Process.js +0 -78
- package/lib/src/Lib/Project/ResourcePack/AnimationController/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/AnimationController/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/AnimationController/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/AnimationController/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Attachable/Attachable.d.ts +0 -10
- package/lib/src/Lib/Project/ResourcePack/Attachable/Attachable.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/Attachable/Attachable.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Attachable/Process.d.ts +0 -8
- package/lib/src/Lib/Project/ResourcePack/Attachable/Process.js +0 -98
- package/lib/src/Lib/Project/ResourcePack/Attachable/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Attachable/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/Attachable/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/Attachable/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Block/Block.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/Block/Block.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Block/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/Block/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/Block/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/BlockCulling/Culling.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/BlockCulling/Culling.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/BlockCulling/Process.d.ts +0 -3
- package/lib/src/Lib/Project/ResourcePack/BlockCulling/Process.js +0 -60
- package/lib/src/Lib/Project/ResourcePack/BlockCulling/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/BlockCulling/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/BlockCulling/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/BlockCulling/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Entity/Entity.d.ts +0 -10
- package/lib/src/Lib/Project/ResourcePack/Entity/Entity.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/Entity/Entity.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Entity/Process.d.ts +0 -8
- package/lib/src/Lib/Project/ResourcePack/Entity/Process.js +0 -97
- package/lib/src/Lib/Project/ResourcePack/Entity/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Entity/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/Entity/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/Entity/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Enum/index.d.ts +0 -1
- package/lib/src/Lib/Project/ResourcePack/Enum/index.js +0 -19
- package/lib/src/Lib/Project/ResourcePack/Enum/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/FileType.js +0 -104
- package/lib/src/Lib/Project/ResourcePack/FileType.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Fog/Fog.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/Fog/Fog.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Fog/Process.d.ts +0 -8
- package/lib/src/Lib/Project/ResourcePack/Fog/Process.js +0 -51
- package/lib/src/Lib/Project/ResourcePack/Fog/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Fog/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/Fog/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/Fog/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Material/Material.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/Material/Material.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Material/Process.d.ts +0 -8
- package/lib/src/Lib/Project/ResourcePack/Material/Process.js +0 -55
- package/lib/src/Lib/Project/ResourcePack/Material/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Material/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/Material/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/Material/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Model/Model.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/Model/Model.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Model/Process.d.ts +0 -8
- package/lib/src/Lib/Project/ResourcePack/Model/Process.js +0 -90
- package/lib/src/Lib/Project/ResourcePack/Model/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Model/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/Model/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/Model/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Particle/Particle.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/Particle/Particle.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Particle/Process.d.ts +0 -8
- package/lib/src/Lib/Project/ResourcePack/Particle/Process.js +0 -51
- package/lib/src/Lib/Project/ResourcePack/Particle/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Particle/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/Particle/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/Particle/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/RenderController/Process.d.ts +0 -4
- package/lib/src/Lib/Project/ResourcePack/RenderController/Process.js +0 -55
- package/lib/src/Lib/Project/ResourcePack/RenderController/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/RenderController/RenderController.d.ts +0 -8
- package/lib/src/Lib/Project/ResourcePack/RenderController/RenderController.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/RenderController/RenderController.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/RenderController/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/RenderController/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/RenderController/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/ResourcePack.d.ts +0 -109
- package/lib/src/Lib/Project/ResourcePack/ResourcePack.js +0 -281
- package/lib/src/Lib/Project/ResourcePack/ResourcePack.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/ResourcePackCollection.d.ts +0 -46
- package/lib/src/Lib/Project/ResourcePack/ResourcePackCollection.js +0 -32
- package/lib/src/Lib/Project/ResourcePack/ResourcePackCollection.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Sound/Process.d.ts +0 -8
- package/lib/src/Lib/Project/ResourcePack/Sound/Process.js +0 -54
- package/lib/src/Lib/Project/ResourcePack/Sound/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Sound/Sound.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/Sound/Sound.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Sound/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/Sound/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/Sound/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Texture/Process.d.ts +0 -8
- package/lib/src/Lib/Project/ResourcePack/Texture/Process.js +0 -55
- package/lib/src/Lib/Project/ResourcePack/Texture/Process.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Texture/Texture.js +0 -3
- package/lib/src/Lib/Project/ResourcePack/Texture/Texture.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/Texture/index.d.ts +0 -2
- package/lib/src/Lib/Project/ResourcePack/Texture/index.js +0 -20
- package/lib/src/Lib/Project/ResourcePack/Texture/index.js.map +0 -1
- package/lib/src/Lib/Project/ResourcePack/index.d.ts +0 -15
- package/lib/src/Lib/Project/ResourcePack/index.js +0 -46
- package/lib/src/Lib/Project/ResourcePack/index.js.map +0 -1
- package/lib/src/Lib/Project/SkinPack/FileType.js +0 -36
- package/lib/src/Lib/Project/SkinPack/FileType.js.map +0 -1
- package/lib/src/Lib/Project/SkinPack/index.js.map +0 -1
- package/lib/src/Lib/Project/Util.d.ts +0 -34
- package/lib/src/Lib/Project/Util.js +0 -47
- package/lib/src/Lib/Project/Util.js.map +0 -1
- package/lib/src/Lib/Project/World/WorldPack.d.ts +0 -65
- package/lib/src/Lib/Project/World/WorldPack.js +0 -89
- package/lib/src/Lib/Project/World/WorldPack.js.map +0 -1
- package/lib/src/Lib/Project/World/WorldPackCollection.d.ts +0 -9
- package/lib/src/Lib/Project/World/WorldPackCollection.js +0 -18
- package/lib/src/Lib/Project/World/WorldPackCollection.js.map +0 -1
- package/lib/src/Lib/Project/World/index.d.ts +0 -2
- package/lib/src/Lib/Project/World/index.js +0 -20
- package/lib/src/Lib/Project/World/index.js.map +0 -1
- package/lib/src/Lib/Project/index.d.ts +0 -8
- package/lib/src/Lib/Project/index.js +0 -39
- package/lib/src/Lib/Project/index.js.map +0 -1
- package/lib/src/Lib/Types/Carrier.js +0 -3
- package/lib/src/Lib/Types/Carrier.js.map +0 -1
- package/lib/src/Lib/Types/Container.js +0 -20
- package/lib/src/Lib/Types/Container.js.map +0 -1
- package/lib/src/Lib/Types/DataSet.d.ts +0 -66
- package/lib/src/Lib/Types/DataSet.js +0 -94
- package/lib/src/Lib/Types/DataSet.js.map +0 -1
- package/lib/src/Lib/Types/DataSetConnector.d.ts +0 -23
- package/lib/src/Lib/Types/DataSetConnector.js +0 -59
- package/lib/src/Lib/Types/DataSetConnector.js.map +0 -1
- package/lib/src/Lib/Types/Documentation.d.ts +0 -14
- package/lib/src/Lib/Types/Documentation.js +0 -83
- package/lib/src/Lib/Types/Documentation.js.map +0 -1
- package/lib/src/Lib/Types/IDataSet.js +0 -3
- package/lib/src/Lib/Types/IDataSet.js.map +0 -1
- package/lib/src/Lib/Types/JsonPath.d.ts +0 -25
- package/lib/src/Lib/Types/JsonPath.js +0 -48
- package/lib/src/Lib/Types/JsonPath.js.map +0 -1
- package/lib/src/Lib/Types/Pack.d.ts +0 -53
- package/lib/src/Lib/Types/Pack.js +0 -20
- package/lib/src/Lib/Types/Pack.js.map +0 -1
- package/lib/src/Lib/Types/PackCollection.d.ts +0 -48
- package/lib/src/Lib/Types/PackCollection.js +0 -91
- package/lib/src/Lib/Types/PackCollection.js.map +0 -1
- package/lib/src/Lib/Types/ProjectContext.d.ts +0 -13
- package/lib/src/Lib/Types/ProjectContext.js +0 -3
- package/lib/src/Lib/Types/ProjectContext.js.map +0 -1
- package/lib/src/Lib/Types/SMap.js +0 -23
- package/lib/src/Lib/Types/SMap.js.map +0 -1
- package/lib/src/Lib/Types/Text.js +0 -15
- package/lib/src/Lib/Types/Text.js.map +0 -1
- package/lib/src/Lib/Types/TextDocument.js +0 -28
- package/lib/src/Lib/Types/TextDocument.js.map +0 -1
- package/lib/src/Lib/Types/index.d.ts +0 -13
- package/lib/src/Lib/Types/index.js +0 -31
- package/lib/src/Lib/Types/index.js.map +0 -1
- package/lib/src/Lib/index.d.ts +0 -3
- package/lib/src/Lib/index.js +0 -31
- package/lib/src/Lib/index.js.map +0 -1
- /package/lib/src/{Lib/Internal/General/Commands.d.ts → internal/general/commands.d.ts} +0 -0
- /package/lib/src/{Lib/Internal/General/Controllers/State.d.ts → internal/general/controllers/state.d.ts} +0 -0
- /package/lib/src/{Lib/Internal/BehaviorPack → internal/resource-pack}/AnimationController.js +0 -0
- /package/lib/src/{Lib/Internal/Types/FormatVersion.d.ts → internal/types/format-version.d.ts} +0 -0
- /package/lib/src/{Lib/Internal/Types/Script.d.ts → internal/types/script.d.ts} +0 -0
- /package/lib/src/{Lib/Project/BehaviorPack/Block/BlockState.d.ts → project/behavior-pack/block/block-state.d.ts} +0 -0
- /package/lib/src/{Lib/Project/BehaviorPack/Entity/Properties.d.ts → project/behavior-pack/entity/properties.d.ts} +0 -0
- /package/lib/src/{Lib/Project/BehaviorPack/Feature/Feature.d.ts → project/behavior-pack/feature/feature.d.ts} +0 -0
- /package/lib/src/{Lib/Project/BehaviorPack/FileType.d.ts → project/behavior-pack/file-type.d.ts} +0 -0
- /package/lib/src/{Lib/Project/BehaviorPack/LootTable/LootTable.d.ts → project/behavior-pack/loot-table/loot-table.d.ts} +0 -0
- /package/lib/src/{Lib/Project/BehaviorPack/McFunction/Comment.d.ts → project/behavior-pack/mcfunction/comment.d.ts} +0 -0
- /package/lib/src/{Lib/Project/BehaviorPack/McFunction/Function.d.ts → project/behavior-pack/mcfunction/function.d.ts} +0 -0
- /package/lib/src/{Lib/Project/BehaviorPack/Structure/Structure.d.ts → project/behavior-pack/structure/structure.d.ts} +0 -0
- /package/lib/src/{Lib/Project/BehaviorPack/Trading/Trading.d.ts → project/behavior-pack/trading/trading.d.ts} +0 -0
- /package/lib/src/{Lib/Project/General/Types/GeneralInfo.d.ts → project/general/types/general-info.d.ts} +0 -0
- /package/lib/src/{Lib/Project/PackType.d.ts → project/pack-type.d.ts} +0 -0
- /package/lib/src/{Lib/Project/ResourcePack/Block/Block.d.ts → project/resource-pack/block/block.d.ts} +0 -0
- /package/lib/src/{Lib/Project/ResourcePack/BlockCulling/Culling.d.ts → project/resource-pack/block-culling/culling.d.ts} +0 -0
- /package/lib/src/{Lib/Project/ResourcePack/FileType.d.ts → project/resource-pack/file-type.d.ts} +0 -0
- /package/lib/src/{Lib/Project/ResourcePack/Fog/Fog.d.ts → project/resource-pack/fog/fog.d.ts} +0 -0
- /package/lib/src/{Lib/Project/ResourcePack/Material/Material.d.ts → project/resource-pack/material/material.d.ts} +0 -0
- /package/lib/src/{Lib/Project/ResourcePack/Model/Model.d.ts → project/resource-pack/model/model.d.ts} +0 -0
- /package/lib/src/{Lib/Project/ResourcePack/Particle/Particle.d.ts → project/resource-pack/particle/particle.d.ts} +0 -0
- /package/lib/src/{Lib/Project/ResourcePack/Sound/Sound.d.ts → project/resource-pack/sound/sound.d.ts} +0 -0
- /package/lib/src/{Lib/Project/ResourcePack/Texture/Texture.d.ts → project/resource-pack/texture/texture.d.ts} +0 -0
- /package/lib/src/{Lib/Project/SkinPack → project/skin-pack}/FileType.d.ts +0 -0
- /package/lib/src/{Lib/Project/SkinPack → project/skin-pack}/index.d.ts +0 -0
- /package/lib/src/{Lib/Project/SkinPack → project/skin-pack}/index.js +0 -0
- /package/lib/src/{Lib/Types/Carrier.d.ts → types/carrier.d.ts} +0 -0
- /package/lib/src/{Lib/Types/Container.d.ts → types/container.d.ts} +0 -0
- /package/lib/src/{Lib/Types/IDataSet.d.ts → types/i-data-set.d.ts} +0 -0
- /package/lib/src/{Lib/Types/SMap.d.ts → types/smap.d.ts} +0 -0
- /package/lib/src/{Lib/Types/TextDocument.d.ts → types/text-document.d.ts} +0 -0
- /package/lib/src/{Lib/Types/Text.d.ts → types/text.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"script.js","sourceRoot":"","sources":["../../../../src/internal/types/script.ts"],"names":[],"mappings":";;;AAcA,MAAM;AACN,IAAiB,MAAM,CAatB;AAbD,WAAiB,MAAM;IACrB;;;;OAIG;IACH,SAAgB,EAAE,CAAC,KAAU;QAC3B,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,OAAO,KAAK,CAAC,SAAS,KAAK,QAAQ;gBAAE,OAAO,IAAI,CAAC;QAChK,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IANe,SAAE,KAMjB,CAAA;AACH,CAAC,EAbgB,MAAM,sBAAN,MAAM,QAatB;AAUD,MAAM;AACN,IAAiB,eAAe,CAY/B;AAZD,WAAiB,eAAe;IAC9B;;;iBAGa;IACb,SAAgB,EAAE,CAAC,KAAU;QAC3B,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,UAAU,KAAK,QAAQ;gBAAE,OAAO,IAAI,CAAC;QAC7F,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IANe,kBAAE,KAMjB,CAAA;AACH,CAAC,EAZgB,eAAe,+BAAf,eAAe,QAY/B"}
|
package/lib/src/main.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as Internal from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
1
|
+
export * as Internal from "./internal";
|
|
2
|
+
export * from "./project";
|
|
3
|
+
export * from "./types";
|
package/lib/src/main.js
CHANGED
|
@@ -27,7 +27,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Internal = void 0;
|
|
30
|
-
exports.Internal = __importStar(require("./
|
|
31
|
-
__exportStar(require("./
|
|
32
|
-
__exportStar(require("./
|
|
30
|
+
exports.Internal = __importStar(require("./internal"));
|
|
31
|
+
__exportStar(require("./project"), exports);
|
|
32
|
+
__exportStar(require("./types"), exports);
|
|
33
33
|
//# sourceMappingURL=main.js.map
|
package/lib/src/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAuC;AACvC,4CAA0B;AAC1B,0CAAwB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Types } from "bc-minecraft-bedrock-types";
|
|
2
|
+
import { Molang } from "bc-minecraft-molang";
|
|
3
|
+
import { MolangCarrier } from '../../../types';
|
|
4
|
+
/** */
|
|
5
|
+
export interface Animation extends Types.BaseObject, MolangCarrier<Molang.MolangSet> {
|
|
6
|
+
/** */
|
|
7
|
+
molang: Molang.MolangSet;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animation.js","sourceRoot":"","sources":["../../../../../src/project/behavior-pack/animation/animation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Auto generated */
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./animation"), exports);
|
|
19
|
+
__exportStar(require("./process"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/project/behavior-pack/animation/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB,8CAA4B;AAC5B,4CAA0B"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.Process = Process;
|
|
27
|
+
const bc_minecraft_bedrock_types_1 = require("bc-minecraft-bedrock-types");
|
|
28
|
+
const bc_minecraft_molang_1 = require("bc-minecraft-molang");
|
|
29
|
+
const internal_1 = require("../../../internal");
|
|
30
|
+
const Internal = __importStar(require("../../../internal/behavior-pack"));
|
|
31
|
+
const types_1 = require("../../../types");
|
|
32
|
+
/** */
|
|
33
|
+
function Process(doc) {
|
|
34
|
+
const uri = doc.uri;
|
|
35
|
+
const content = doc.getText();
|
|
36
|
+
const imp = internal_1.Json.To(doc);
|
|
37
|
+
if (!Internal.Animations.is(imp))
|
|
38
|
+
return undefined;
|
|
39
|
+
const out = [];
|
|
40
|
+
const container = imp.animations;
|
|
41
|
+
const keys = Object.getOwnPropertyNames(container);
|
|
42
|
+
for (let I = 0; I < keys.length; I++) {
|
|
43
|
+
const id = keys[I];
|
|
44
|
+
const anim = container[id];
|
|
45
|
+
if (Internal.Animation.is(anim)) {
|
|
46
|
+
out.push({
|
|
47
|
+
id: id,
|
|
48
|
+
location: bc_minecraft_bedrock_types_1.Types.Location.create(uri, content.indexOf(id)),
|
|
49
|
+
molang: bc_minecraft_molang_1.Molang.MolangSet.harvest(anim),
|
|
50
|
+
documentation: types_1.Documentation.getDoc(doc, () => { var _a, _b; return `BP Animation: \`${id}\`, loop: ${(_a = anim.loop) !== null && _a !== void 0 ? _a : false}, length: ${(_b = anim.animation_length) !== null && _b !== void 0 ? _b : "unknown"}`; }),
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return out;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=process.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process.js","sourceRoot":"","sources":["../../../../../src/project/behavior-pack/animation/process.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAQA,0BA6BC;AArCD,2EAAmD;AACnD,6DAA6C;AAC7C,gDAAyC;AACzC,0EAA4D;AAC5D,0CAA6D;AAG7D,MAAM;AACN,SAAgB,OAAO,CAAC,GAAiB;IACvC,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;IACpB,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IAC9B,MAAM,GAAG,GAAG,eAAI,CAAC,EAAE,CAAsB,GAAG,CAAC,CAAC;IAE9C,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC;QAAE,OAAO,SAAS,CAAC;IAEnD,MAAM,GAAG,GAAgB,EAAE,CAAC;IAC5B,MAAM,SAAS,GAAG,GAAG,CAAC,UAAU,CAAC;IACjC,MAAM,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAEnD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACnB,MAAM,IAAI,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC;QAE3B,IAAI,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;YAChC,GAAG,CAAC,IAAI,CAAC;gBACP,EAAE,EAAE,EAAE;gBACN,QAAQ,EAAE,kCAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;gBACzD,MAAM,EAAE,4BAAM,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC;gBACtC,aAAa,EAAE,qBAAa,CAAC,MAAM,CACjC,GAAG,EACH,GAAG,EAAE,eAAC,OAAA,mBAAmB,EAAE,aAAa,MAAA,IAAI,CAAC,IAAI,mCAAI,KAAK,aAAa,MAAA,IAAI,CAAC,gBAAgB,mCAAI,SAAS,EAAE,CAAA,EAAA,CAC5G;aACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Types } from "bc-minecraft-bedrock-types";
|
|
2
|
+
import { DefinedUsing, Molang } from "bc-minecraft-molang";
|
|
3
|
+
import { AnimationCarrier } from "../../../types";
|
|
4
|
+
/** */
|
|
5
|
+
export interface AnimationController extends Types.BaseObject, AnimationCarrier<DefinedUsing<string>> {
|
|
6
|
+
/** */
|
|
7
|
+
molang: Molang.MolangSet;
|
|
8
|
+
/** */
|
|
9
|
+
animations: DefinedUsing<string>;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animation-controller.js","sourceRoot":"","sources":["../../../../../src/project/behavior-pack/animation-controller/animation-controller.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const process_1 = require("./process");
|
|
4
|
+
describe("BehaviorPack - Animation Controller", () => {
|
|
5
|
+
const data = `{
|
|
6
|
+
"format_version": "1.8.0",
|
|
7
|
+
"animation_controllers": {
|
|
8
|
+
"controller.animation.example.base_pose": { "states": { "default": { "animations": [{ "base_pose": 0 }] } } }
|
|
9
|
+
}
|
|
10
|
+
}`;
|
|
11
|
+
test("Process", () => {
|
|
12
|
+
const controllers = (0, process_1.Process)({
|
|
13
|
+
getText: () => data,
|
|
14
|
+
uri: "example",
|
|
15
|
+
});
|
|
16
|
+
expect(controllers).toMatchSnapshot();
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=animation-controllers.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animation-controllers.test.js","sourceRoot":"","sources":["../../../../../src/project/behavior-pack/animation-controller/animation-controllers.test.ts"],"names":[],"mappings":";;AAAA,uCAAoC;AAEpC,QAAQ,CAAC,qCAAqC,EAAE,GAAG,EAAE;IACnD,MAAM,IAAI,GAAG;;;;;MAKT,CAAC;IAEL,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE;QACnB,MAAM,WAAW,GAAG,IAAA,iBAAO,EAAC;YAC1B,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI;YACnB,GAAG,EAAE,SAAS;SACf,CAAC,CAAC;QACH,MAAM,CAAC,WAAW,CAAC,CAAC,eAAe,EAAE,CAAC;IACxC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Auto generated */
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./animation-controller"), exports);
|
|
19
|
+
__exportStar(require("./process"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/project/behavior-pack/animation-controller/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB,yDAAuC;AACvC,4CAA0B"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.Process = Process;
|
|
27
|
+
const bc_minecraft_bedrock_types_1 = require("bc-minecraft-bedrock-types");
|
|
28
|
+
const bc_minecraft_molang_1 = require("bc-minecraft-molang");
|
|
29
|
+
const internal = __importStar(require("../../../internal/behavior-pack/animation-controller"));
|
|
30
|
+
const json_1 = require("../../../internal/json");
|
|
31
|
+
const types_1 = require("../../../types");
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param doc
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
function Process(doc) {
|
|
38
|
+
const uri = doc.uri;
|
|
39
|
+
const content = doc.getText();
|
|
40
|
+
const imp = json_1.Json.To(doc);
|
|
41
|
+
if (!internal.AnimationControllers.is(imp))
|
|
42
|
+
return undefined;
|
|
43
|
+
const out = [];
|
|
44
|
+
const container = imp.animation_controllers;
|
|
45
|
+
const keys = Object.getOwnPropertyNames(container);
|
|
46
|
+
for (let I = 0; I < keys.length; I++) {
|
|
47
|
+
const id = keys[I];
|
|
48
|
+
const controller = container[id];
|
|
49
|
+
if (internal.AnimationController.is(controller)) {
|
|
50
|
+
const item = {
|
|
51
|
+
id: id,
|
|
52
|
+
location: bc_minecraft_bedrock_types_1.Types.Location.create(uri, content.indexOf(id)),
|
|
53
|
+
animations: bc_minecraft_molang_1.DefinedUsing.empty(),
|
|
54
|
+
molang: bc_minecraft_molang_1.Molang.MolangSet.harvest(controller),
|
|
55
|
+
documentation: types_1.Documentation.getDoc(doc, () => `BP Animation Controller: ${id}`),
|
|
56
|
+
};
|
|
57
|
+
types_1.SMap.forEach(controller.states, (state) => getAnimations(state, item.animations));
|
|
58
|
+
out.push(item);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return out;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @param state
|
|
66
|
+
* @param receiver
|
|
67
|
+
*/
|
|
68
|
+
function getAnimations(state, receiver) {
|
|
69
|
+
if (state.animations)
|
|
70
|
+
bc_minecraft_bedrock_types_1.Types.Conditional.forEach(state.animations, (reference) => receiver.using.push(reference));
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=process.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process.js","sourceRoot":"","sources":["../../../../../src/project/behavior-pack/animation-controller/process.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAYA,0BAgCC;AA5CD,2EAAmD;AACnD,6DAAkE;AAClE,+FAAiF;AACjF,iDAA8C;AAC9C,0CAAmE;AAGnE;;;;GAIG;AACH,SAAgB,OAAO,CAAC,GAAiB;IACvC,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;IACpB,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IAC9B,MAAM,GAAG,GAAG,WAAI,CAAC,EAAE,CAAgC,GAAG,CAAC,CAAC;IAExD,IAAI,CAAC,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAAC,GAAG,CAAC;QAAE,OAAO,SAAS,CAAC;IAE7D,MAAM,GAAG,GAA0B,EAAE,CAAC;IAEtC,MAAM,SAAS,GAAG,GAAG,CAAC,qBAAqB,CAAC;IAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAEnD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACrC,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACnB,MAAM,UAAU,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC;QAEjC,IAAI,QAAQ,CAAC,mBAAmB,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;YAChD,MAAM,IAAI,GAAwB;gBAChC,EAAE,EAAE,EAAE;gBACN,QAAQ,EAAE,kCAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;gBACzD,UAAU,EAAE,kCAAY,CAAC,KAAK,EAAE;gBAChC,MAAM,EAAE,4BAAM,CAAC,SAAS,CAAC,OAAO,CAAC,UAAU,CAAC;gBAC5C,aAAa,EAAE,qBAAa,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,4BAA4B,EAAE,EAAE,CAAC;aACjF,CAAC;YAEF,YAAI,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;YAElF,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC;IACH,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC;AAED;;;;GAIG;AACH,SAAS,aAAa,CAAC,KAAqB,EAAE,QAAuB;IACnE,IAAI,KAAK,CAAC,UAAU;QAAE,kCAAK,CAAC,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;AACnH,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { MCProject } from "bc-minecraft-project";
|
|
2
|
+
import { Manifest } from "../../internal/types";
|
|
3
|
+
import { DataSetConnector, PackCollection } from "../../types";
|
|
4
|
+
import { BehaviorPack } from "./behavior-pack";
|
|
5
|
+
import * as Animation from "./animation";
|
|
6
|
+
import * as AnimationController from "./animation-controller";
|
|
7
|
+
import * as Block from "./block";
|
|
8
|
+
import * as Entity from "./entity";
|
|
9
|
+
import * as Item from "./item";
|
|
10
|
+
import * as LootTable from "./loot-table";
|
|
11
|
+
import * as Function from "./mcfunction";
|
|
12
|
+
import * as Structure from "./structure";
|
|
13
|
+
import * as Trading from "./trading";
|
|
14
|
+
/** */
|
|
15
|
+
export declare class BehaviorPackCollection extends PackCollection<BehaviorPack> {
|
|
16
|
+
/**The collection of animations*/
|
|
17
|
+
readonly animations: DataSetConnector<Animation.Animation, BehaviorPack>;
|
|
18
|
+
/**The collection of animations controllers*/
|
|
19
|
+
readonly animation_controllers: DataSetConnector<AnimationController.AnimationController, BehaviorPack>;
|
|
20
|
+
/**The collection of blocks*/
|
|
21
|
+
readonly blocks: DataSetConnector<Block.Block, BehaviorPack>;
|
|
22
|
+
/**The collection of entities*/
|
|
23
|
+
readonly entities: DataSetConnector<Entity.Entity, BehaviorPack>;
|
|
24
|
+
/**The collection of mcfunctions*/
|
|
25
|
+
readonly functions: DataSetConnector<Function.Function, BehaviorPack>;
|
|
26
|
+
/**The collection of items*/
|
|
27
|
+
readonly items: DataSetConnector<Item.Item, BehaviorPack>;
|
|
28
|
+
/**The collection of loot tables*/
|
|
29
|
+
readonly loot_tables: DataSetConnector<LootTable.LootTable, BehaviorPack>;
|
|
30
|
+
/**The collection of structures*/
|
|
31
|
+
readonly structures: DataSetConnector<Structure.Structure, BehaviorPack>;
|
|
32
|
+
/**The collection of trading tables*/
|
|
33
|
+
readonly trading: DataSetConnector<Trading.Trading, BehaviorPack>;
|
|
34
|
+
constructor();
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @param folder
|
|
38
|
+
* @param context
|
|
39
|
+
* @param manifest
|
|
40
|
+
* @returns
|
|
41
|
+
*/
|
|
42
|
+
add(folder: string, context: MCProject | string, manifest: Manifest): BehaviorPack;
|
|
43
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BehaviorPackCollection = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const behavior_pack_1 = require("./behavior-pack");
|
|
6
|
+
/** */
|
|
7
|
+
class BehaviorPackCollection extends types_1.PackCollection {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
//Connections
|
|
11
|
+
this.animations = new types_1.DataSetConnector(this, (pack) => pack.animations);
|
|
12
|
+
this.animation_controllers = new types_1.DataSetConnector(this, (pack) => pack.animation_controllers);
|
|
13
|
+
this.blocks = new types_1.DataSetConnector(this, (pack) => pack.blocks);
|
|
14
|
+
this.entities = new types_1.DataSetConnector(this, (pack) => pack.entities);
|
|
15
|
+
this.functions = new types_1.DataSetConnector(this, (pack) => pack.functions);
|
|
16
|
+
this.items = new types_1.DataSetConnector(this, (pack) => pack.items);
|
|
17
|
+
this.loot_tables = new types_1.DataSetConnector(this, (pack) => pack.loot_tables);
|
|
18
|
+
this.structures = new types_1.DataSetConnector(this, (pack) => pack.structures);
|
|
19
|
+
this.trading = new types_1.DataSetConnector(this, (pack) => pack.trading);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @param folder
|
|
24
|
+
* @param context
|
|
25
|
+
* @param manifest
|
|
26
|
+
* @returns
|
|
27
|
+
*/
|
|
28
|
+
add(folder, context, manifest) {
|
|
29
|
+
const out = new behavior_pack_1.BehaviorPack(folder, context, manifest);
|
|
30
|
+
this.packs.push(out);
|
|
31
|
+
return out;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.BehaviorPackCollection = BehaviorPackCollection;
|
|
35
|
+
//# sourceMappingURL=behavior-pack-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"behavior-pack-collection.js","sourceRoot":"","sources":["../../../../src/project/behavior-pack/behavior-pack-collection.ts"],"names":[],"mappings":";;;AAEA,uCAA+D;AAC/D,mDAA+C;AAY/C,MAAM;AACN,MAAa,sBAAuB,SAAQ,sBAA4B;IAoBtE;QACE,KAAK,EAAE,CAAC;QAER,aAAa;QACb,IAAI,CAAC,UAAU,GAAG,IAAI,wBAAgB,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxE,IAAI,CAAC,qBAAqB,GAAG,IAAI,wBAAgB,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QAC9F,IAAI,CAAC,MAAM,GAAG,IAAI,wBAAgB,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChE,IAAI,CAAC,QAAQ,GAAG,IAAI,wBAAgB,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACpE,IAAI,CAAC,SAAS,GAAG,IAAI,wBAAgB,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACtE,IAAI,CAAC,KAAK,GAAG,IAAI,wBAAgB,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC9D,IAAI,CAAC,WAAW,GAAG,IAAI,wBAAgB,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC1E,IAAI,CAAC,UAAU,GAAG,IAAI,wBAAgB,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACxE,IAAI,CAAC,OAAO,GAAG,IAAI,wBAAgB,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;OAMG;IACH,GAAG,CAAC,MAAc,EAAE,OAA2B,EAAE,QAAkB;QACjE,MAAM,GAAG,GAAG,IAAI,4BAAY,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;QACxD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAErB,OAAO,GAAG,CAAC;IACb,CAAC;CACF;AAhDD,wDAgDC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const types_1 = require("bc-minecraft-bedrock-types/lib/types");
|
|
4
|
+
const bc_minecraft_project_1 = require("bc-minecraft-project");
|
|
5
|
+
const _1 = require(".");
|
|
6
|
+
describe("BehaviorPackCollection", () => {
|
|
7
|
+
it("sanity check", () => {
|
|
8
|
+
const pc = new _1.BehaviorPackCollection();
|
|
9
|
+
expect(pc.packs).toBeDefined();
|
|
10
|
+
expect(pc.packs).toHaveLength(0);
|
|
11
|
+
pc.add("c:\\project\\", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
12
|
+
expect(pc.packs).toBeDefined();
|
|
13
|
+
expect(pc.packs).toHaveLength(1);
|
|
14
|
+
expect(pc.delete("c:\\project\\")).toBeTruthy();
|
|
15
|
+
expect(pc.packs).toBeDefined();
|
|
16
|
+
expect(pc.packs).toHaveLength(0);
|
|
17
|
+
});
|
|
18
|
+
it("count", () => {
|
|
19
|
+
const P = new _1.BehaviorPackCollection();
|
|
20
|
+
expect(P.count()).toEqual(0);
|
|
21
|
+
P.add("c:/project/bp", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
22
|
+
expect(P.count()).toEqual(1);
|
|
23
|
+
P.add("c:/project2/bp", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
24
|
+
expect(P.count()).toEqual(2);
|
|
25
|
+
});
|
|
26
|
+
it("add", () => {
|
|
27
|
+
const P = new _1.BehaviorPackCollection();
|
|
28
|
+
const pack = P.add("c:/project/bp", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
29
|
+
expect(pack.folder).toEqual("c:/project/bp");
|
|
30
|
+
expect(P.count()).toEqual(1);
|
|
31
|
+
P.add("c:/project2/bp", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
32
|
+
expect(P.count()).toEqual(2);
|
|
33
|
+
});
|
|
34
|
+
it("add duplicate", () => {
|
|
35
|
+
const P = new _1.BehaviorPackCollection();
|
|
36
|
+
expect(P.count()).toEqual(0);
|
|
37
|
+
P.add("c:/project/bp", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
38
|
+
P.add("c:/project/bp", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
39
|
+
expect(P.count()).toEqual(2);
|
|
40
|
+
});
|
|
41
|
+
it("get", () => {
|
|
42
|
+
const P = new _1.BehaviorPackCollection();
|
|
43
|
+
const pack = P.add("c:\\temp\\bp", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
44
|
+
const uri = "c:\\temp\\bp\\loot_tables\\empty.loot.json";
|
|
45
|
+
pack.loot_tables.set({
|
|
46
|
+
id: "empty.loot.json",
|
|
47
|
+
location: types_1.Location.create(uri),
|
|
48
|
+
});
|
|
49
|
+
const item = P.get(uri);
|
|
50
|
+
expect(item).toBeDefined();
|
|
51
|
+
});
|
|
52
|
+
it("Remove File", () => {
|
|
53
|
+
const P = new _1.BehaviorPackCollection();
|
|
54
|
+
const pack = P.add("c:\\temp\\bp", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
55
|
+
const uri = "c:\\temp\\bp\\loot_tables\\empty.loot.json";
|
|
56
|
+
pack.loot_tables.set({
|
|
57
|
+
id: "empty.loot.json",
|
|
58
|
+
location: types_1.Location.create(uri),
|
|
59
|
+
});
|
|
60
|
+
expect(P.packs).toBeDefined();
|
|
61
|
+
expect(P.loot_tables.has("empty.loot.json")).toBeTruthy();
|
|
62
|
+
expect(P.deleteFile(uri)).toBeTruthy();
|
|
63
|
+
expect(P.packs).toBeDefined();
|
|
64
|
+
expect(P.loot_tables.has("empty.loot.json")).toBeFalsy();
|
|
65
|
+
});
|
|
66
|
+
it("Remove Folder", () => {
|
|
67
|
+
const P = new _1.BehaviorPackCollection();
|
|
68
|
+
const pack = P.add("c:\\temp\\bp", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
69
|
+
const uri = "c:\\temp\\bp\\loot_tables\\empty.loot.json";
|
|
70
|
+
pack.loot_tables.set({
|
|
71
|
+
id: "empty.loot.json",
|
|
72
|
+
location: types_1.Location.create(uri),
|
|
73
|
+
});
|
|
74
|
+
expect(P.loot_tables.has("empty.loot.json")).toBeTruthy();
|
|
75
|
+
expect(P.deleteFolder("c:\\temp\\bp\\loot_tables")).toBeTruthy();
|
|
76
|
+
expect(P.loot_tables.has("empty.loot.json")).toBeFalsy();
|
|
77
|
+
});
|
|
78
|
+
it("Remove Folder - Entire Pack", () => {
|
|
79
|
+
const P = new _1.BehaviorPackCollection();
|
|
80
|
+
const pack = P.add("c:\\temp\\bp", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
81
|
+
const uri = "c:\\temp\\bp\\loot_tables\\empty.loot.json";
|
|
82
|
+
pack.loot_tables.set({
|
|
83
|
+
id: "empty.loot.json",
|
|
84
|
+
location: types_1.Location.create(uri),
|
|
85
|
+
});
|
|
86
|
+
expect(P.loot_tables.has("empty.loot.json")).toBeTruthy();
|
|
87
|
+
expect(P.deleteFolder("c:\\temp\\bp")).toBeTruthy();
|
|
88
|
+
expect(P.loot_tables.has("empty.loot.json")).toBeFalsy();
|
|
89
|
+
expect(P.count()).toEqual(0);
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
//# sourceMappingURL=behavior-pack-collection.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"behavior-pack-collection.test.js","sourceRoot":"","sources":["../../../../src/project/behavior-pack/behavior-pack-collection.test.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { MCProject } from "bc-minecraft-project";
|
|
2
|
+
import { Manifest } from "../../internal/types";
|
|
3
|
+
import { Container, DataSet, Pack, TextDocument } from "../../types";
|
|
4
|
+
import { PackType } from "../pack-type";
|
|
5
|
+
import * as Animation from "./animation";
|
|
6
|
+
import * as AnimationController from "./animation-controller";
|
|
7
|
+
import * as Block from "./block";
|
|
8
|
+
import * as Entity from "./entity";
|
|
9
|
+
import * as Feature from "./feature";
|
|
10
|
+
import * as Item from "./item";
|
|
11
|
+
import * as LootTable from "./loot-table";
|
|
12
|
+
import * as Function from "./mcfunction";
|
|
13
|
+
import * as Structure from "./structure";
|
|
14
|
+
import * as Trading from "./trading";
|
|
15
|
+
type CollectFieldsOfType<T> = {
|
|
16
|
+
[K in keyof T]: T[K] extends DataSet<infer U> ? U : never;
|
|
17
|
+
};
|
|
18
|
+
type CollectionFieldsDataSet<T> = {
|
|
19
|
+
[K in keyof T]: T[K] extends DataSet<infer U> ? DataSet<U> : never;
|
|
20
|
+
};
|
|
21
|
+
type ItemTypes = CollectFieldsOfType<BehaviorPack>[keyof BehaviorPack];
|
|
22
|
+
type DataSetTypes = CollectionFieldsDataSet<BehaviorPack>[keyof BehaviorPack];
|
|
23
|
+
/** */
|
|
24
|
+
export declare class BehaviorPack implements Container, Pack {
|
|
25
|
+
readonly type: PackType;
|
|
26
|
+
readonly folder: string;
|
|
27
|
+
readonly context: MCProject;
|
|
28
|
+
readonly manifest: Manifest;
|
|
29
|
+
/**The collection of animations*/
|
|
30
|
+
readonly animations: DataSet<Animation.Animation>;
|
|
31
|
+
/**The collection of animations controllers*/
|
|
32
|
+
readonly animation_controllers: DataSet<AnimationController.AnimationController>;
|
|
33
|
+
/**The collection of blocks*/
|
|
34
|
+
readonly blocks: DataSet<Block.Block>;
|
|
35
|
+
/**The collection of entities*/
|
|
36
|
+
readonly entities: DataSet<Entity.Entity>;
|
|
37
|
+
/**The collection of features*/
|
|
38
|
+
readonly features: DataSet<Feature.Feature>;
|
|
39
|
+
/**The collection of mcfunctions*/
|
|
40
|
+
readonly functions: DataSet<Function.Function>;
|
|
41
|
+
/**The collection of items*/
|
|
42
|
+
readonly items: DataSet<Item.Item>;
|
|
43
|
+
/**The collection of loot tables*/
|
|
44
|
+
readonly loot_tables: DataSet<LootTable.LootTable>;
|
|
45
|
+
/**The collection of structures*/
|
|
46
|
+
readonly structures: DataSet<Structure.Structure>;
|
|
47
|
+
/**The collection of trading tables*/
|
|
48
|
+
readonly trading: DataSet<Trading.Trading>;
|
|
49
|
+
/**
|
|
50
|
+
* @param folder The folder of the behavior
|
|
51
|
+
* @param context The Mcproject data or the filepath to read from.*/
|
|
52
|
+
constructor(folder: string, context: MCProject | string, manifest: Manifest);
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @param doc
|
|
56
|
+
*/
|
|
57
|
+
process(doc: TextDocument): DataSetTypes | undefined;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @param uri
|
|
61
|
+
* @returns
|
|
62
|
+
*/
|
|
63
|
+
getDataset(uri: string): DataSetTypes | undefined;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @param uri
|
|
67
|
+
* @returns
|
|
68
|
+
*/
|
|
69
|
+
deleteFile(uri: string): boolean;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @param uri
|
|
73
|
+
*/
|
|
74
|
+
deleteFolder(uri: string): boolean;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @param predicate
|
|
78
|
+
* @returns
|
|
79
|
+
*/
|
|
80
|
+
find(predicate: (value: ItemTypes, key: string) => boolean): ItemTypes | undefined;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @param predicate
|
|
84
|
+
* @returns
|
|
85
|
+
*/
|
|
86
|
+
forEach(callbackfn: (value: ItemTypes) => void): void;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
export declare namespace BehaviorPack {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @param value
|
|
95
|
+
* @returns
|
|
96
|
+
*/
|
|
97
|
+
function is(value: any): value is BehaviorPack;
|
|
98
|
+
}
|
|
99
|
+
export {};
|