bc-minecraft-bedrock-project 1.21.2-5 → 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 +14 -10
- 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,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DataSetConnector = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* The class DataSetConnector description
|
|
6
|
+
*/
|
|
7
|
+
class DataSetConnector {
|
|
8
|
+
constructor(collection, getDataset) {
|
|
9
|
+
this._collection = collection;
|
|
10
|
+
this._getDataset = getDataset;
|
|
11
|
+
}
|
|
12
|
+
/** @inheritdoc */
|
|
13
|
+
get(id) {
|
|
14
|
+
var _a;
|
|
15
|
+
const packs = this._collection.packs;
|
|
16
|
+
if (!packs)
|
|
17
|
+
return undefined;
|
|
18
|
+
for (let I = 0; I < packs.length; I++) {
|
|
19
|
+
const p = packs[I];
|
|
20
|
+
const item = (_a = this._getDataset(p)) === null || _a === void 0 ? void 0 : _a.get(id);
|
|
21
|
+
if (item)
|
|
22
|
+
return item;
|
|
23
|
+
}
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
/** @inheritdoc */
|
|
27
|
+
has(id) {
|
|
28
|
+
return this.get(id) !== undefined;
|
|
29
|
+
}
|
|
30
|
+
/**Loops over all items in the collection and call the specified function on them
|
|
31
|
+
* @param callbackfn The function to call for each item
|
|
32
|
+
* @param thisArg The this argument*/
|
|
33
|
+
forEach(callbackfn, thisArg) {
|
|
34
|
+
const packs = this._collection.packs;
|
|
35
|
+
if (!packs)
|
|
36
|
+
return undefined;
|
|
37
|
+
for (let I = 0; I < packs.length; I++) {
|
|
38
|
+
const p = packs[I];
|
|
39
|
+
const dataset = this._getDataset(p);
|
|
40
|
+
dataset === null || dataset === void 0 ? void 0 : dataset.forEach(callbackfn, thisArg);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/** @inheritdoc */
|
|
44
|
+
find(predicate) {
|
|
45
|
+
const packs = this._collection.packs;
|
|
46
|
+
if (!packs)
|
|
47
|
+
return undefined;
|
|
48
|
+
for (let I = 0; I < packs.length; I++) {
|
|
49
|
+
const p = packs[I];
|
|
50
|
+
const dataset = this._getDataset(p);
|
|
51
|
+
const out = dataset === null || dataset === void 0 ? void 0 : dataset.find(predicate);
|
|
52
|
+
if (out)
|
|
53
|
+
return out;
|
|
54
|
+
}
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.DataSetConnector = DataSetConnector;
|
|
59
|
+
//# sourceMappingURL=data-set-connector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-set-connector.js","sourceRoot":"","sources":["../../../src/types/data-set-connector.ts"],"names":[],"mappings":";;;AAMA;;GAEG;AACH,MAAa,gBAAgB;IAI3B,YAAY,UAA6B,EAAE,UAA+C;QACxF,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,WAAW,GAAG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C;QACrC,IAAI,CAAC,KAAK;YAAE,OAAO,SAAS,CAAC;QAE7B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACtC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;YACnB,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YACpC,MAAM,GAAG,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,CAAC,SAAS,CAAC,CAAC;YAErC,IAAI,GAAG;gBAAE,OAAO,GAAG,CAAC;QACtB,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AA1DD,4CA0DC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Types } from "bc-minecraft-bedrock-types";
|
|
2
|
+
import { IDataSet } from "./i-data-set";
|
|
3
|
+
/** The base of any dataset */
|
|
4
|
+
export interface DataSetBase {
|
|
5
|
+
/** Clears the entire dataset */
|
|
6
|
+
clear(): void;
|
|
7
|
+
/**
|
|
8
|
+
* Delete the given item key from the location
|
|
9
|
+
* @param key The objects identify key
|
|
10
|
+
* @returns `true` or `false` wheter or not deletion was succesfull*/
|
|
11
|
+
delete(key: string | Types.Identifiable): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Delete the items that come from the specified file
|
|
14
|
+
* @param uri The filepath uri
|
|
15
|
+
* @returns `true` or `false` wheter or not deletion was succesfull*/
|
|
16
|
+
deleteFile(uri: string): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Delete the items that come from the specified file
|
|
19
|
+
* @param uri The filepath uri
|
|
20
|
+
* @returns `true` or `false` wheter or not deletion was succesfull*/
|
|
21
|
+
deleteFolder(uri: string): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Checks if an object with the given id exists
|
|
24
|
+
* @param key The objects identify key
|
|
25
|
+
* @returns `true` or `false` wheter or not deletion was succesfull*/
|
|
26
|
+
has(key: string | Types.Identifiable): boolean;
|
|
27
|
+
}
|
|
28
|
+
/** */
|
|
29
|
+
export declare class DataSet<T extends Types.Identifiable & Types.Locatable> implements DataSetBase, IDataSet<T> {
|
|
30
|
+
private _data;
|
|
31
|
+
constructor();
|
|
32
|
+
/** @inheritdoc */
|
|
33
|
+
clear(): void;
|
|
34
|
+
/** @inheritdoc */
|
|
35
|
+
count(): number;
|
|
36
|
+
/** @inheritdoc */
|
|
37
|
+
delete(key: string | Types.Identifiable): boolean;
|
|
38
|
+
/** @inheritdoc */
|
|
39
|
+
deleteFile(uri: string): boolean;
|
|
40
|
+
/** @inheritdoc */
|
|
41
|
+
deleteFolder(uri: string): boolean;
|
|
42
|
+
/**Loops over all items in the collection and call the specified function on them
|
|
43
|
+
* @param callbackfn The function to call for each item
|
|
44
|
+
* @param thisArg The this argument*/
|
|
45
|
+
forEach(callbackfn: (value: T) => void, thisArg?: any): void;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @param predicate
|
|
49
|
+
* @returns
|
|
50
|
+
*/
|
|
51
|
+
find(predicate: (value: T, key: string) => boolean): T | undefined;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @param key
|
|
55
|
+
* @returns
|
|
56
|
+
*/
|
|
57
|
+
get(key: string | Types.Identifiable): T | undefined;
|
|
58
|
+
/** @inheritdoc */
|
|
59
|
+
has(key: string | Types.Identifiable): boolean;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @param value
|
|
63
|
+
* @returns
|
|
64
|
+
*/
|
|
65
|
+
set(value: T | T[] | undefined): this;
|
|
66
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DataSet = void 0;
|
|
4
|
+
const bc_minecraft_bedrock_types_1 = require("bc-minecraft-bedrock-types");
|
|
5
|
+
/** */
|
|
6
|
+
class DataSet {
|
|
7
|
+
constructor() {
|
|
8
|
+
this._data = new Map();
|
|
9
|
+
}
|
|
10
|
+
/** @inheritdoc */
|
|
11
|
+
clear() {
|
|
12
|
+
this._data.clear();
|
|
13
|
+
}
|
|
14
|
+
/** @inheritdoc */
|
|
15
|
+
count() {
|
|
16
|
+
return this._data.size;
|
|
17
|
+
}
|
|
18
|
+
/** @inheritdoc */
|
|
19
|
+
delete(key) {
|
|
20
|
+
if (typeof key !== "string")
|
|
21
|
+
key = key.id;
|
|
22
|
+
return this._data.delete(key);
|
|
23
|
+
}
|
|
24
|
+
/** @inheritdoc */
|
|
25
|
+
deleteFile(uri) {
|
|
26
|
+
let out = false;
|
|
27
|
+
this._data.forEach((item, key) => {
|
|
28
|
+
if (item.location.uri === uri) {
|
|
29
|
+
this._data.delete(key);
|
|
30
|
+
out = true;
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
return out;
|
|
34
|
+
}
|
|
35
|
+
/** @inheritdoc */
|
|
36
|
+
deleteFolder(uri) {
|
|
37
|
+
let out = false;
|
|
38
|
+
this._data.forEach((item, key) => {
|
|
39
|
+
if (item.location.uri.startsWith(uri)) {
|
|
40
|
+
this._data.delete(key);
|
|
41
|
+
out = true;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
return out;
|
|
45
|
+
}
|
|
46
|
+
/**Loops over all items in the collection and call the specified function on them
|
|
47
|
+
* @param callbackfn The function to call for each item
|
|
48
|
+
* @param thisArg The this argument*/
|
|
49
|
+
forEach(callbackfn, thisArg) {
|
|
50
|
+
this._data.forEach(callbackfn, thisArg);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @param predicate
|
|
55
|
+
* @returns
|
|
56
|
+
*/
|
|
57
|
+
find(predicate) {
|
|
58
|
+
for (const item of this._data.entries()) {
|
|
59
|
+
if (predicate(item[1], item[0]))
|
|
60
|
+
return item[1];
|
|
61
|
+
}
|
|
62
|
+
return undefined;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @param key
|
|
67
|
+
* @returns
|
|
68
|
+
*/
|
|
69
|
+
get(key) {
|
|
70
|
+
return this._data.get(bc_minecraft_bedrock_types_1.Types.Identifiable.getId(key));
|
|
71
|
+
}
|
|
72
|
+
/** @inheritdoc */
|
|
73
|
+
has(key) {
|
|
74
|
+
return this._data.has(bc_minecraft_bedrock_types_1.Types.Identifiable.getId(key));
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @param value
|
|
79
|
+
* @returns
|
|
80
|
+
*/
|
|
81
|
+
set(value) {
|
|
82
|
+
if (value) {
|
|
83
|
+
if (Array.isArray(value)) {
|
|
84
|
+
value.forEach((i) => this._data.set(i.id, i));
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
this._data.set(value.id, value);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.DataSet = DataSet;
|
|
94
|
+
//# sourceMappingURL=data-set.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-set.js","sourceRoot":"","sources":["../../../src/types/data-set.ts"],"names":[],"mappings":";;;AAAA,2EAAmD;AAiCnD,MAAM;AACN,MAAa,OAAO;IAGlB;QACE,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,EAAa,CAAC;IACpC,CAAC;IAED,kBAAkB;IAClB,KAAK;QACH,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;IAED,kBAAkB;IAClB,KAAK;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;IACzB,CAAC;IAED,kBAAkB;IAClB,MAAM,CAAC,GAAgC;QACrC,IAAI,OAAO,GAAG,KAAK,QAAQ;YAAE,GAAG,GAAG,GAAG,CAAC,EAAE,CAAC;QAE1C,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,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AAC;IACnB,CAAC;IAED;;;;OAIG;IACH,GAAG,CAAC,GAAgC;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,kCAAK,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,kBAAkB;IAClB,GAAG,CAAC,GAAgC;QAClC,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,kCAAK,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IACvD,CAAC;IAED;;;;OAIG;IACH,GAAG,CAAC,KAA0B;QAC5B,IAAI,KAAK,EAAE,CAAC;YACV,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;gBACzB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;YAChD,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;YAClC,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAtGD,0BAsGC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const types_1 = require("bc-minecraft-bedrock-types/lib/types");
|
|
4
|
+
const types_2 = require("../../src/types");
|
|
5
|
+
var TestObject;
|
|
6
|
+
(function (TestObject) {
|
|
7
|
+
function create(id, uri, position = undefined) {
|
|
8
|
+
return {
|
|
9
|
+
id: id,
|
|
10
|
+
location: types_1.Location.create(uri, position),
|
|
11
|
+
documentation: "custom object: " + id,
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
TestObject.create = create;
|
|
15
|
+
})(TestObject || (TestObject = {}));
|
|
16
|
+
const dataID = "example.id";
|
|
17
|
+
const dataUri = "c:\\project\\bp\\loot_tables\\example.data.json";
|
|
18
|
+
const dataFolder = "c:\\project\\bp\\loot_tables";
|
|
19
|
+
const dataItem = TestObject.create(dataID, dataUri);
|
|
20
|
+
describe("DataSet", () => {
|
|
21
|
+
it("set", () => {
|
|
22
|
+
const set = new types_2.DataSet();
|
|
23
|
+
set.set(dataItem);
|
|
24
|
+
expect(set.has(dataID)).toBeTruthy();
|
|
25
|
+
expect(set.count()).toEqual(1);
|
|
26
|
+
});
|
|
27
|
+
it("get", () => {
|
|
28
|
+
const set = new types_2.DataSet();
|
|
29
|
+
set.set(dataItem);
|
|
30
|
+
const d = set.get(dataID);
|
|
31
|
+
expect(d).toEqual(dataItem);
|
|
32
|
+
});
|
|
33
|
+
it("get duplicate", () => {
|
|
34
|
+
const set = new types_2.DataSet();
|
|
35
|
+
set.set(dataItem);
|
|
36
|
+
set.set(TestObject.create(dataID, "I am different", 0));
|
|
37
|
+
const d = set.get(dataID);
|
|
38
|
+
expect(d).not.toEqual(dataItem);
|
|
39
|
+
expect(d === null || d === void 0 ? void 0 : d.id).toEqual(dataItem.id);
|
|
40
|
+
});
|
|
41
|
+
it("has", () => {
|
|
42
|
+
const set = new types_2.DataSet();
|
|
43
|
+
set.set(dataItem);
|
|
44
|
+
expect(set.has(dataID)).toBeTruthy();
|
|
45
|
+
});
|
|
46
|
+
it("duplicate sets", () => {
|
|
47
|
+
const set = new types_2.DataSet();
|
|
48
|
+
set.set(dataItem);
|
|
49
|
+
expect(set.has(dataItem)).toBeTruthy();
|
|
50
|
+
expect(set.count()).toEqual(1);
|
|
51
|
+
//duplicate sets
|
|
52
|
+
set.set(dataItem);
|
|
53
|
+
set.set(dataItem);
|
|
54
|
+
set.set(dataItem);
|
|
55
|
+
expect(set.count()).toEqual(1);
|
|
56
|
+
});
|
|
57
|
+
it("clear", () => {
|
|
58
|
+
const set = new types_2.DataSet();
|
|
59
|
+
set.set(dataItem);
|
|
60
|
+
expect(set.has(dataItem)).toBeTruthy();
|
|
61
|
+
set.clear();
|
|
62
|
+
expect(set.count()).toEqual(0);
|
|
63
|
+
expect(set.has(dataID)).toBeFalsy();
|
|
64
|
+
});
|
|
65
|
+
it("count", () => {
|
|
66
|
+
const set = new types_2.DataSet();
|
|
67
|
+
set.set(dataItem);
|
|
68
|
+
expect(set.has(dataItem)).toBeTruthy();
|
|
69
|
+
expect(set.count()).toEqual(1);
|
|
70
|
+
//duplicate sets
|
|
71
|
+
set.set(TestObject.create("a", "b"));
|
|
72
|
+
set.set(TestObject.create("c", "b"));
|
|
73
|
+
set.set(TestObject.create("d", "b"));
|
|
74
|
+
expect(set.count()).toEqual(4);
|
|
75
|
+
});
|
|
76
|
+
it("delete1", () => {
|
|
77
|
+
const set = new types_2.DataSet();
|
|
78
|
+
set.set(dataItem);
|
|
79
|
+
expect(set.has(dataItem)).toBeTruthy();
|
|
80
|
+
expect(set.delete(dataItem)).toBeTruthy();
|
|
81
|
+
expect(set.has(dataItem)).toBeFalsy();
|
|
82
|
+
});
|
|
83
|
+
it("delete2", () => {
|
|
84
|
+
const set = new types_2.DataSet();
|
|
85
|
+
set.set(dataItem);
|
|
86
|
+
expect(set.has(dataItem)).toBeTruthy();
|
|
87
|
+
expect(set.delete(dataID)).toBeTruthy();
|
|
88
|
+
expect(set.has(dataItem)).toBeFalsy();
|
|
89
|
+
});
|
|
90
|
+
it("deleteFile", () => {
|
|
91
|
+
const set = new types_2.DataSet();
|
|
92
|
+
set.set(dataItem);
|
|
93
|
+
expect(set.has(dataItem)).toBeTruthy();
|
|
94
|
+
expect(set.deleteFile(dataUri)).toBeTruthy();
|
|
95
|
+
expect(set.has(dataItem)).toBeFalsy();
|
|
96
|
+
});
|
|
97
|
+
it("deleteFolder", () => {
|
|
98
|
+
const set = new types_2.DataSet();
|
|
99
|
+
set.set(dataItem);
|
|
100
|
+
expect(set.has(dataItem)).toBeTruthy();
|
|
101
|
+
expect(set.deleteFolder(dataFolder)).toBeTruthy();
|
|
102
|
+
expect(set.has(dataItem)).toBeFalsy();
|
|
103
|
+
});
|
|
104
|
+
it("foreach", () => {
|
|
105
|
+
const set = new types_2.DataSet();
|
|
106
|
+
set.set(TestObject.create("a", "b"));
|
|
107
|
+
set.set(TestObject.create("c", "b"));
|
|
108
|
+
set.set(TestObject.create("d", "b"));
|
|
109
|
+
set.set(TestObject.create("e", "b"));
|
|
110
|
+
let count = 0;
|
|
111
|
+
set.forEach((p) => {
|
|
112
|
+
if (p)
|
|
113
|
+
count++;
|
|
114
|
+
else
|
|
115
|
+
throw new Error("Item was undefined");
|
|
116
|
+
});
|
|
117
|
+
expect(count).toEqual(4);
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
//# sourceMappingURL=data-set.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-set.test.js","sourceRoot":"","sources":["../../../src/types/data-set.test.ts"],"names":[],"mappings":";;AACA,gEAAgE;AAChE,2CAA0C;AAI1C,IAAU,UAAU,CAYnB;AAZD,WAAU,UAAU;IAClB,SAAgB,MAAM,CACpB,EAAU,EACV,GAAW,EACX,WAA+C,SAAS;QAExD,OAAO;YACL,EAAE,EAAE,EAAE;YACN,QAAQ,EAAE,gBAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,QAAQ,CAAC;YACxC,aAAa,EAAE,iBAAiB,GAAG,EAAE;SACtC,CAAC;IACJ,CAAC;IAVe,iBAAM,SAUrB,CAAA;AACH,CAAC,EAZS,UAAU,KAAV,UAAU,QAYnB;AAED,MAAM,MAAM,GAAG,YAAY,CAAC;AAC5B,MAAM,OAAO,GAAG,iDAAiD,CAAC;AAClE,MAAM,UAAU,GAAG,8BAA8B,CAAC;AAClD,MAAM,QAAQ,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEpD,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;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CAAC;QAEtC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;QACrC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;QACrC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;QACrC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;QAErC,IAAI,KAAK,GAAG,CAAC,CAAC;QAEd,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;YAChB,IAAI,CAAC;gBAAE,KAAK,EAAE,CAAC;;gBACV,MAAM,IAAI,KAAK,CAAC,oBAAoB,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Types } from "bc-minecraft-bedrock-types";
|
|
2
|
+
import { TextDocument } from "./text-document";
|
|
3
|
+
/** */
|
|
4
|
+
export declare namespace Documentation {
|
|
5
|
+
/**Retrieves the comment from the first line or uses the given default to generate a default line of documentation
|
|
6
|
+
* @param receiver The receiving object
|
|
7
|
+
* @param doc The text document to read from
|
|
8
|
+
* @param ifDefault The default text is nothing is found in the document*/
|
|
9
|
+
function setDoc(receiver: Types.Documentated, doc: TextDocument, ifDefault?: string | (() => string) | undefined): void;
|
|
10
|
+
/**Retrieves the comment from the first line or uses the given default to generate a default line of documentation
|
|
11
|
+
* @param doc The text document to read from
|
|
12
|
+
* @param ifDefault The default text is nothing is found in the document*/
|
|
13
|
+
function getDoc(doc: TextDocument, ifDefault?: string | (() => string) | undefined, offset?: number): string | undefined;
|
|
14
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Documentation = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
var Documentation;
|
|
6
|
+
(function (Documentation) {
|
|
7
|
+
/**Retrieves the comment from the first line or uses the given default to generate a default line of documentation
|
|
8
|
+
* @param receiver The receiving object
|
|
9
|
+
* @param doc The text document to read from
|
|
10
|
+
* @param ifDefault The default text is nothing is found in the document*/
|
|
11
|
+
function setDoc(receiver, doc, ifDefault = undefined) {
|
|
12
|
+
receiver.documentation = getDoc(doc, ifDefault);
|
|
13
|
+
}
|
|
14
|
+
Documentation.setDoc = setDoc;
|
|
15
|
+
/**Retrieves the comment from the first line or uses the given default to generate a default line of documentation
|
|
16
|
+
* @param doc The text document to read from
|
|
17
|
+
* @param ifDefault The default text is nothing is found in the document*/
|
|
18
|
+
function getDoc(doc, ifDefault = undefined, offset) {
|
|
19
|
+
let documentation;
|
|
20
|
+
//If specific spot is mentioned
|
|
21
|
+
if (offset !== undefined) {
|
|
22
|
+
//Get comment on current line
|
|
23
|
+
documentation = getDocumentation(doc, offset);
|
|
24
|
+
if (documentation)
|
|
25
|
+
return documentation;
|
|
26
|
+
//Get comment on previous line
|
|
27
|
+
offset = findPreviousLine(doc, offset);
|
|
28
|
+
documentation = getDocumentation(doc, offset, 5);
|
|
29
|
+
if (documentation)
|
|
30
|
+
return documentation;
|
|
31
|
+
}
|
|
32
|
+
documentation = getDocumentation(doc, 0);
|
|
33
|
+
if (documentation)
|
|
34
|
+
return documentation;
|
|
35
|
+
if (ifDefault)
|
|
36
|
+
return typeof ifDefault === "string" ? ifDefault : ifDefault();
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
Documentation.getDoc = getDoc;
|
|
40
|
+
function getDocumentation(doc, startoffset, maxDist) {
|
|
41
|
+
const text = doc.getText();
|
|
42
|
+
let index = text.indexOf("\n", startoffset + 1);
|
|
43
|
+
if (index < 0)
|
|
44
|
+
index = text.length;
|
|
45
|
+
let line = text.slice(startoffset, index);
|
|
46
|
+
const length = line.length;
|
|
47
|
+
line = line.trimStart();
|
|
48
|
+
startoffset += length - line.length;
|
|
49
|
+
//Comment
|
|
50
|
+
if (doc.uri.endsWith(".mcfunction") || doc.uri.endsWith(".lang")) {
|
|
51
|
+
//Mcfunction comment
|
|
52
|
+
index = line.indexOf("#");
|
|
53
|
+
if (validIndex(index, maxDist)) {
|
|
54
|
+
let comment = line.slice(index + 1).trim();
|
|
55
|
+
while (comment.startsWith("#")) {
|
|
56
|
+
comment = comment.slice(1);
|
|
57
|
+
}
|
|
58
|
+
return comment.trimStart();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
//Json comments
|
|
62
|
+
if (doc.uri.endsWith(".json")) {
|
|
63
|
+
index = line.indexOf("//");
|
|
64
|
+
if (validIndex(index, maxDist)) {
|
|
65
|
+
return line.slice(index + 2).trim();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return undefined;
|
|
69
|
+
}
|
|
70
|
+
})(Documentation || (exports.Documentation = Documentation = {}));
|
|
71
|
+
function validIndex(index, maxDist) {
|
|
72
|
+
return index > -1 && (maxDist ? index <= maxDist : true);
|
|
73
|
+
}
|
|
74
|
+
function findPreviousLine(doc, offset) {
|
|
75
|
+
let count = 0;
|
|
76
|
+
const text = doc.getText();
|
|
77
|
+
for (; offset > 0; offset--) {
|
|
78
|
+
if (text[offset] === "\n") {
|
|
79
|
+
count++;
|
|
80
|
+
if (count == 2)
|
|
81
|
+
return offset;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return -1;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=documentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documentation.js","sourceRoot":"","sources":["../../../src/types/documentation.ts"],"names":[],"mappings":";;;AAGA,MAAM;AACN,IAAiB,aAAa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EgB,aAAa,6BAAb,aAAa,QA6E7B;AAED,SAAS,UAAU,CAAC,KAAa,EAAE,OAAgB;IACjD,OAAO,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,IAAI,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3D,CAAC;AAED,SAAS,gBAAgB,CAAC,GAAiB,EAAE,MAAc;IACzD,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,MAAM,IAAI,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IAE3B,OAAO,MAAM,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;QAC5B,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;YAC1B,KAAK,EAAE,CAAC;YAER,IAAI,KAAK,IAAI,CAAC;gBAAE,OAAO,MAAM,CAAC;QAChC,CAAC;IACH,CAAC;IAED,OAAO,CAAC,CAAC,CAAC;AACZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const documentation_1 = require("./documentation");
|
|
4
|
+
describe("Documentation", () => {
|
|
5
|
+
describe("Json", () => {
|
|
6
|
+
const exampleDoc = {
|
|
7
|
+
uri: "c:\\exampe.json",
|
|
8
|
+
getText: () => `//I am the firstline comment
|
|
9
|
+
{
|
|
10
|
+
//I am the second comment
|
|
11
|
+
"property": "some value" //I am the thrid comment
|
|
12
|
+
}`,
|
|
13
|
+
};
|
|
14
|
+
const example2Doc = {
|
|
15
|
+
uri: "c:\\exampe.json",
|
|
16
|
+
getText: () => `//I am the firstline comment
|
|
17
|
+
{
|
|
18
|
+
//I am the second comment
|
|
19
|
+
"property": "some value"
|
|
20
|
+
}`,
|
|
21
|
+
};
|
|
22
|
+
it("First Line", () => {
|
|
23
|
+
expect(documentation_1.Documentation.getDoc(exampleDoc)).toEqual("I am the firstline comment");
|
|
24
|
+
});
|
|
25
|
+
it("Second Line", () => {
|
|
26
|
+
const index = example2Doc.getText().indexOf("property");
|
|
27
|
+
expect(documentation_1.Documentation.getDoc(example2Doc, undefined, index)).toEqual("I am the second comment");
|
|
28
|
+
});
|
|
29
|
+
it("Thrid Line", () => {
|
|
30
|
+
const index = exampleDoc.getText().indexOf("property");
|
|
31
|
+
expect(documentation_1.Documentation.getDoc(exampleDoc, undefined, index)).toEqual("I am the thrid comment");
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
describe("Mcfunction", () => {
|
|
35
|
+
const exampleDoc = {
|
|
36
|
+
uri: "c:\\exampe.mcfunction",
|
|
37
|
+
getText: () => `## I am the firstline comment
|
|
38
|
+
##I am the second comment
|
|
39
|
+
scoreboard players set global id 0 ##I am the thrid comment`,
|
|
40
|
+
};
|
|
41
|
+
const example2Doc = {
|
|
42
|
+
uri: "c:\\exampe.mcfunction",
|
|
43
|
+
getText: () => `## I am the firstline comment
|
|
44
|
+
##I am the second comment
|
|
45
|
+
scoreboard players set global id 0`,
|
|
46
|
+
};
|
|
47
|
+
it("First Line", () => {
|
|
48
|
+
expect(documentation_1.Documentation.getDoc(exampleDoc)).toEqual("I am the firstline comment");
|
|
49
|
+
});
|
|
50
|
+
it("Second Line", () => {
|
|
51
|
+
const index = example2Doc.getText().indexOf("scoreboard");
|
|
52
|
+
expect(documentation_1.Documentation.getDoc(example2Doc, undefined, index)).toEqual("I am the second comment");
|
|
53
|
+
});
|
|
54
|
+
it("Thrid Line", () => {
|
|
55
|
+
const index = exampleDoc.getText().indexOf("scoreboard");
|
|
56
|
+
expect(documentation_1.Documentation.getDoc(exampleDoc, undefined, index)).toEqual("I am the thrid comment");
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
//# sourceMappingURL=documentation.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documentation.test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AG,EAAE,CAAC;;4DAEuC;SACvD,CAAC;QACF,MAAM,WAAW,GAAiB;YAChC,GAAG,EAAE,uBAAuB;YAC5B,OAAO,EAAE,GAAG,EAAE,CAAC;;mCAEc;SAC9B,CAAC;QAEF,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE;YACpB,MAAM,CAAC,6BAAa,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC;QACjF,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,aAAa,EAAE,GAAG,EAAE;YACrB,MAAM,KAAK,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;YAC1D,MAAM,CAAC,6BAAa,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC;QACjG,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE;YACpB,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;YACzD,MAAM,CAAC,6BAAa,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC;QAC/F,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-data-set.js","sourceRoot":"","sources":["../../../src/types/i-data-set.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./carrier";
|
|
2
|
+
export * from "./container";
|
|
3
|
+
export * from "./data-set";
|
|
4
|
+
export * from "./data-set-connector";
|
|
5
|
+
export * from "./documentation";
|
|
6
|
+
export * from "./i-data-set";
|
|
7
|
+
export * from "./json-path";
|
|
8
|
+
export * from "./pack";
|
|
9
|
+
export * from "./pack-collection";
|
|
10
|
+
export * from "./project-context";
|
|
11
|
+
export * from "./smap";
|
|
12
|
+
export * from "./text";
|
|
13
|
+
export * from "./text-document";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Auto generated */
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
__exportStar(require("./carrier"), exports);
|
|
19
|
+
__exportStar(require("./container"), exports);
|
|
20
|
+
__exportStar(require("./data-set"), exports);
|
|
21
|
+
__exportStar(require("./data-set-connector"), exports);
|
|
22
|
+
__exportStar(require("./documentation"), exports);
|
|
23
|
+
__exportStar(require("./i-data-set"), exports);
|
|
24
|
+
__exportStar(require("./json-path"), exports);
|
|
25
|
+
__exportStar(require("./pack"), exports);
|
|
26
|
+
__exportStar(require("./pack-collection"), exports);
|
|
27
|
+
__exportStar(require("./project-context"), exports);
|
|
28
|
+
__exportStar(require("./smap"), exports);
|
|
29
|
+
__exportStar(require("./text"), exports);
|
|
30
|
+
__exportStar(require("./text-document"), exports);
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB,4CAA0B;AAC1B,8CAA4B;AAC5B,6CAA2B;AAC3B,uDAAqC;AACrC,kDAAgC;AAChC,+CAA6B;AAC7B,8CAA4B;AAC5B,yCAAuB;AACvB,oDAAkC;AAClC,oDAAkC;AAClC,yCAAuB;AACvB,yCAAuB;AACvB,kDAAgC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TextDocument } from "./text-document";
|
|
2
|
+
/** */
|
|
3
|
+
export type JsonPath = string;
|
|
4
|
+
/** */
|
|
5
|
+
export declare namespace JsonPath {
|
|
6
|
+
const seperator = "/";
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @param text
|
|
10
|
+
* @param path
|
|
11
|
+
*/
|
|
12
|
+
function resolve(text: string | TextDocument, path: JsonPath): number;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param path
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
function create(...path: string[]): JsonPath;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @param value
|
|
22
|
+
* @returns
|
|
23
|
+
*/
|
|
24
|
+
function is(value: any): value is JsonPath;
|
|
25
|
+
}
|