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,55 @@
|
|
|
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 Internal = __importStar(require("../../../internal/resource-pack/render-controller"));
|
|
28
|
+
const types_1 = require("../../../types");
|
|
29
|
+
const bc_minecraft_molang_1 = require("bc-minecraft-molang");
|
|
30
|
+
const types_2 = require("../../../types");
|
|
31
|
+
const bc_minecraft_bedrock_types_1 = require("bc-minecraft-bedrock-types");
|
|
32
|
+
/** */
|
|
33
|
+
function Process(doc) {
|
|
34
|
+
const imp = types_2.TextDocument.toObject(doc, Internal.RenderControllers.is);
|
|
35
|
+
if (!imp)
|
|
36
|
+
return undefined;
|
|
37
|
+
const uri = doc.uri;
|
|
38
|
+
const content = doc.getText();
|
|
39
|
+
const out = [];
|
|
40
|
+
const container = imp.render_controllers;
|
|
41
|
+
const keys = Object.getOwnPropertyNames(container);
|
|
42
|
+
for (let I = 0; I < keys.length; I++) {
|
|
43
|
+
const id = keys[I];
|
|
44
|
+
const controller = container[id];
|
|
45
|
+
const item = {
|
|
46
|
+
id: id,
|
|
47
|
+
location: bc_minecraft_bedrock_types_1.Types.Location.create(uri, content.indexOf(id)),
|
|
48
|
+
molang: bc_minecraft_molang_1.Molang.MolangFullSet.harvest(controller),
|
|
49
|
+
documentation: types_1.Documentation.getDoc(doc, () => `Render Controller: \`${id}\``),
|
|
50
|
+
};
|
|
51
|
+
out.push(item);
|
|
52
|
+
}
|
|
53
|
+
return out;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=process.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"process.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/render-controller/process.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAQA,0BA0BC;AAlCD,4FAA8E;AAC9E,0CAA+C;AAC/C,6DAA6C;AAE7C,0CAA8C;AAC9C,2EAAmD;AAEnD,MAAM;AACN,SAAgB,OAAO,CAAC,GAAiB;IACvC,MAAM,GAAG,GAAG,oBAAY,CAAC,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,CAAC,CAAC;IACtE,IAAI,CAAC,GAAG;QAAE,OAAO,SAAS,CAAC;IAE3B,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;IACpB,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IAE9B,MAAM,GAAG,GAAuB,EAAE,CAAC;IACnC,MAAM,SAAS,GAAG,GAAG,CAAC,kBAAkB,CAAC;IACzC,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,MAAM,IAAI,GAAqB;YAC7B,EAAE,EAAE,EAAE;YACN,QAAQ,EAAE,kCAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;YACzD,MAAM,EAAE,4BAAM,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC;YAChD,aAAa,EAAE,qBAAa,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,wBAAwB,EAAE,IAAI,CAAC;SAC/E,CAAC;QAEF,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjB,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Molang } from "bc-minecraft-molang";
|
|
2
|
+
import { Types } from "bc-minecraft-bedrock-types";
|
|
3
|
+
import { MolangCarrier } from '../../../types';
|
|
4
|
+
/** */
|
|
5
|
+
export interface RenderController extends Types.BaseObject, MolangCarrier<Molang.MolangFullSet> {
|
|
6
|
+
/** */
|
|
7
|
+
molang: Molang.MolangFullSet;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"render-controller.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/render-controller/render-controller.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { MCProject } from "bc-minecraft-project";
|
|
2
|
+
import { Manifest } from "../../internal/types";
|
|
3
|
+
import { DataSetConnector, PackCollection } from "../../types";
|
|
4
|
+
import { ResourcePack } from "./resource-pack";
|
|
5
|
+
import * as Animation from "./animation";
|
|
6
|
+
import * as AnimationController from "./animation-controller";
|
|
7
|
+
import * as Attachable from "./attachable";
|
|
8
|
+
import * as BlockCulling from "./block-culling";
|
|
9
|
+
import * as Entity from "./entity";
|
|
10
|
+
import * as Fog from "./fog";
|
|
11
|
+
import * as Material from "./material";
|
|
12
|
+
import * as Model from "./model";
|
|
13
|
+
import * as Particle from "./particle";
|
|
14
|
+
import * as RenderController from "./render-controller";
|
|
15
|
+
import * as Sound from "./sound";
|
|
16
|
+
import * as Texture from "./texture";
|
|
17
|
+
/** */
|
|
18
|
+
export declare class ResourcePackCollection extends PackCollection<ResourcePack> {
|
|
19
|
+
/**The collection of animations*/
|
|
20
|
+
readonly animations: DataSetConnector<Animation.Animation, ResourcePack>;
|
|
21
|
+
/**The collection of animations controllers*/
|
|
22
|
+
readonly animation_controllers: DataSetConnector<AnimationController.AnimationController, ResourcePack>;
|
|
23
|
+
/**The collection of animations controllers*/
|
|
24
|
+
readonly attachables: DataSetConnector<Attachable.Attachable, ResourcePack>;
|
|
25
|
+
/**The collection of block_culling_rules*/
|
|
26
|
+
readonly block_culling_rules: DataSetConnector<BlockCulling.BlockCulling, ResourcePack>;
|
|
27
|
+
/**The collection of entities*/
|
|
28
|
+
readonly entities: DataSetConnector<Entity.Entity, ResourcePack>;
|
|
29
|
+
/**The collection of fogs*/
|
|
30
|
+
readonly fogs: DataSetConnector<Fog.Fog, ResourcePack>;
|
|
31
|
+
/**The collection of materials*/
|
|
32
|
+
readonly materials: DataSetConnector<Material.Material, ResourcePack>;
|
|
33
|
+
/**The collection of models*/
|
|
34
|
+
readonly models: DataSetConnector<Model.Model, ResourcePack>;
|
|
35
|
+
/**The collection of models*/
|
|
36
|
+
readonly particles: DataSetConnector<Particle.Particle, ResourcePack>;
|
|
37
|
+
/**The collection of sounds*/
|
|
38
|
+
readonly render_controllers: DataSetConnector<RenderController.RenderController, ResourcePack>;
|
|
39
|
+
/**The collection of sounds*/
|
|
40
|
+
readonly sounds: DataSetConnector<Sound.Sound, ResourcePack>;
|
|
41
|
+
/**The collection of textures*/
|
|
42
|
+
readonly textures: DataSetConnector<Texture.Texture, ResourcePack>;
|
|
43
|
+
/**Creates a new instances of the class*/
|
|
44
|
+
constructor();
|
|
45
|
+
add(folder: string, context: MCProject | string, manifest: Manifest): ResourcePack;
|
|
46
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourcePackCollection = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const resource_pack_1 = require("./resource-pack");
|
|
6
|
+
/** */
|
|
7
|
+
class ResourcePackCollection extends types_1.PackCollection {
|
|
8
|
+
/**Creates a new instances of the class*/
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
//Connections
|
|
12
|
+
this.animations = new types_1.DataSetConnector(this, (pack) => pack.animations);
|
|
13
|
+
this.animation_controllers = new types_1.DataSetConnector(this, (pack) => pack.animation_controllers);
|
|
14
|
+
this.attachables = new types_1.DataSetConnector(this, (pack) => pack.attachables);
|
|
15
|
+
this.block_culling_rules = new types_1.DataSetConnector(this, (pack) => pack.block_culling_rules);
|
|
16
|
+
this.entities = new types_1.DataSetConnector(this, (pack) => pack.entities);
|
|
17
|
+
this.fogs = new types_1.DataSetConnector(this, (pack) => pack.fogs);
|
|
18
|
+
this.materials = new types_1.DataSetConnector(this, (pack) => pack.materials);
|
|
19
|
+
this.models = new types_1.DataSetConnector(this, (pack) => pack.models);
|
|
20
|
+
this.particles = new types_1.DataSetConnector(this, (pack) => pack.particles);
|
|
21
|
+
this.render_controllers = new types_1.DataSetConnector(this, (pack) => pack.render_controllers);
|
|
22
|
+
this.sounds = new types_1.DataSetConnector(this, (pack) => pack.sounds);
|
|
23
|
+
this.textures = new types_1.DataSetConnector(this, (pack) => pack.textures);
|
|
24
|
+
}
|
|
25
|
+
add(folder, context, manifest) {
|
|
26
|
+
const out = new resource_pack_1.ResourcePack(folder, context, manifest);
|
|
27
|
+
this.packs.push(out);
|
|
28
|
+
return out;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.ResourcePackCollection = ResourcePackCollection;
|
|
32
|
+
//# sourceMappingURL=resource-pack-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-pack-collection.js","sourceRoot":"","sources":["../../../../src/project/resource-pack/resource-pack-collection.ts"],"names":[],"mappings":";;;AAEA,uCAA+D;AAC/D,mDAA+C;AAe/C,MAAM;AACN,MAAa,sBAAuB,SAAQ,sBAA4B;IA0BtE,yCAAyC;IACzC;QACE,KAAK,EAAE,CAAC;QAER,aAAa;QACb,IAAI,CAAC,UAAU,GAAG,IAAI,wBAAgB,CAAC,IAAI,EAAE,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AAC,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;IACtE,CAAC;IAED,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;AAnDD,wDAmDC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const bc_minecraft_project_1 = require("bc-minecraft-project");
|
|
4
|
+
const _1 = require(".");
|
|
5
|
+
describe("ResourcePackCollection", () => {
|
|
6
|
+
it("sanity check", () => {
|
|
7
|
+
const pc = new _1.ResourcePackCollection();
|
|
8
|
+
expect(pc.packs).toBeDefined();
|
|
9
|
+
expect(pc.packs).toHaveLength(0);
|
|
10
|
+
pc.add("c:\\project\\", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
11
|
+
expect(pc.packs).toBeDefined();
|
|
12
|
+
expect(pc.packs).toHaveLength(1);
|
|
13
|
+
expect(pc.delete("c:\\project\\")).toBeTruthy();
|
|
14
|
+
expect(pc.packs).toBeDefined();
|
|
15
|
+
expect(pc.packs).toHaveLength(0);
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=resource-pack-collection.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-pack-collection.test.js","sourceRoot":"","sources":["../../../../src/project/resource-pack/resource-pack-collection.test.ts"],"names":[],"mappings":";;AAAA,+DAAiD;AACjD,wBAA2C;AAG3C,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE;IACtC,EAAE,CAAC,cAAc,EAAE,GAAG,EAAE;QACtB,MAAM,EAAE,GAAG,IAAI,yBAAsB,EAAE,CAAC;QACxC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;QAC/B,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;QAEjC,EAAE,CAAC,GAAG,CAAC,eAAe,EAAE,gCAAS,CAAC,WAAW,EAAE,EAAE,EAAc,CAAC,CAAC;QAEjE,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;QAC/B,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;QAEjC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;QAEhD,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC;QAC/B,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { MCProject } from "bc-minecraft-project";
|
|
2
|
+
import { Manifest } from "../../internal/types/manifest";
|
|
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 Attachable from "./attachable";
|
|
8
|
+
import * as BlockCulling from "./block-culling";
|
|
9
|
+
import * as Entity from "./entity";
|
|
10
|
+
import * as Fog from "./fog";
|
|
11
|
+
import * as Material from "./material";
|
|
12
|
+
import * as Model from "./model";
|
|
13
|
+
import * as Particle from "./particle";
|
|
14
|
+
import * as RenderController from "./render-controller";
|
|
15
|
+
import * as Sound from "./sound";
|
|
16
|
+
import * as Texture from "./texture";
|
|
17
|
+
type CollectFieldsOfType<T> = {
|
|
18
|
+
[K in keyof T]: T[K] extends DataSet<infer U> ? U : never;
|
|
19
|
+
};
|
|
20
|
+
type CollectionFieldsDataSet<T> = {
|
|
21
|
+
[K in keyof T]: T[K] extends DataSet<infer U> ? DataSet<U> : never;
|
|
22
|
+
};
|
|
23
|
+
type ItemTypes = CollectFieldsOfType<ResourcePack>[keyof ResourcePack];
|
|
24
|
+
type DataSetTypes = CollectionFieldsDataSet<ResourcePack>[keyof ResourcePack];
|
|
25
|
+
/** */
|
|
26
|
+
export declare class ResourcePack implements Container, Pack {
|
|
27
|
+
readonly type: PackType;
|
|
28
|
+
readonly folder: string;
|
|
29
|
+
readonly context: MCProject;
|
|
30
|
+
readonly manifest: Manifest;
|
|
31
|
+
/**The collection of animations*/
|
|
32
|
+
readonly animations: DataSet<Animation.Animation>;
|
|
33
|
+
/**The collection of animations controllers*/
|
|
34
|
+
readonly animation_controllers: DataSet<AnimationController.AnimationController>;
|
|
35
|
+
/**The collection of animations controllers*/
|
|
36
|
+
readonly attachables: DataSet<Attachable.Attachable>;
|
|
37
|
+
/**The collection of blocks culling rules*/
|
|
38
|
+
readonly block_culling_rules: DataSet<BlockCulling.BlockCulling>;
|
|
39
|
+
/**The collection of entities*/
|
|
40
|
+
readonly entities: DataSet<Entity.Entity>;
|
|
41
|
+
/**The collection of fogs*/
|
|
42
|
+
readonly fogs: DataSet<Fog.Fog>;
|
|
43
|
+
/**The collection of materials*/
|
|
44
|
+
readonly materials: DataSet<Material.Material>;
|
|
45
|
+
/**The collection of models*/
|
|
46
|
+
readonly models: DataSet<Model.Model>;
|
|
47
|
+
/**The collection of models*/
|
|
48
|
+
readonly particles: DataSet<Particle.Particle>;
|
|
49
|
+
/**The collection of sounds*/
|
|
50
|
+
readonly sounds: DataSet<Sound.Sound>;
|
|
51
|
+
/**The collection of sounds*/
|
|
52
|
+
readonly render_controllers: DataSet<RenderController.RenderController>;
|
|
53
|
+
/**The collection of textures*/
|
|
54
|
+
readonly textures: DataSet<Texture.Texture>;
|
|
55
|
+
/**
|
|
56
|
+
* Creates a new instance of ResourcePack
|
|
57
|
+
* @param folder The folder of the behavior
|
|
58
|
+
* @param Context The Mcproject data or the filepath to read from*/
|
|
59
|
+
constructor(folder: string, Context: MCProject | string, manifest: Manifest);
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @param doc
|
|
63
|
+
*/
|
|
64
|
+
process(doc: TextDocument): DataSetTypes | undefined;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param uri
|
|
68
|
+
* @returns
|
|
69
|
+
*/
|
|
70
|
+
getDataset(uri: string): DataSetTypes | undefined;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @param uri
|
|
74
|
+
*/
|
|
75
|
+
deleteFolder(uri: string): boolean;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @param uri
|
|
79
|
+
* @returns
|
|
80
|
+
*/
|
|
81
|
+
deleteFile(uri: string): boolean;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @param predicate
|
|
85
|
+
* @returns
|
|
86
|
+
*/
|
|
87
|
+
find(predicate: (value: ItemTypes, key: string) => boolean): ItemTypes | undefined;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @param predicate
|
|
91
|
+
* @returns
|
|
92
|
+
*/
|
|
93
|
+
forEach(callbackfn: (value: ItemTypes) => void): void;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
export declare namespace ResourcePack {
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @param value
|
|
102
|
+
* @returns
|
|
103
|
+
*/
|
|
104
|
+
function is(value: any): value is ResourcePack;
|
|
105
|
+
}
|
|
106
|
+
export {};
|
|
@@ -0,0 +1,281 @@
|
|
|
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.ResourcePack = void 0;
|
|
27
|
+
const bc_minecraft_project_1 = require("bc-minecraft-project");
|
|
28
|
+
const types_1 = require("../../types");
|
|
29
|
+
const pack_type_1 = require("../pack-type");
|
|
30
|
+
const file_type_1 = require("./file-type");
|
|
31
|
+
const Animation = __importStar(require("./animation"));
|
|
32
|
+
const AnimationController = __importStar(require("./animation-controller"));
|
|
33
|
+
const Attachable = __importStar(require("./attachable"));
|
|
34
|
+
const BlockCulling = __importStar(require("./block-culling"));
|
|
35
|
+
const Entity = __importStar(require("./entity"));
|
|
36
|
+
const Fog = __importStar(require("./fog"));
|
|
37
|
+
const Material = __importStar(require("./material"));
|
|
38
|
+
const Model = __importStar(require("./model"));
|
|
39
|
+
const Particle = __importStar(require("./particle"));
|
|
40
|
+
const RenderController = __importStar(require("./render-controller"));
|
|
41
|
+
const Sound = __importStar(require("./sound"));
|
|
42
|
+
const Texture = __importStar(require("./texture"));
|
|
43
|
+
/** */
|
|
44
|
+
class ResourcePack {
|
|
45
|
+
/**
|
|
46
|
+
* Creates a new instance of ResourcePack
|
|
47
|
+
* @param folder The folder of the behavior
|
|
48
|
+
* @param Context The Mcproject data or the filepath to read from*/
|
|
49
|
+
constructor(folder, Context, manifest) {
|
|
50
|
+
this.type = pack_type_1.PackType.resource_pack;
|
|
51
|
+
this.manifest = manifest;
|
|
52
|
+
this.folder = folder;
|
|
53
|
+
this.context = typeof Context === "object" ? Context : bc_minecraft_project_1.MCProject.loadSync(Context);
|
|
54
|
+
this.animation_controllers = new types_1.DataSet();
|
|
55
|
+
this.animations = new types_1.DataSet();
|
|
56
|
+
this.attachables = new types_1.DataSet();
|
|
57
|
+
this.block_culling_rules = new types_1.DataSet();
|
|
58
|
+
this.entities = new types_1.DataSet();
|
|
59
|
+
this.fogs = new types_1.DataSet();
|
|
60
|
+
this.materials = new types_1.DataSet();
|
|
61
|
+
this.models = new types_1.DataSet();
|
|
62
|
+
this.particles = new types_1.DataSet();
|
|
63
|
+
this.render_controllers = new types_1.DataSet();
|
|
64
|
+
this.sounds = new types_1.DataSet();
|
|
65
|
+
this.textures = new types_1.DataSet();
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @param doc
|
|
70
|
+
*/
|
|
71
|
+
process(doc) {
|
|
72
|
+
this.deleteFile(doc.uri);
|
|
73
|
+
const Type = file_type_1.FileType.detect(doc.uri);
|
|
74
|
+
switch (Type) {
|
|
75
|
+
case file_type_1.FileType.animation:
|
|
76
|
+
return this.animations.set(Animation.Process(doc));
|
|
77
|
+
case file_type_1.FileType.animation_controller:
|
|
78
|
+
return this.animation_controllers.set(AnimationController.Process(doc));
|
|
79
|
+
case file_type_1.FileType.block_culling_rules:
|
|
80
|
+
return this.block_culling_rules.set(BlockCulling.Process(doc));
|
|
81
|
+
case file_type_1.FileType.attachable:
|
|
82
|
+
return this.attachables.set(Attachable.Process(doc));
|
|
83
|
+
case file_type_1.FileType.entity:
|
|
84
|
+
return this.entities.set(Entity.Process(doc));
|
|
85
|
+
case file_type_1.FileType.fog:
|
|
86
|
+
return this.fogs.set(Fog.Process(doc));
|
|
87
|
+
case file_type_1.FileType.material:
|
|
88
|
+
return this.materials.set(Material.Process(doc));
|
|
89
|
+
case file_type_1.FileType.model:
|
|
90
|
+
return this.models.set(Model.Process(doc));
|
|
91
|
+
case file_type_1.FileType.render_controller:
|
|
92
|
+
return this.render_controllers.set(RenderController.Process(doc));
|
|
93
|
+
case file_type_1.FileType.particle:
|
|
94
|
+
return this.particles.set(Particle.Process(doc));
|
|
95
|
+
case file_type_1.FileType.sounds_definitions:
|
|
96
|
+
return this.sounds.set(Sound.Process(doc));
|
|
97
|
+
case file_type_1.FileType.texture:
|
|
98
|
+
case file_type_1.FileType.texture_item_atlas:
|
|
99
|
+
case file_type_1.FileType.texture_terrain_atlas:
|
|
100
|
+
return this.textures.set(Texture.ProcessTextureAtlas(doc));
|
|
101
|
+
}
|
|
102
|
+
return undefined;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @param uri
|
|
107
|
+
* @returns
|
|
108
|
+
*/
|
|
109
|
+
getDataset(uri) {
|
|
110
|
+
const Type = file_type_1.FileType.detect(uri);
|
|
111
|
+
switch (Type) {
|
|
112
|
+
case file_type_1.FileType.animation:
|
|
113
|
+
return this.animations;
|
|
114
|
+
case file_type_1.FileType.animation_controller:
|
|
115
|
+
return this.animation_controllers;
|
|
116
|
+
case file_type_1.FileType.attachable:
|
|
117
|
+
return this.attachables;
|
|
118
|
+
case file_type_1.FileType.block_culling_rules:
|
|
119
|
+
return this.block_culling_rules;
|
|
120
|
+
case file_type_1.FileType.entity:
|
|
121
|
+
return this.entities;
|
|
122
|
+
case file_type_1.FileType.fog:
|
|
123
|
+
return this.fogs;
|
|
124
|
+
case file_type_1.FileType.material:
|
|
125
|
+
return this.materials;
|
|
126
|
+
case file_type_1.FileType.model:
|
|
127
|
+
return this.models;
|
|
128
|
+
case file_type_1.FileType.particle:
|
|
129
|
+
return this.particles;
|
|
130
|
+
case file_type_1.FileType.render_controller:
|
|
131
|
+
return this.particles;
|
|
132
|
+
case file_type_1.FileType.sounds_definitions:
|
|
133
|
+
return this.sounds;
|
|
134
|
+
case file_type_1.FileType.texture:
|
|
135
|
+
case file_type_1.FileType.texture_item_atlas:
|
|
136
|
+
case file_type_1.FileType.texture_terrain_atlas:
|
|
137
|
+
return this.textures;
|
|
138
|
+
default:
|
|
139
|
+
return undefined;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @param uri
|
|
145
|
+
*/
|
|
146
|
+
deleteFolder(uri) {
|
|
147
|
+
let out = false;
|
|
148
|
+
out = this.animations.deleteFolder(uri) || out;
|
|
149
|
+
out = this.animation_controllers.deleteFolder(uri) || out;
|
|
150
|
+
out = this.attachables.deleteFolder(uri) || out;
|
|
151
|
+
out = this.block_culling_rules.deleteFolder(uri) || out;
|
|
152
|
+
out = this.entities.deleteFolder(uri) || out;
|
|
153
|
+
out = this.fogs.deleteFolder(uri) || out;
|
|
154
|
+
out = this.materials.deleteFolder(uri) || out;
|
|
155
|
+
out = this.models.deleteFolder(uri) || out;
|
|
156
|
+
out = this.particles.deleteFolder(uri) || out;
|
|
157
|
+
out = this.sounds.deleteFolder(uri) || out;
|
|
158
|
+
out = this.textures.deleteFolder(uri) || out;
|
|
159
|
+
return out;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @param uri
|
|
164
|
+
* @returns
|
|
165
|
+
*/
|
|
166
|
+
deleteFile(uri) {
|
|
167
|
+
let out = false;
|
|
168
|
+
out = this.animations.deleteFile(uri) || out;
|
|
169
|
+
out = this.animation_controllers.deleteFile(uri) || out;
|
|
170
|
+
out = this.attachables.deleteFile(uri) || out;
|
|
171
|
+
out = this.block_culling_rules.deleteFile(uri) || out;
|
|
172
|
+
out = this.entities.deleteFile(uri) || out;
|
|
173
|
+
out = this.fogs.deleteFile(uri) || out;
|
|
174
|
+
out = this.materials.deleteFile(uri) || out;
|
|
175
|
+
out = this.models.deleteFile(uri) || out;
|
|
176
|
+
out = this.particles.deleteFile(uri) || out;
|
|
177
|
+
out = this.sounds.deleteFile(uri) || out;
|
|
178
|
+
out = this.textures.deleteFile(uri) || out;
|
|
179
|
+
return out;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @param predicate
|
|
184
|
+
* @returns
|
|
185
|
+
*/
|
|
186
|
+
find(predicate) {
|
|
187
|
+
let value = undefined;
|
|
188
|
+
if ((value = this.animation_controllers.find(predicate)))
|
|
189
|
+
return value;
|
|
190
|
+
if ((value = this.animations.find(predicate)))
|
|
191
|
+
return value;
|
|
192
|
+
if ((value = this.attachables.find(predicate)))
|
|
193
|
+
return value;
|
|
194
|
+
if ((value = this.block_culling_rules.find(predicate)))
|
|
195
|
+
return value;
|
|
196
|
+
if ((value = this.entities.find(predicate)))
|
|
197
|
+
return value;
|
|
198
|
+
if ((value = this.fogs.find(predicate)))
|
|
199
|
+
return value;
|
|
200
|
+
if ((value = this.materials.find(predicate)))
|
|
201
|
+
return value;
|
|
202
|
+
if ((value = this.models.find(predicate)))
|
|
203
|
+
return value;
|
|
204
|
+
if ((value = this.particles.find(predicate)))
|
|
205
|
+
return value;
|
|
206
|
+
if ((value = this.render_controllers.find(predicate)))
|
|
207
|
+
return value;
|
|
208
|
+
if ((value = this.sounds.find(predicate)))
|
|
209
|
+
return value;
|
|
210
|
+
if ((value = this.textures.find(predicate)))
|
|
211
|
+
return value;
|
|
212
|
+
return value;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @param predicate
|
|
217
|
+
* @returns
|
|
218
|
+
*/
|
|
219
|
+
forEach(callbackfn) {
|
|
220
|
+
this.animation_controllers.forEach(callbackfn);
|
|
221
|
+
this.animations.forEach(callbackfn);
|
|
222
|
+
this.attachables.forEach(callbackfn);
|
|
223
|
+
this.entities.forEach(callbackfn);
|
|
224
|
+
this.fogs.forEach(callbackfn);
|
|
225
|
+
this.materials.forEach(callbackfn);
|
|
226
|
+
this.models.forEach(callbackfn);
|
|
227
|
+
this.particles.forEach(callbackfn);
|
|
228
|
+
this.render_controllers.forEach(callbackfn);
|
|
229
|
+
this.sounds.forEach(callbackfn);
|
|
230
|
+
this.textures.forEach(callbackfn);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
exports.ResourcePack = ResourcePack;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
*/
|
|
237
|
+
(function (ResourcePack) {
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @param value
|
|
241
|
+
* @returns
|
|
242
|
+
*/
|
|
243
|
+
function is(value) {
|
|
244
|
+
if (typeof value === "object") {
|
|
245
|
+
const temp = value;
|
|
246
|
+
//Order is determined buy likely / unlikely it is that it missing
|
|
247
|
+
if (typeof temp.attachables !== "object")
|
|
248
|
+
return false;
|
|
249
|
+
if (typeof temp.fogs !== "object")
|
|
250
|
+
return false;
|
|
251
|
+
if (typeof temp.materials !== "object")
|
|
252
|
+
return false;
|
|
253
|
+
if (typeof temp.models !== "object")
|
|
254
|
+
return false;
|
|
255
|
+
if (typeof temp.particles !== "object")
|
|
256
|
+
return false;
|
|
257
|
+
if (typeof temp.render_controllers !== "object")
|
|
258
|
+
return false;
|
|
259
|
+
if (typeof temp.sounds !== "object")
|
|
260
|
+
return false;
|
|
261
|
+
if (typeof temp.textures !== "object")
|
|
262
|
+
return false;
|
|
263
|
+
if (typeof temp.animations !== "object")
|
|
264
|
+
return false;
|
|
265
|
+
if (typeof temp.animation_controllers !== "object")
|
|
266
|
+
return false;
|
|
267
|
+
if (typeof temp.block_culling_rules !== "object")
|
|
268
|
+
return false;
|
|
269
|
+
if (typeof temp.entities !== "object")
|
|
270
|
+
return false;
|
|
271
|
+
if (typeof temp.context !== "object")
|
|
272
|
+
return false;
|
|
273
|
+
if (typeof temp.folder !== "string")
|
|
274
|
+
return false;
|
|
275
|
+
return true;
|
|
276
|
+
}
|
|
277
|
+
return false;
|
|
278
|
+
}
|
|
279
|
+
ResourcePack.is = is;
|
|
280
|
+
})(ResourcePack || (exports.ResourcePack = ResourcePack = {}));
|
|
281
|
+
//# sourceMappingURL=resource-pack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-pack.js","sourceRoot":"","sources":["../../../../src/project/resource-pack/resource-pack.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+DAAiD;AAEjD,uCAAqE;AACrE,4CAAwC;AACxC,2CAAuC;AAEvC,uDAAyC;AACzC,4EAA8D;AAC9D,yDAA2C;AAC3C,8DAAgD;AAChD,iDAAmC;AACnC,2CAA6B;AAC7B,qDAAuC;AACvC,+CAAiC;AACjC,qDAAuC;AACvC,sEAAwD;AACxD,+CAAiC;AACjC,mDAAqC;AAYrC,MAAM;AACN,MAAa,YAAY;IA+BvB;;;uEAGmE;IACnE,YAAY,MAAc,EAAE,OAA2B,EAAE,QAAkB;QAlClE,SAAI,GAAa,oBAAQ,CAAC,aAAa,CAAC;QAmC/C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC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AE,OAAO,KAAK,CAAC;YACrD,IAAI,OAAO,IAAI,CAAC,kBAAkB,KAAK,QAAQ;gBAAE,OAAO,KAAK,CAAC;YAC9D,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ;gBAAE,OAAO,KAAK,CAAC;YAClD,IAAI,OAAO,IAAI,CAAC,QAAQ,KAAK,QAAQ;gBAAE,OAAO,KAAK,CAAC;YAEpD,IAAI,OAAO,IAAI,CAAC,UAAU,KAAK,QAAQ;gBAAE,OAAO,KAAK,CAAC;YACtD,IAAI,OAAO,IAAI,CAAC,qBAAqB,KAAK,QAAQ;gBAAE,OAAO,KAAK,CAAC;YACjE,IAAI,OAAO,IAAI,CAAC,mBAAmB,KAAK,QAAQ;gBAAE,OAAO,KAAK,CAAC;YAC/D,IAAI,OAAO,IAAI,CAAC,QAAQ,KAAK,QAAQ;gBAAE,OAAO,KAAK,CAAC;YAEpD,IAAI,OAAO,IAAI,CAAC,OAAO,KAAK,QAAQ;gBAAE,OAAO,KAAK,CAAC;YACnD,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ;gBAAE,OAAO,KAAK,CAAC;YAElD,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAzBe,eAAE,KAyBjB,CAAA;AACH,CAAC,EAhCgB,YAAY,4BAAZ,YAAY,QAgC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const bc_minecraft_project_1 = require("bc-minecraft-project");
|
|
4
|
+
const resource_pack_1 = require("../resource-pack");
|
|
5
|
+
describe("Resourcepack", () => {
|
|
6
|
+
describe("sanity check", () => {
|
|
7
|
+
const RP = new resource_pack_1.ResourcePack("c:\\test", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
8
|
+
it("animation controllers", () => {
|
|
9
|
+
expect(typeof RP.animation_controllers === "object").toBeTruthy();
|
|
10
|
+
});
|
|
11
|
+
it("animations", () => {
|
|
12
|
+
expect(typeof RP.animations === "object").toBeTruthy();
|
|
13
|
+
});
|
|
14
|
+
it("attachables", () => {
|
|
15
|
+
expect(typeof RP.attachables === "object").toBeTruthy();
|
|
16
|
+
});
|
|
17
|
+
it("block_culling", () => {
|
|
18
|
+
expect(typeof RP.block_culling_rules === "object").toBeTruthy();
|
|
19
|
+
});
|
|
20
|
+
it("context", () => {
|
|
21
|
+
expect(typeof RP.context === "object").toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
it("entities", () => {
|
|
24
|
+
expect(typeof RP.entities === "object").toBeTruthy();
|
|
25
|
+
});
|
|
26
|
+
it("folder", () => {
|
|
27
|
+
expect(typeof RP.folder === "string").toBeTruthy();
|
|
28
|
+
});
|
|
29
|
+
it("materials", () => {
|
|
30
|
+
expect(typeof RP.materials === "object").toBeTruthy();
|
|
31
|
+
});
|
|
32
|
+
it("models", () => {
|
|
33
|
+
expect(typeof RP.models === "object").toBeTruthy();
|
|
34
|
+
});
|
|
35
|
+
it("particles", () => {
|
|
36
|
+
expect(typeof RP.particles === "object").toBeTruthy();
|
|
37
|
+
});
|
|
38
|
+
it("sounds", () => {
|
|
39
|
+
expect(typeof RP.sounds === "object").toBeTruthy();
|
|
40
|
+
});
|
|
41
|
+
it("textures", () => {
|
|
42
|
+
expect(typeof RP.textures === "object").toBeTruthy();
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
describe("is", () => {
|
|
46
|
+
const RP = new resource_pack_1.ResourcePack("c:\\test", bc_minecraft_project_1.MCProject.createEmpty(), {});
|
|
47
|
+
it("Is resourcepack", () => {
|
|
48
|
+
expect(resource_pack_1.ResourcePack.is(RP)).toBeTruthy();
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
//# sourceMappingURL=resource-pack.test.js.map
|