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.
Files changed (952) hide show
  1. package/README.md +1 -1
  2. package/lib/src/internal/behavior-pack/animation-controller.d.ts +49 -0
  3. package/lib/src/internal/behavior-pack/animation-controller.js +49 -0
  4. package/lib/src/internal/behavior-pack/animation-controller.js.map +1 -0
  5. package/lib/src/internal/behavior-pack/animation.d.ts +39 -0
  6. package/lib/src/internal/behavior-pack/animation.js +32 -0
  7. package/lib/src/internal/behavior-pack/animation.js.map +1 -0
  8. package/lib/src/internal/behavior-pack/animation.test.d.ts +1 -0
  9. package/lib/src/internal/behavior-pack/animation.test.js +30 -0
  10. package/lib/src/internal/behavior-pack/animation.test.js.map +1 -0
  11. package/lib/src/internal/behavior-pack/block.d.ts +30 -0
  12. package/lib/src/internal/behavior-pack/block.js +25 -0
  13. package/lib/src/internal/behavior-pack/block.js.map +1 -0
  14. package/lib/src/internal/behavior-pack/entity.d.ts +105 -0
  15. package/lib/src/internal/behavior-pack/entity.js +26 -0
  16. package/lib/src/internal/behavior-pack/entity.js.map +1 -0
  17. package/lib/src/internal/behavior-pack/feature.d.ts +116 -0
  18. package/lib/src/internal/behavior-pack/feature.js +45 -0
  19. package/lib/src/internal/behavior-pack/feature.js.map +1 -0
  20. package/lib/src/internal/behavior-pack/index.d.ts +5 -0
  21. package/lib/src/internal/behavior-pack/index.js +23 -0
  22. package/lib/src/internal/behavior-pack/index.js.map +1 -0
  23. package/lib/src/internal/behavior-pack/item.d.ts +32 -0
  24. package/lib/src/internal/behavior-pack/item.js +23 -0
  25. package/lib/src/internal/behavior-pack/item.js.map +1 -0
  26. package/lib/src/internal/comments/comment.d.ts +2 -0
  27. package/lib/src/internal/comments/comment.js +12 -0
  28. package/lib/src/internal/comments/comment.js.map +1 -0
  29. package/lib/src/internal/comments/index.d.ts +1 -0
  30. package/lib/src/internal/comments/index.js +19 -0
  31. package/lib/src/internal/comments/index.js.map +1 -0
  32. package/lib/src/internal/general/commands.js +3 -0
  33. package/lib/src/internal/general/commands.js.map +1 -0
  34. package/lib/src/internal/general/controllers/index.d.ts +1 -0
  35. package/lib/src/internal/general/controllers/index.js +19 -0
  36. package/lib/src/internal/general/controllers/index.js.map +1 -0
  37. package/lib/src/internal/general/controllers/state.js +19 -0
  38. package/lib/src/internal/general/controllers/state.js.map +1 -0
  39. package/lib/src/internal/general/index.d.ts +2 -0
  40. package/lib/src/internal/general/index.js +33 -0
  41. package/lib/src/internal/general/index.js.map +1 -0
  42. package/lib/src/internal/index.d.ts +6 -0
  43. package/lib/src/internal/index.js +37 -0
  44. package/lib/src/internal/index.js.map +1 -0
  45. package/lib/src/internal/json.d.ts +8 -0
  46. package/lib/src/internal/json.js +43 -0
  47. package/lib/src/internal/json.js.map +1 -0
  48. package/lib/src/internal/json.test.d.ts +1 -0
  49. package/lib/src/internal/json.test.js +32 -0
  50. package/lib/src/internal/json.test.js.map +1 -0
  51. package/lib/src/internal/resource-pack/AnimationController.d.ts +66 -0
  52. package/lib/src/internal/resource-pack/AnimationController.js.map +1 -0
  53. package/lib/src/internal/resource-pack/animation-controller.d.ts +66 -0
  54. package/lib/src/internal/resource-pack/animation-controller.js +49 -0
  55. package/lib/src/internal/resource-pack/animation-controller.js.map +1 -0
  56. package/lib/src/internal/resource-pack/animation.d.ts +64 -0
  57. package/lib/src/internal/resource-pack/animation.js +32 -0
  58. package/lib/src/internal/resource-pack/animation.js.map +1 -0
  59. package/lib/src/internal/resource-pack/animation.test.d.ts +1 -0
  60. package/lib/src/internal/resource-pack/animation.test.js +31 -0
  61. package/lib/src/internal/resource-pack/animation.test.js.map +1 -0
  62. package/lib/src/internal/resource-pack/attachable.d.ts +48 -0
  63. package/lib/src/internal/resource-pack/attachable.js +25 -0
  64. package/lib/src/internal/resource-pack/attachable.js.map +1 -0
  65. package/lib/src/internal/resource-pack/block-culling.d.ts +76 -0
  66. package/lib/src/internal/resource-pack/block-culling.js +25 -0
  67. package/lib/src/internal/resource-pack/block-culling.js.map +1 -0
  68. package/lib/src/internal/resource-pack/entity.d.ts +45 -0
  69. package/lib/src/internal/resource-pack/entity.js +23 -0
  70. package/lib/src/internal/resource-pack/entity.js.map +1 -0
  71. package/lib/src/internal/resource-pack/entity.test.d.ts +1 -0
  72. package/lib/src/internal/resource-pack/entity.test.js +51 -0
  73. package/lib/src/internal/resource-pack/entity.test.js.map +1 -0
  74. package/lib/src/internal/resource-pack/fog.d.ts +51 -0
  75. package/lib/src/internal/resource-pack/fog.js +25 -0
  76. package/lib/src/internal/resource-pack/fog.js.map +1 -0
  77. package/lib/src/internal/resource-pack/index.d.ts +12 -0
  78. package/lib/src/internal/resource-pack/index.js +30 -0
  79. package/lib/src/internal/resource-pack/index.js.map +1 -0
  80. package/lib/src/internal/resource-pack/material.d.ts +12 -0
  81. package/lib/src/internal/resource-pack/material.js +15 -0
  82. package/lib/src/internal/resource-pack/material.js.map +1 -0
  83. package/lib/src/internal/resource-pack/model.d.ts +71 -0
  84. package/lib/src/internal/resource-pack/model.js +78 -0
  85. package/lib/src/internal/resource-pack/model.js.map +1 -0
  86. package/lib/src/internal/resource-pack/particle.d.ts +34 -0
  87. package/lib/src/internal/resource-pack/particle.js +25 -0
  88. package/lib/src/internal/resource-pack/particle.js.map +1 -0
  89. package/lib/src/internal/resource-pack/render-controller.d.ts +54 -0
  90. package/lib/src/internal/resource-pack/render-controller.js +16 -0
  91. package/lib/src/internal/resource-pack/render-controller.js.map +1 -0
  92. package/lib/src/internal/resource-pack/sound-definitions.d.ts +32 -0
  93. package/lib/src/internal/resource-pack/sound-definitions.js +20 -0
  94. package/lib/src/internal/resource-pack/sound-definitions.js.map +1 -0
  95. package/lib/src/internal/resource-pack/texture-atlas.d.ts +28 -0
  96. package/lib/src/internal/resource-pack/texture-atlas.js +22 -0
  97. package/lib/src/internal/resource-pack/texture-atlas.js.map +1 -0
  98. package/lib/src/internal/types/format-version.js +69 -0
  99. package/lib/src/internal/types/format-version.js.map +1 -0
  100. package/lib/src/internal/types/index.d.ts +3 -0
  101. package/lib/src/internal/types/index.js +21 -0
  102. package/lib/src/internal/types/index.js.map +1 -0
  103. package/lib/src/internal/types/manifest.d.ts +113 -0
  104. package/lib/src/internal/types/manifest.js +153 -0
  105. package/lib/src/internal/types/manifest.js.map +1 -0
  106. package/lib/src/internal/types/script.js +37 -0
  107. package/lib/src/internal/types/script.js.map +1 -0
  108. package/lib/src/main.d.ts +3 -3
  109. package/lib/src/main.js +3 -3
  110. package/lib/src/main.js.map +1 -1
  111. package/lib/src/project/behavior-pack/animation/animation.d.ts +8 -0
  112. package/lib/src/project/behavior-pack/animation/animation.js +3 -0
  113. package/lib/src/project/behavior-pack/animation/animation.js.map +1 -0
  114. package/lib/src/project/behavior-pack/animation/index.d.ts +2 -0
  115. package/lib/src/project/behavior-pack/animation/index.js +20 -0
  116. package/lib/src/project/behavior-pack/animation/index.js.map +1 -0
  117. package/lib/src/project/behavior-pack/animation/process.d.ts +4 -0
  118. package/lib/src/project/behavior-pack/animation/process.js +56 -0
  119. package/lib/src/project/behavior-pack/animation/process.js.map +1 -0
  120. package/lib/src/project/behavior-pack/animation-controller/animation-controller.d.ts +10 -0
  121. package/lib/src/project/behavior-pack/animation-controller/animation-controller.js +3 -0
  122. package/lib/src/project/behavior-pack/animation-controller/animation-controller.js.map +1 -0
  123. package/lib/src/project/behavior-pack/animation-controller/animation-controllers.test.d.ts +1 -0
  124. package/lib/src/project/behavior-pack/animation-controller/animation-controllers.test.js +19 -0
  125. package/lib/src/project/behavior-pack/animation-controller/animation-controllers.test.js.map +1 -0
  126. package/lib/src/project/behavior-pack/animation-controller/index.d.ts +2 -0
  127. package/lib/src/project/behavior-pack/animation-controller/index.js +20 -0
  128. package/lib/src/project/behavior-pack/animation-controller/index.js.map +1 -0
  129. package/lib/src/project/behavior-pack/animation-controller/process.d.ts +8 -0
  130. package/lib/src/project/behavior-pack/animation-controller/process.js +72 -0
  131. package/lib/src/project/behavior-pack/animation-controller/process.js.map +1 -0
  132. package/lib/src/project/behavior-pack/behavior-pack-collection.d.ts +43 -0
  133. package/lib/src/project/behavior-pack/behavior-pack-collection.js +35 -0
  134. package/lib/src/project/behavior-pack/behavior-pack-collection.js.map +1 -0
  135. package/lib/src/project/behavior-pack/behavior-pack-collection.test.d.ts +1 -0
  136. package/lib/src/project/behavior-pack/behavior-pack-collection.test.js +92 -0
  137. package/lib/src/project/behavior-pack/behavior-pack-collection.test.js.map +1 -0
  138. package/lib/src/project/behavior-pack/behavior-pack.d.ts +99 -0
  139. package/lib/src/project/behavior-pack/behavior-pack.js +245 -0
  140. package/lib/src/project/behavior-pack/behavior-pack.js.map +1 -0
  141. package/lib/src/project/behavior-pack/behavior-pack.test.d.ts +1 -0
  142. package/lib/src/project/behavior-pack/behavior-pack.test.js +55 -0
  143. package/lib/src/project/behavior-pack/behavior-pack.test.js.map +1 -0
  144. package/lib/src/project/behavior-pack/block/block-state.js +54 -0
  145. package/lib/src/project/behavior-pack/block/block-state.js.map +1 -0
  146. package/lib/src/project/behavior-pack/block/block.d.ts +11 -0
  147. package/lib/src/project/behavior-pack/block/block.js +3 -0
  148. package/lib/src/project/behavior-pack/block/block.js.map +1 -0
  149. package/lib/src/project/behavior-pack/block/index.d.ts +3 -0
  150. package/lib/src/project/behavior-pack/block/index.js +21 -0
  151. package/lib/src/project/behavior-pack/block/index.js.map +1 -0
  152. package/lib/src/project/behavior-pack/block/process.d.ts +8 -0
  153. package/lib/src/project/behavior-pack/block/process.js +62 -0
  154. package/lib/src/project/behavior-pack/block/process.js.map +1 -0
  155. package/lib/src/project/behavior-pack/entity/entity.d.ts +19 -0
  156. package/lib/src/project/behavior-pack/entity/entity.js +3 -0
  157. package/lib/src/project/behavior-pack/entity/entity.js.map +1 -0
  158. package/lib/src/project/behavior-pack/entity/entity.test.d.ts +1 -0
  159. package/lib/src/project/behavior-pack/entity/entity.test.js +81 -0
  160. package/lib/src/project/behavior-pack/entity/entity.test.js.map +1 -0
  161. package/lib/src/project/behavior-pack/entity/index.d.ts +3 -0
  162. package/lib/src/project/behavior-pack/entity/index.js +21 -0
  163. package/lib/src/project/behavior-pack/entity/index.js.map +1 -0
  164. package/lib/src/project/behavior-pack/entity/process.d.ts +8 -0
  165. package/lib/src/project/behavior-pack/entity/process.js +97 -0
  166. package/lib/src/project/behavior-pack/entity/process.js.map +1 -0
  167. package/lib/src/project/behavior-pack/entity/properties.js +48 -0
  168. package/lib/src/project/behavior-pack/entity/properties.js.map +1 -0
  169. package/lib/src/project/behavior-pack/feature/feature.js +3 -0
  170. package/lib/src/project/behavior-pack/feature/feature.js.map +1 -0
  171. package/lib/src/project/behavior-pack/feature/index.d.ts +2 -0
  172. package/lib/src/project/behavior-pack/feature/index.js +20 -0
  173. package/lib/src/project/behavior-pack/feature/index.js.map +1 -0
  174. package/lib/src/project/behavior-pack/feature/process.d.ts +8 -0
  175. package/lib/src/project/behavior-pack/feature/process.js +56 -0
  176. package/lib/src/project/behavior-pack/feature/process.js.map +1 -0
  177. package/lib/src/project/behavior-pack/file-type.js +85 -0
  178. package/lib/src/project/behavior-pack/file-type.js.map +1 -0
  179. package/lib/src/project/behavior-pack/file-type.test.d.ts +1 -0
  180. package/lib/src/project/behavior-pack/file-type.test.js +47 -0
  181. package/lib/src/project/behavior-pack/file-type.test.js.map +1 -0
  182. package/lib/src/project/behavior-pack/index.d.ts +12 -0
  183. package/lib/src/project/behavior-pack/index.js +43 -0
  184. package/lib/src/project/behavior-pack/index.js.map +1 -0
  185. package/lib/src/project/behavior-pack/item/index.d.ts +2 -0
  186. package/lib/src/project/behavior-pack/item/index.js +20 -0
  187. package/lib/src/project/behavior-pack/item/index.js.map +1 -0
  188. package/lib/src/project/behavior-pack/item/item.d.ts +8 -0
  189. package/lib/src/project/behavior-pack/item/item.js +3 -0
  190. package/lib/src/project/behavior-pack/item/item.js.map +1 -0
  191. package/lib/src/project/behavior-pack/item/process.d.ts +8 -0
  192. package/lib/src/project/behavior-pack/item/process.js +53 -0
  193. package/lib/src/project/behavior-pack/item/process.js.map +1 -0
  194. package/lib/src/project/behavior-pack/loot-table/index.d.ts +2 -0
  195. package/lib/src/project/behavior-pack/loot-table/index.js +20 -0
  196. package/lib/src/project/behavior-pack/loot-table/index.js.map +1 -0
  197. package/lib/src/project/behavior-pack/loot-table/loot-table.js +3 -0
  198. package/lib/src/project/behavior-pack/loot-table/loot-table.js.map +1 -0
  199. package/lib/src/project/behavior-pack/loot-table/loot-table.test.d.ts +1 -0
  200. package/lib/src/project/behavior-pack/loot-table/loot-table.test.js +15 -0
  201. package/lib/src/project/behavior-pack/loot-table/loot-table.test.js.map +1 -0
  202. package/lib/src/project/behavior-pack/loot-table/process.d.ts +8 -0
  203. package/lib/src/project/behavior-pack/loot-table/process.js +24 -0
  204. package/lib/src/project/behavior-pack/loot-table/process.js.map +1 -0
  205. package/lib/src/project/behavior-pack/mcfunction/comment.js +10 -0
  206. package/lib/src/project/behavior-pack/mcfunction/comment.js.map +1 -0
  207. package/lib/src/project/behavior-pack/mcfunction/function.js +3 -0
  208. package/lib/src/project/behavior-pack/mcfunction/function.js.map +1 -0
  209. package/lib/src/project/behavior-pack/mcfunction/function.test.d.ts +1 -0
  210. package/lib/src/project/behavior-pack/mcfunction/function.test.js +28 -0
  211. package/lib/src/project/behavior-pack/mcfunction/function.test.js.map +1 -0
  212. package/lib/src/project/behavior-pack/mcfunction/index.d.ts +3 -0
  213. package/lib/src/project/behavior-pack/mcfunction/index.js +21 -0
  214. package/lib/src/project/behavior-pack/mcfunction/index.js.map +1 -0
  215. package/lib/src/project/behavior-pack/mcfunction/process.d.ts +8 -0
  216. package/lib/src/project/behavior-pack/mcfunction/process.js +31 -0
  217. package/lib/src/project/behavior-pack/mcfunction/process.js.map +1 -0
  218. package/lib/src/project/behavior-pack/structure/index.d.ts +2 -0
  219. package/lib/src/project/behavior-pack/structure/index.js +20 -0
  220. package/lib/src/project/behavior-pack/structure/index.js.map +1 -0
  221. package/lib/src/project/behavior-pack/structure/process.d.ts +8 -0
  222. package/lib/src/project/behavior-pack/structure/process.js +28 -0
  223. package/lib/src/project/behavior-pack/structure/process.js.map +1 -0
  224. package/lib/src/project/behavior-pack/structure/structure.js +3 -0
  225. package/lib/src/project/behavior-pack/structure/structure.js.map +1 -0
  226. package/lib/src/project/behavior-pack/structure/structure.test.d.ts +1 -0
  227. package/lib/src/project/behavior-pack/structure/structure.test.js +24 -0
  228. package/lib/src/project/behavior-pack/structure/structure.test.js.map +1 -0
  229. package/lib/src/project/behavior-pack/trading/index.d.ts +2 -0
  230. package/lib/src/project/behavior-pack/trading/index.js +20 -0
  231. package/lib/src/project/behavior-pack/trading/index.js.map +1 -0
  232. package/lib/src/project/behavior-pack/trading/process.d.ts +8 -0
  233. package/lib/src/project/behavior-pack/trading/process.js +24 -0
  234. package/lib/src/project/behavior-pack/trading/process.js.map +1 -0
  235. package/lib/src/project/behavior-pack/trading/trading.js +3 -0
  236. package/lib/src/project/behavior-pack/trading/trading.js.map +1 -0
  237. package/lib/src/project/behavior-pack/trading/trading.test.d.ts +1 -0
  238. package/lib/src/project/behavior-pack/trading/trading.test.js +15 -0
  239. package/lib/src/project/behavior-pack/trading/trading.test.js.map +1 -0
  240. package/lib/src/project/general/general-info.test.d.ts +1 -0
  241. package/lib/src/project/general/general-info.test.js +16 -0
  242. package/lib/src/project/general/general-info.test.js.map +1 -0
  243. package/lib/src/project/general/general.d.ts +47 -0
  244. package/lib/src/project/general/general.js +89 -0
  245. package/lib/src/project/general/general.js.map +1 -0
  246. package/lib/src/project/general/index.d.ts +2 -0
  247. package/lib/src/project/general/index.js +33 -0
  248. package/lib/src/project/general/index.js.map +1 -0
  249. package/lib/src/project/general/types/commands/commands.test.d.ts +1 -0
  250. package/lib/src/project/general/types/commands/commands.test.js +100 -0
  251. package/lib/src/project/general/types/commands/commands.test.js.map +1 -0
  252. package/lib/src/project/general/types/commands/index.d.ts +1 -0
  253. package/lib/src/project/general/types/commands/index.js +19 -0
  254. package/lib/src/project/general/types/commands/index.js.map +1 -0
  255. package/lib/src/project/general/types/commands/process.d.ts +43 -0
  256. package/lib/src/project/general/types/commands/process.js +167 -0
  257. package/lib/src/project/general/types/commands/process.js.map +1 -0
  258. package/lib/src/project/general/types/general-info.js +27 -0
  259. package/lib/src/project/general/types/general-info.js.map +1 -0
  260. package/lib/src/project/general/types/index.d.ts +6 -0
  261. package/lib/src/project/general/types/index.js +37 -0
  262. package/lib/src/project/general/types/index.js.map +1 -0
  263. package/lib/src/project/general/types/objective/index.d.ts +1 -0
  264. package/lib/src/project/general/types/objective/index.js +19 -0
  265. package/lib/src/project/general/types/objective/index.js.map +1 -0
  266. package/lib/src/project/general/types/objective/process.d.ts +4 -0
  267. package/lib/src/project/general/types/objective/process.js +56 -0
  268. package/lib/src/project/general/types/objective/process.js.map +1 -0
  269. package/lib/src/project/general/types/structures/index.d.ts +1 -0
  270. package/lib/src/project/general/types/structures/index.js +19 -0
  271. package/lib/src/project/general/types/structures/index.js.map +1 -0
  272. package/lib/src/project/general/types/structures/process.d.ts +4 -0
  273. package/lib/src/project/general/types/structures/process.js +15 -0
  274. package/lib/src/project/general/types/structures/process.js.map +1 -0
  275. package/lib/src/project/general/types/tag/index.d.ts +1 -0
  276. package/lib/src/project/general/types/tag/index.js +19 -0
  277. package/lib/src/project/general/types/tag/index.js.map +1 -0
  278. package/lib/src/project/general/types/tag/process.d.ts +4 -0
  279. package/lib/src/project/general/types/tag/process.js +15 -0
  280. package/lib/src/project/general/types/tag/process.js.map +1 -0
  281. package/lib/src/project/general/types/tickingarea/index.d.ts +1 -0
  282. package/lib/src/project/general/types/tickingarea/index.js +19 -0
  283. package/lib/src/project/general/types/tickingarea/index.js.map +1 -0
  284. package/lib/src/project/general/types/tickingarea/process.d.ts +4 -0
  285. package/lib/src/project/general/types/tickingarea/process.js +66 -0
  286. package/lib/src/project/general/types/tickingarea/process.js.map +1 -0
  287. package/lib/src/project/index.d.ts +8 -0
  288. package/lib/src/project/index.js +39 -0
  289. package/lib/src/project/index.js.map +1 -0
  290. package/lib/src/project/pack-type.js +88 -0
  291. package/lib/src/project/pack-type.js.map +1 -0
  292. package/lib/src/project/pack-type.test.d.ts +1 -0
  293. package/lib/src/project/pack-type.test.js +34 -0
  294. package/lib/src/project/pack-type.test.js.map +1 -0
  295. package/lib/src/project/project-data.d.ts +61 -0
  296. package/lib/src/project/project-data.js +151 -0
  297. package/lib/src/project/project-data.js.map +1 -0
  298. package/lib/src/project/project-data.test.d.ts +1 -0
  299. package/lib/src/project/project-data.test.js +328 -0
  300. package/lib/src/project/project-data.test.js.map +1 -0
  301. package/lib/src/project/resource-pack/animation/animation.d.ts +12 -0
  302. package/lib/src/project/resource-pack/animation/animation.js +3 -0
  303. package/lib/src/project/resource-pack/animation/animation.js.map +1 -0
  304. package/lib/src/project/resource-pack/animation/index.d.ts +2 -0
  305. package/lib/src/project/resource-pack/animation/index.js +20 -0
  306. package/lib/src/project/resource-pack/animation/index.js.map +1 -0
  307. package/lib/src/project/resource-pack/animation/process.d.ts +4 -0
  308. package/lib/src/project/resource-pack/animation/process.js +74 -0
  309. package/lib/src/project/resource-pack/animation/process.js.map +1 -0
  310. package/lib/src/project/resource-pack/animation-controller/animation-controller.d.ts +15 -0
  311. package/lib/src/project/resource-pack/animation-controller/animation-controller.js +3 -0
  312. package/lib/src/project/resource-pack/animation-controller/animation-controller.js.map +1 -0
  313. package/lib/src/project/resource-pack/animation-controller/animation-controllers.test.d.ts +1 -0
  314. package/lib/src/project/resource-pack/animation-controller/animation-controllers.test.js +16 -0
  315. package/lib/src/project/resource-pack/animation-controller/animation-controllers.test.js.map +1 -0
  316. package/lib/src/project/resource-pack/animation-controller/index.d.ts +2 -0
  317. package/lib/src/project/resource-pack/animation-controller/index.js +20 -0
  318. package/lib/src/project/resource-pack/animation-controller/index.js.map +1 -0
  319. package/lib/src/project/resource-pack/animation-controller/process.d.ts +4 -0
  320. package/lib/src/project/resource-pack/animation-controller/process.js +76 -0
  321. package/lib/src/project/resource-pack/animation-controller/process.js.map +1 -0
  322. package/lib/src/project/resource-pack/attachable/attachable.d.ts +10 -0
  323. package/lib/src/project/resource-pack/attachable/attachable.js +3 -0
  324. package/lib/src/project/resource-pack/attachable/attachable.js.map +1 -0
  325. package/lib/src/project/resource-pack/attachable/index.d.ts +2 -0
  326. package/lib/src/project/resource-pack/attachable/index.js +20 -0
  327. package/lib/src/project/resource-pack/attachable/index.js.map +1 -0
  328. package/lib/src/project/resource-pack/attachable/process.d.ts +8 -0
  329. package/lib/src/project/resource-pack/attachable/process.js +98 -0
  330. package/lib/src/project/resource-pack/attachable/process.js.map +1 -0
  331. package/lib/src/project/resource-pack/block/block.js +3 -0
  332. package/lib/src/project/resource-pack/block/block.js.map +1 -0
  333. package/lib/src/project/resource-pack/block/index.d.ts +1 -0
  334. package/lib/src/project/resource-pack/block/index.js +19 -0
  335. package/lib/src/project/resource-pack/block/index.js.map +1 -0
  336. package/lib/src/project/resource-pack/block-culling/culling.js +3 -0
  337. package/lib/src/project/resource-pack/block-culling/culling.js.map +1 -0
  338. package/lib/src/project/resource-pack/block-culling/index.d.ts +2 -0
  339. package/lib/src/project/resource-pack/block-culling/index.js +20 -0
  340. package/lib/src/project/resource-pack/block-culling/index.js.map +1 -0
  341. package/lib/src/project/resource-pack/block-culling/process.d.ts +3 -0
  342. package/lib/src/project/resource-pack/block-culling/process.js +60 -0
  343. package/lib/src/project/resource-pack/block-culling/process.js.map +1 -0
  344. package/lib/src/project/resource-pack/entity/entity.d.ts +10 -0
  345. package/lib/src/project/resource-pack/entity/entity.js +3 -0
  346. package/lib/src/project/resource-pack/entity/entity.js.map +1 -0
  347. package/lib/src/project/resource-pack/entity/index.d.ts +2 -0
  348. package/lib/src/project/resource-pack/entity/index.js +20 -0
  349. package/lib/src/project/resource-pack/entity/index.js.map +1 -0
  350. package/lib/src/project/resource-pack/entity/process.d.ts +8 -0
  351. package/lib/src/project/resource-pack/entity/process.js +97 -0
  352. package/lib/src/project/resource-pack/entity/process.js.map +1 -0
  353. package/lib/src/project/resource-pack/file-type.js +107 -0
  354. package/lib/src/project/resource-pack/file-type.js.map +1 -0
  355. package/lib/src/project/resource-pack/file-type.test.d.ts +1 -0
  356. package/lib/src/project/resource-pack/file-type.test.js +58 -0
  357. package/lib/src/project/resource-pack/file-type.test.js.map +1 -0
  358. package/lib/src/project/resource-pack/fog/fog.js +3 -0
  359. package/lib/src/project/resource-pack/fog/fog.js.map +1 -0
  360. package/lib/src/project/resource-pack/fog/index.d.ts +2 -0
  361. package/lib/src/project/resource-pack/fog/index.js +20 -0
  362. package/lib/src/project/resource-pack/fog/index.js.map +1 -0
  363. package/lib/src/project/resource-pack/fog/process.d.ts +8 -0
  364. package/lib/src/project/resource-pack/fog/process.js +51 -0
  365. package/lib/src/project/resource-pack/fog/process.js.map +1 -0
  366. package/lib/src/project/resource-pack/index.d.ts +15 -0
  367. package/lib/src/project/resource-pack/index.js +46 -0
  368. package/lib/src/project/resource-pack/index.js.map +1 -0
  369. package/lib/src/project/resource-pack/material/index.d.ts +2 -0
  370. package/lib/src/project/resource-pack/material/index.js +20 -0
  371. package/lib/src/project/resource-pack/material/index.js.map +1 -0
  372. package/lib/src/project/resource-pack/material/material.js +3 -0
  373. package/lib/src/project/resource-pack/material/material.js.map +1 -0
  374. package/lib/src/project/resource-pack/material/process.d.ts +8 -0
  375. package/lib/src/project/resource-pack/material/process.js +55 -0
  376. package/lib/src/project/resource-pack/material/process.js.map +1 -0
  377. package/lib/src/project/resource-pack/model/index.d.ts +2 -0
  378. package/lib/src/project/resource-pack/model/index.js +20 -0
  379. package/lib/src/project/resource-pack/model/index.js.map +1 -0
  380. package/lib/src/project/resource-pack/model/model.js +3 -0
  381. package/lib/src/project/resource-pack/model/model.js.map +1 -0
  382. package/lib/src/project/resource-pack/model/process.d.ts +8 -0
  383. package/lib/src/project/resource-pack/model/process.js +90 -0
  384. package/lib/src/project/resource-pack/model/process.js.map +1 -0
  385. package/lib/src/project/resource-pack/particle/index.d.ts +2 -0
  386. package/lib/src/project/resource-pack/particle/index.js +20 -0
  387. package/lib/src/project/resource-pack/particle/index.js.map +1 -0
  388. package/lib/src/project/resource-pack/particle/particle.js +3 -0
  389. package/lib/src/project/resource-pack/particle/particle.js.map +1 -0
  390. package/lib/src/project/resource-pack/particle/process.d.ts +8 -0
  391. package/lib/src/project/resource-pack/particle/process.js +51 -0
  392. package/lib/src/project/resource-pack/particle/process.js.map +1 -0
  393. package/lib/src/project/resource-pack/render-controller/index.d.ts +2 -0
  394. package/lib/src/project/resource-pack/render-controller/index.js +20 -0
  395. package/lib/src/project/resource-pack/render-controller/index.js.map +1 -0
  396. package/lib/src/project/resource-pack/render-controller/process.d.ts +4 -0
  397. package/lib/src/project/resource-pack/render-controller/process.js +55 -0
  398. package/lib/src/project/resource-pack/render-controller/process.js.map +1 -0
  399. package/lib/src/project/resource-pack/render-controller/render-controller.d.ts +8 -0
  400. package/lib/src/project/resource-pack/render-controller/render-controller.js +3 -0
  401. package/lib/src/project/resource-pack/render-controller/render-controller.js.map +1 -0
  402. package/lib/src/project/resource-pack/resource-pack-collection.d.ts +46 -0
  403. package/lib/src/project/resource-pack/resource-pack-collection.js +32 -0
  404. package/lib/src/project/resource-pack/resource-pack-collection.js.map +1 -0
  405. package/lib/src/project/resource-pack/resource-pack-collection.test.d.ts +1 -0
  406. package/lib/src/project/resource-pack/resource-pack-collection.test.js +18 -0
  407. package/lib/src/project/resource-pack/resource-pack-collection.test.js.map +1 -0
  408. package/lib/src/project/resource-pack/resource-pack.d.ts +106 -0
  409. package/lib/src/project/resource-pack/resource-pack.js +281 -0
  410. package/lib/src/project/resource-pack/resource-pack.js.map +1 -0
  411. package/lib/src/project/resource-pack/resource-pack.test.d.ts +1 -0
  412. package/lib/src/project/resource-pack/resource-pack.test.js +52 -0
  413. package/lib/src/project/resource-pack/resource-pack.test.js.map +1 -0
  414. package/lib/src/project/resource-pack/sound/index.d.ts +2 -0
  415. package/lib/src/project/resource-pack/sound/index.js +20 -0
  416. package/lib/src/project/resource-pack/sound/index.js.map +1 -0
  417. package/lib/src/project/resource-pack/sound/process.d.ts +8 -0
  418. package/lib/src/project/resource-pack/sound/process.js +54 -0
  419. package/lib/src/project/resource-pack/sound/process.js.map +1 -0
  420. package/lib/src/project/resource-pack/sound/sound.js +3 -0
  421. package/lib/src/project/resource-pack/sound/sound.js.map +1 -0
  422. package/lib/src/project/resource-pack/texture/index.d.ts +2 -0
  423. package/lib/src/project/resource-pack/texture/index.js +20 -0
  424. package/lib/src/project/resource-pack/texture/index.js.map +1 -0
  425. package/lib/src/project/resource-pack/texture/process.d.ts +8 -0
  426. package/lib/src/project/resource-pack/texture/process.js +32 -0
  427. package/lib/src/project/resource-pack/texture/process.js.map +1 -0
  428. package/lib/src/project/resource-pack/texture/texture.js +3 -0
  429. package/lib/src/project/resource-pack/texture/texture.js.map +1 -0
  430. package/lib/src/project/skin-pack/FileType.js +39 -0
  431. package/lib/src/project/skin-pack/FileType.js.map +1 -0
  432. package/lib/src/project/skin-pack/index.js.map +1 -0
  433. package/lib/src/project/util.d.ts +34 -0
  434. package/lib/src/project/util.js +47 -0
  435. package/lib/src/project/util.js.map +1 -0
  436. package/lib/src/project/world/index.d.ts +2 -0
  437. package/lib/src/project/world/index.js +20 -0
  438. package/lib/src/project/world/index.js.map +1 -0
  439. package/lib/src/project/world/world-pack-collection.d.ts +9 -0
  440. package/lib/src/project/world/world-pack-collection.js +18 -0
  441. package/lib/src/project/world/world-pack-collection.js.map +1 -0
  442. package/lib/src/project/world/world-pack.d.ts +62 -0
  443. package/lib/src/project/world/world-pack.js +89 -0
  444. package/lib/src/project/world/world-pack.js.map +1 -0
  445. package/lib/src/types/carrier.js +3 -0
  446. package/lib/src/types/carrier.js.map +1 -0
  447. package/lib/src/types/container.js +20 -0
  448. package/lib/src/types/container.js.map +1 -0
  449. package/lib/src/types/data-set-connector.d.ts +23 -0
  450. package/lib/src/types/data-set-connector.js +59 -0
  451. package/lib/src/types/data-set-connector.js.map +1 -0
  452. package/lib/src/types/data-set.d.ts +66 -0
  453. package/lib/src/types/data-set.js +94 -0
  454. package/lib/src/types/data-set.js.map +1 -0
  455. package/lib/src/types/data-set.test.d.ts +1 -0
  456. package/lib/src/types/data-set.test.js +120 -0
  457. package/lib/src/types/data-set.test.js.map +1 -0
  458. package/lib/src/types/documentation.d.ts +14 -0
  459. package/lib/src/types/documentation.js +86 -0
  460. package/lib/src/types/documentation.js.map +1 -0
  461. package/lib/src/types/documentation.test.d.ts +1 -0
  462. package/lib/src/types/documentation.test.js +60 -0
  463. package/lib/src/types/documentation.test.js.map +1 -0
  464. package/lib/src/types/i-data-set.js +3 -0
  465. package/lib/src/types/i-data-set.js.map +1 -0
  466. package/lib/src/types/index.d.ts +13 -0
  467. package/lib/src/types/index.js +31 -0
  468. package/lib/src/types/index.js.map +1 -0
  469. package/lib/src/types/json-path.d.ts +25 -0
  470. package/lib/src/types/json-path.js +48 -0
  471. package/lib/src/types/json-path.js.map +1 -0
  472. package/lib/src/types/json-path.test.d.ts +1 -0
  473. package/lib/src/types/json-path.test.js +43 -0
  474. package/lib/src/types/json-path.test.js.map +1 -0
  475. package/lib/src/types/pack-collection.d.ts +48 -0
  476. package/lib/src/types/pack-collection.js +91 -0
  477. package/lib/src/types/pack-collection.js.map +1 -0
  478. package/lib/src/types/pack-collection.test.d.ts +1 -0
  479. package/lib/src/types/pack-collection.test.js +219 -0
  480. package/lib/src/types/pack-collection.test.js.map +1 -0
  481. package/lib/src/types/pack.d.ts +53 -0
  482. package/lib/src/types/pack.js +20 -0
  483. package/lib/src/types/pack.js.map +1 -0
  484. package/lib/src/types/project-context.d.ts +13 -0
  485. package/lib/src/types/project-context.js +3 -0
  486. package/lib/src/types/project-context.js.map +1 -0
  487. package/lib/src/types/smap.js +23 -0
  488. package/lib/src/types/smap.js.map +1 -0
  489. package/lib/src/types/smap.test.d.ts +1 -0
  490. package/lib/src/types/smap.test.js +36 -0
  491. package/lib/src/types/smap.test.js.map +1 -0
  492. package/lib/src/types/text-document.js +28 -0
  493. package/lib/src/types/text-document.js.map +1 -0
  494. package/lib/src/types/text.js +15 -0
  495. package/lib/src/types/text.js.map +1 -0
  496. package/lib/src/types/text.test.d.ts +1 -0
  497. package/lib/src/types/text.test.js +19 -0
  498. package/lib/src/types/text.test.js.map +1 -0
  499. package/package.json +17 -13
  500. package/lib/src/Lib/Internal/BehaviorPack/Animation.d.ts +0 -39
  501. package/lib/src/Lib/Internal/BehaviorPack/Animation.js +0 -32
  502. package/lib/src/Lib/Internal/BehaviorPack/Animation.js.map +0 -1
  503. package/lib/src/Lib/Internal/BehaviorPack/AnimationController.d.ts +0 -49
  504. package/lib/src/Lib/Internal/BehaviorPack/AnimationController.js.map +0 -1
  505. package/lib/src/Lib/Internal/BehaviorPack/Block.d.ts +0 -30
  506. package/lib/src/Lib/Internal/BehaviorPack/Block.js +0 -23
  507. package/lib/src/Lib/Internal/BehaviorPack/Block.js.map +0 -1
  508. package/lib/src/Lib/Internal/BehaviorPack/Entity.d.ts +0 -105
  509. package/lib/src/Lib/Internal/BehaviorPack/Entity.js +0 -26
  510. package/lib/src/Lib/Internal/BehaviorPack/Entity.js.map +0 -1
  511. package/lib/src/Lib/Internal/BehaviorPack/Feature.d.ts +0 -116
  512. package/lib/src/Lib/Internal/BehaviorPack/Feature.js +0 -45
  513. package/lib/src/Lib/Internal/BehaviorPack/Feature.js.map +0 -1
  514. package/lib/src/Lib/Internal/BehaviorPack/Item.d.ts +0 -32
  515. package/lib/src/Lib/Internal/BehaviorPack/Item.js +0 -23
  516. package/lib/src/Lib/Internal/BehaviorPack/Item.js.map +0 -1
  517. package/lib/src/Lib/Internal/BehaviorPack/index.d.ts +0 -5
  518. package/lib/src/Lib/Internal/BehaviorPack/index.js +0 -23
  519. package/lib/src/Lib/Internal/BehaviorPack/index.js.map +0 -1
  520. package/lib/src/Lib/Internal/Comment/Comment.d.ts +0 -2
  521. package/lib/src/Lib/Internal/Comment/Comment.js +0 -12
  522. package/lib/src/Lib/Internal/Comment/Comment.js.map +0 -1
  523. package/lib/src/Lib/Internal/Comment/index.d.ts +0 -1
  524. package/lib/src/Lib/Internal/Comment/index.js +0 -19
  525. package/lib/src/Lib/Internal/Comment/index.js.map +0 -1
  526. package/lib/src/Lib/Internal/General/Commands.js +0 -3
  527. package/lib/src/Lib/Internal/General/Commands.js.map +0 -1
  528. package/lib/src/Lib/Internal/General/Controllers/State.js +0 -19
  529. package/lib/src/Lib/Internal/General/Controllers/State.js.map +0 -1
  530. package/lib/src/Lib/Internal/General/Controllers/index.d.ts +0 -1
  531. package/lib/src/Lib/Internal/General/Controllers/index.js +0 -19
  532. package/lib/src/Lib/Internal/General/Controllers/index.js.map +0 -1
  533. package/lib/src/Lib/Internal/General/index.d.ts +0 -2
  534. package/lib/src/Lib/Internal/General/index.js +0 -33
  535. package/lib/src/Lib/Internal/General/index.js.map +0 -1
  536. package/lib/src/Lib/Internal/Json.d.ts +0 -8
  537. package/lib/src/Lib/Internal/Json.js +0 -43
  538. package/lib/src/Lib/Internal/Json.js.map +0 -1
  539. package/lib/src/Lib/Internal/ResourcePack/Animation.d.ts +0 -64
  540. package/lib/src/Lib/Internal/ResourcePack/Animation.js +0 -32
  541. package/lib/src/Lib/Internal/ResourcePack/Animation.js.map +0 -1
  542. package/lib/src/Lib/Internal/ResourcePack/AnimationController.d.ts +0 -66
  543. package/lib/src/Lib/Internal/ResourcePack/AnimationController.js +0 -49
  544. package/lib/src/Lib/Internal/ResourcePack/AnimationController.js.map +0 -1
  545. package/lib/src/Lib/Internal/ResourcePack/Attachable.d.ts +0 -48
  546. package/lib/src/Lib/Internal/ResourcePack/Attachable.js +0 -25
  547. package/lib/src/Lib/Internal/ResourcePack/Attachable.js.map +0 -1
  548. package/lib/src/Lib/Internal/ResourcePack/BlockCulling.d.ts +0 -76
  549. package/lib/src/Lib/Internal/ResourcePack/BlockCulling.js +0 -25
  550. package/lib/src/Lib/Internal/ResourcePack/BlockCulling.js.map +0 -1
  551. package/lib/src/Lib/Internal/ResourcePack/Entity.d.ts +0 -45
  552. package/lib/src/Lib/Internal/ResourcePack/Entity.js +0 -23
  553. package/lib/src/Lib/Internal/ResourcePack/Entity.js.map +0 -1
  554. package/lib/src/Lib/Internal/ResourcePack/Fog.d.ts +0 -51
  555. package/lib/src/Lib/Internal/ResourcePack/Fog.js +0 -25
  556. package/lib/src/Lib/Internal/ResourcePack/Fog.js.map +0 -1
  557. package/lib/src/Lib/Internal/ResourcePack/Material.d.ts +0 -12
  558. package/lib/src/Lib/Internal/ResourcePack/Material.js +0 -15
  559. package/lib/src/Lib/Internal/ResourcePack/Material.js.map +0 -1
  560. package/lib/src/Lib/Internal/ResourcePack/Model.d.ts +0 -71
  561. package/lib/src/Lib/Internal/ResourcePack/Model.js +0 -78
  562. package/lib/src/Lib/Internal/ResourcePack/Model.js.map +0 -1
  563. package/lib/src/Lib/Internal/ResourcePack/Particle.d.ts +0 -34
  564. package/lib/src/Lib/Internal/ResourcePack/Particle.js +0 -25
  565. package/lib/src/Lib/Internal/ResourcePack/Particle.js.map +0 -1
  566. package/lib/src/Lib/Internal/ResourcePack/RenderController.d.ts +0 -54
  567. package/lib/src/Lib/Internal/ResourcePack/RenderController.js +0 -16
  568. package/lib/src/Lib/Internal/ResourcePack/RenderController.js.map +0 -1
  569. package/lib/src/Lib/Internal/ResourcePack/SoundDefinitions.d.ts +0 -32
  570. package/lib/src/Lib/Internal/ResourcePack/SoundDefinitions.js +0 -20
  571. package/lib/src/Lib/Internal/ResourcePack/SoundDefinitions.js.map +0 -1
  572. package/lib/src/Lib/Internal/ResourcePack/TextureAtlas.d.ts +0 -28
  573. package/lib/src/Lib/Internal/ResourcePack/TextureAtlas.js +0 -22
  574. package/lib/src/Lib/Internal/ResourcePack/TextureAtlas.js.map +0 -1
  575. package/lib/src/Lib/Internal/ResourcePack/index.d.ts +0 -12
  576. package/lib/src/Lib/Internal/ResourcePack/index.js +0 -30
  577. package/lib/src/Lib/Internal/ResourcePack/index.js.map +0 -1
  578. package/lib/src/Lib/Internal/Types/FormatVersion.js +0 -69
  579. package/lib/src/Lib/Internal/Types/FormatVersion.js.map +0 -1
  580. package/lib/src/Lib/Internal/Types/Manifest.d.ts +0 -113
  581. package/lib/src/Lib/Internal/Types/Manifest.js +0 -153
  582. package/lib/src/Lib/Internal/Types/Manifest.js.map +0 -1
  583. package/lib/src/Lib/Internal/Types/Script.js +0 -37
  584. package/lib/src/Lib/Internal/Types/Script.js.map +0 -1
  585. package/lib/src/Lib/Internal/Types/index.d.ts +0 -3
  586. package/lib/src/Lib/Internal/Types/index.js +0 -21
  587. package/lib/src/Lib/Internal/Types/index.js.map +0 -1
  588. package/lib/src/Lib/Internal/index.d.ts +0 -6
  589. package/lib/src/Lib/Internal/index.js +0 -37
  590. package/lib/src/Lib/Internal/index.js.map +0 -1
  591. package/lib/src/Lib/Project/BehaviorPack/Animation/Animation.d.ts +0 -8
  592. package/lib/src/Lib/Project/BehaviorPack/Animation/Animation.js +0 -3
  593. package/lib/src/Lib/Project/BehaviorPack/Animation/Animation.js.map +0 -1
  594. package/lib/src/Lib/Project/BehaviorPack/Animation/Process.d.ts +0 -4
  595. package/lib/src/Lib/Project/BehaviorPack/Animation/Process.js +0 -56
  596. package/lib/src/Lib/Project/BehaviorPack/Animation/Process.js.map +0 -1
  597. package/lib/src/Lib/Project/BehaviorPack/Animation/index.d.ts +0 -2
  598. package/lib/src/Lib/Project/BehaviorPack/Animation/index.js +0 -20
  599. package/lib/src/Lib/Project/BehaviorPack/Animation/index.js.map +0 -1
  600. package/lib/src/Lib/Project/BehaviorPack/AnimationController/AnimationController.d.ts +0 -10
  601. package/lib/src/Lib/Project/BehaviorPack/AnimationController/AnimationController.js +0 -3
  602. package/lib/src/Lib/Project/BehaviorPack/AnimationController/AnimationController.js.map +0 -1
  603. package/lib/src/Lib/Project/BehaviorPack/AnimationController/Process.d.ts +0 -8
  604. package/lib/src/Lib/Project/BehaviorPack/AnimationController/Process.js +0 -73
  605. package/lib/src/Lib/Project/BehaviorPack/AnimationController/Process.js.map +0 -1
  606. package/lib/src/Lib/Project/BehaviorPack/AnimationController/index.d.ts +0 -2
  607. package/lib/src/Lib/Project/BehaviorPack/AnimationController/index.js +0 -20
  608. package/lib/src/Lib/Project/BehaviorPack/AnimationController/index.js.map +0 -1
  609. package/lib/src/Lib/Project/BehaviorPack/BehaviorPack.d.ts +0 -102
  610. package/lib/src/Lib/Project/BehaviorPack/BehaviorPack.js +0 -245
  611. package/lib/src/Lib/Project/BehaviorPack/BehaviorPack.js.map +0 -1
  612. package/lib/src/Lib/Project/BehaviorPack/BehaviorPackCollection.d.ts +0 -43
  613. package/lib/src/Lib/Project/BehaviorPack/BehaviorPackCollection.js +0 -35
  614. package/lib/src/Lib/Project/BehaviorPack/BehaviorPackCollection.js.map +0 -1
  615. package/lib/src/Lib/Project/BehaviorPack/Block/Block.d.ts +0 -11
  616. package/lib/src/Lib/Project/BehaviorPack/Block/Block.js +0 -3
  617. package/lib/src/Lib/Project/BehaviorPack/Block/Block.js.map +0 -1
  618. package/lib/src/Lib/Project/BehaviorPack/Block/BlockState.js +0 -54
  619. package/lib/src/Lib/Project/BehaviorPack/Block/BlockState.js.map +0 -1
  620. package/lib/src/Lib/Project/BehaviorPack/Block/Process.d.ts +0 -8
  621. package/lib/src/Lib/Project/BehaviorPack/Block/Process.js +0 -62
  622. package/lib/src/Lib/Project/BehaviorPack/Block/Process.js.map +0 -1
  623. package/lib/src/Lib/Project/BehaviorPack/Block/index.d.ts +0 -3
  624. package/lib/src/Lib/Project/BehaviorPack/Block/index.js +0 -21
  625. package/lib/src/Lib/Project/BehaviorPack/Block/index.js.map +0 -1
  626. package/lib/src/Lib/Project/BehaviorPack/Entity/Entity.d.ts +0 -19
  627. package/lib/src/Lib/Project/BehaviorPack/Entity/Entity.js +0 -3
  628. package/lib/src/Lib/Project/BehaviorPack/Entity/Entity.js.map +0 -1
  629. package/lib/src/Lib/Project/BehaviorPack/Entity/Process.d.ts +0 -8
  630. package/lib/src/Lib/Project/BehaviorPack/Entity/Process.js +0 -99
  631. package/lib/src/Lib/Project/BehaviorPack/Entity/Process.js.map +0 -1
  632. package/lib/src/Lib/Project/BehaviorPack/Entity/Properties.js +0 -48
  633. package/lib/src/Lib/Project/BehaviorPack/Entity/Properties.js.map +0 -1
  634. package/lib/src/Lib/Project/BehaviorPack/Entity/index.d.ts +0 -3
  635. package/lib/src/Lib/Project/BehaviorPack/Entity/index.js +0 -21
  636. package/lib/src/Lib/Project/BehaviorPack/Entity/index.js.map +0 -1
  637. package/lib/src/Lib/Project/BehaviorPack/Enum/index.d.ts +0 -1
  638. package/lib/src/Lib/Project/BehaviorPack/Enum/index.js +0 -19
  639. package/lib/src/Lib/Project/BehaviorPack/Enum/index.js.map +0 -1
  640. package/lib/src/Lib/Project/BehaviorPack/Feature/Feature.js +0 -3
  641. package/lib/src/Lib/Project/BehaviorPack/Feature/Feature.js.map +0 -1
  642. package/lib/src/Lib/Project/BehaviorPack/Feature/Process.d.ts +0 -8
  643. package/lib/src/Lib/Project/BehaviorPack/Feature/Process.js +0 -52
  644. package/lib/src/Lib/Project/BehaviorPack/Feature/Process.js.map +0 -1
  645. package/lib/src/Lib/Project/BehaviorPack/Feature/index.d.ts +0 -2
  646. package/lib/src/Lib/Project/BehaviorPack/Feature/index.js +0 -20
  647. package/lib/src/Lib/Project/BehaviorPack/Feature/index.js.map +0 -1
  648. package/lib/src/Lib/Project/BehaviorPack/FileType.js +0 -85
  649. package/lib/src/Lib/Project/BehaviorPack/FileType.js.map +0 -1
  650. package/lib/src/Lib/Project/BehaviorPack/Item/Item.d.ts +0 -8
  651. package/lib/src/Lib/Project/BehaviorPack/Item/Item.js +0 -3
  652. package/lib/src/Lib/Project/BehaviorPack/Item/Item.js.map +0 -1
  653. package/lib/src/Lib/Project/BehaviorPack/Item/Process.d.ts +0 -8
  654. package/lib/src/Lib/Project/BehaviorPack/Item/Process.js +0 -53
  655. package/lib/src/Lib/Project/BehaviorPack/Item/Process.js.map +0 -1
  656. package/lib/src/Lib/Project/BehaviorPack/Item/index.d.ts +0 -2
  657. package/lib/src/Lib/Project/BehaviorPack/Item/index.js +0 -20
  658. package/lib/src/Lib/Project/BehaviorPack/Item/index.js.map +0 -1
  659. package/lib/src/Lib/Project/BehaviorPack/LootTable/LootTable.js +0 -3
  660. package/lib/src/Lib/Project/BehaviorPack/LootTable/LootTable.js.map +0 -1
  661. package/lib/src/Lib/Project/BehaviorPack/LootTable/Process.d.ts +0 -8
  662. package/lib/src/Lib/Project/BehaviorPack/LootTable/Process.js +0 -24
  663. package/lib/src/Lib/Project/BehaviorPack/LootTable/Process.js.map +0 -1
  664. package/lib/src/Lib/Project/BehaviorPack/LootTable/index.d.ts +0 -2
  665. package/lib/src/Lib/Project/BehaviorPack/LootTable/index.js +0 -20
  666. package/lib/src/Lib/Project/BehaviorPack/LootTable/index.js.map +0 -1
  667. package/lib/src/Lib/Project/BehaviorPack/McFunction/Comment.js +0 -10
  668. package/lib/src/Lib/Project/BehaviorPack/McFunction/Comment.js.map +0 -1
  669. package/lib/src/Lib/Project/BehaviorPack/McFunction/Function.js +0 -3
  670. package/lib/src/Lib/Project/BehaviorPack/McFunction/Function.js.map +0 -1
  671. package/lib/src/Lib/Project/BehaviorPack/McFunction/Process.d.ts +0 -8
  672. package/lib/src/Lib/Project/BehaviorPack/McFunction/Process.js +0 -31
  673. package/lib/src/Lib/Project/BehaviorPack/McFunction/Process.js.map +0 -1
  674. package/lib/src/Lib/Project/BehaviorPack/McFunction/index.d.ts +0 -3
  675. package/lib/src/Lib/Project/BehaviorPack/McFunction/index.js +0 -21
  676. package/lib/src/Lib/Project/BehaviorPack/McFunction/index.js.map +0 -1
  677. package/lib/src/Lib/Project/BehaviorPack/Structure/Process.d.ts +0 -8
  678. package/lib/src/Lib/Project/BehaviorPack/Structure/Process.js +0 -28
  679. package/lib/src/Lib/Project/BehaviorPack/Structure/Process.js.map +0 -1
  680. package/lib/src/Lib/Project/BehaviorPack/Structure/Structure.js +0 -3
  681. package/lib/src/Lib/Project/BehaviorPack/Structure/Structure.js.map +0 -1
  682. package/lib/src/Lib/Project/BehaviorPack/Structure/index.d.ts +0 -2
  683. package/lib/src/Lib/Project/BehaviorPack/Structure/index.js +0 -20
  684. package/lib/src/Lib/Project/BehaviorPack/Structure/index.js.map +0 -1
  685. package/lib/src/Lib/Project/BehaviorPack/Trading/Process.d.ts +0 -8
  686. package/lib/src/Lib/Project/BehaviorPack/Trading/Process.js +0 -24
  687. package/lib/src/Lib/Project/BehaviorPack/Trading/Process.js.map +0 -1
  688. package/lib/src/Lib/Project/BehaviorPack/Trading/Trading.js +0 -3
  689. package/lib/src/Lib/Project/BehaviorPack/Trading/Trading.js.map +0 -1
  690. package/lib/src/Lib/Project/BehaviorPack/Trading/index.d.ts +0 -2
  691. package/lib/src/Lib/Project/BehaviorPack/Trading/index.js +0 -20
  692. package/lib/src/Lib/Project/BehaviorPack/Trading/index.js.map +0 -1
  693. package/lib/src/Lib/Project/BehaviorPack/index.d.ts +0 -12
  694. package/lib/src/Lib/Project/BehaviorPack/index.js +0 -43
  695. package/lib/src/Lib/Project/BehaviorPack/index.js.map +0 -1
  696. package/lib/src/Lib/Project/General/General.d.ts +0 -48
  697. package/lib/src/Lib/Project/General/General.js +0 -89
  698. package/lib/src/Lib/Project/General/General.js.map +0 -1
  699. package/lib/src/Lib/Project/General/Types/Commands/Process.d.ts +0 -43
  700. package/lib/src/Lib/Project/General/Types/Commands/Process.js +0 -167
  701. package/lib/src/Lib/Project/General/Types/Commands/Process.js.map +0 -1
  702. package/lib/src/Lib/Project/General/Types/Commands/index.d.ts +0 -1
  703. package/lib/src/Lib/Project/General/Types/Commands/index.js +0 -19
  704. package/lib/src/Lib/Project/General/Types/Commands/index.js.map +0 -1
  705. package/lib/src/Lib/Project/General/Types/GeneralInfo.js +0 -27
  706. package/lib/src/Lib/Project/General/Types/GeneralInfo.js.map +0 -1
  707. package/lib/src/Lib/Project/General/Types/Objective/Process.d.ts +0 -4
  708. package/lib/src/Lib/Project/General/Types/Objective/Process.js +0 -56
  709. package/lib/src/Lib/Project/General/Types/Objective/Process.js.map +0 -1
  710. package/lib/src/Lib/Project/General/Types/Objective/index.d.ts +0 -1
  711. package/lib/src/Lib/Project/General/Types/Objective/index.js +0 -19
  712. package/lib/src/Lib/Project/General/Types/Objective/index.js.map +0 -1
  713. package/lib/src/Lib/Project/General/Types/Structures/Process.d.ts +0 -4
  714. package/lib/src/Lib/Project/General/Types/Structures/Process.js +0 -15
  715. package/lib/src/Lib/Project/General/Types/Structures/Process.js.map +0 -1
  716. package/lib/src/Lib/Project/General/Types/Structures/index.d.ts +0 -1
  717. package/lib/src/Lib/Project/General/Types/Structures/index.js +0 -19
  718. package/lib/src/Lib/Project/General/Types/Structures/index.js.map +0 -1
  719. package/lib/src/Lib/Project/General/Types/Tag/Process.d.ts +0 -4
  720. package/lib/src/Lib/Project/General/Types/Tag/Process.js +0 -15
  721. package/lib/src/Lib/Project/General/Types/Tag/Process.js.map +0 -1
  722. package/lib/src/Lib/Project/General/Types/Tag/index.d.ts +0 -1
  723. package/lib/src/Lib/Project/General/Types/Tag/index.js +0 -19
  724. package/lib/src/Lib/Project/General/Types/Tag/index.js.map +0 -1
  725. package/lib/src/Lib/Project/General/Types/TickingArea/Process.d.ts +0 -4
  726. package/lib/src/Lib/Project/General/Types/TickingArea/Process.js +0 -66
  727. package/lib/src/Lib/Project/General/Types/TickingArea/Process.js.map +0 -1
  728. package/lib/src/Lib/Project/General/Types/TickingArea/index.d.ts +0 -1
  729. package/lib/src/Lib/Project/General/Types/TickingArea/index.js +0 -19
  730. package/lib/src/Lib/Project/General/Types/TickingArea/index.js.map +0 -1
  731. package/lib/src/Lib/Project/General/Types/index.d.ts +0 -6
  732. package/lib/src/Lib/Project/General/Types/index.js +0 -37
  733. package/lib/src/Lib/Project/General/Types/index.js.map +0 -1
  734. package/lib/src/Lib/Project/General/index.d.ts +0 -2
  735. package/lib/src/Lib/Project/General/index.js +0 -33
  736. package/lib/src/Lib/Project/General/index.js.map +0 -1
  737. package/lib/src/Lib/Project/PackType.js +0 -88
  738. package/lib/src/Lib/Project/PackType.js.map +0 -1
  739. package/lib/src/Lib/Project/ProjectData.d.ts +0 -66
  740. package/lib/src/Lib/Project/ProjectData.js +0 -152
  741. package/lib/src/Lib/Project/ProjectData.js.map +0 -1
  742. package/lib/src/Lib/Project/ResourcePack/Animation/Animation.d.ts +0 -12
  743. package/lib/src/Lib/Project/ResourcePack/Animation/Animation.js +0 -3
  744. package/lib/src/Lib/Project/ResourcePack/Animation/Animation.js.map +0 -1
  745. package/lib/src/Lib/Project/ResourcePack/Animation/Process.d.ts +0 -4
  746. package/lib/src/Lib/Project/ResourcePack/Animation/Process.js +0 -74
  747. package/lib/src/Lib/Project/ResourcePack/Animation/Process.js.map +0 -1
  748. package/lib/src/Lib/Project/ResourcePack/Animation/index.d.ts +0 -2
  749. package/lib/src/Lib/Project/ResourcePack/Animation/index.js +0 -20
  750. package/lib/src/Lib/Project/ResourcePack/Animation/index.js.map +0 -1
  751. package/lib/src/Lib/Project/ResourcePack/AnimationController/AnimationController.d.ts +0 -15
  752. package/lib/src/Lib/Project/ResourcePack/AnimationController/AnimationController.js +0 -3
  753. package/lib/src/Lib/Project/ResourcePack/AnimationController/AnimationController.js.map +0 -1
  754. package/lib/src/Lib/Project/ResourcePack/AnimationController/Process.d.ts +0 -4
  755. package/lib/src/Lib/Project/ResourcePack/AnimationController/Process.js +0 -78
  756. package/lib/src/Lib/Project/ResourcePack/AnimationController/Process.js.map +0 -1
  757. package/lib/src/Lib/Project/ResourcePack/AnimationController/index.d.ts +0 -2
  758. package/lib/src/Lib/Project/ResourcePack/AnimationController/index.js +0 -20
  759. package/lib/src/Lib/Project/ResourcePack/AnimationController/index.js.map +0 -1
  760. package/lib/src/Lib/Project/ResourcePack/Attachable/Attachable.d.ts +0 -10
  761. package/lib/src/Lib/Project/ResourcePack/Attachable/Attachable.js +0 -3
  762. package/lib/src/Lib/Project/ResourcePack/Attachable/Attachable.js.map +0 -1
  763. package/lib/src/Lib/Project/ResourcePack/Attachable/Process.d.ts +0 -8
  764. package/lib/src/Lib/Project/ResourcePack/Attachable/Process.js +0 -98
  765. package/lib/src/Lib/Project/ResourcePack/Attachable/Process.js.map +0 -1
  766. package/lib/src/Lib/Project/ResourcePack/Attachable/index.d.ts +0 -2
  767. package/lib/src/Lib/Project/ResourcePack/Attachable/index.js +0 -20
  768. package/lib/src/Lib/Project/ResourcePack/Attachable/index.js.map +0 -1
  769. package/lib/src/Lib/Project/ResourcePack/Block/Block.js +0 -3
  770. package/lib/src/Lib/Project/ResourcePack/Block/Block.js.map +0 -1
  771. package/lib/src/Lib/Project/ResourcePack/Block/index.d.ts +0 -2
  772. package/lib/src/Lib/Project/ResourcePack/Block/index.js +0 -20
  773. package/lib/src/Lib/Project/ResourcePack/Block/index.js.map +0 -1
  774. package/lib/src/Lib/Project/ResourcePack/BlockCulling/Culling.js +0 -3
  775. package/lib/src/Lib/Project/ResourcePack/BlockCulling/Culling.js.map +0 -1
  776. package/lib/src/Lib/Project/ResourcePack/BlockCulling/Process.d.ts +0 -3
  777. package/lib/src/Lib/Project/ResourcePack/BlockCulling/Process.js +0 -60
  778. package/lib/src/Lib/Project/ResourcePack/BlockCulling/Process.js.map +0 -1
  779. package/lib/src/Lib/Project/ResourcePack/BlockCulling/index.d.ts +0 -2
  780. package/lib/src/Lib/Project/ResourcePack/BlockCulling/index.js +0 -20
  781. package/lib/src/Lib/Project/ResourcePack/BlockCulling/index.js.map +0 -1
  782. package/lib/src/Lib/Project/ResourcePack/Entity/Entity.d.ts +0 -10
  783. package/lib/src/Lib/Project/ResourcePack/Entity/Entity.js +0 -3
  784. package/lib/src/Lib/Project/ResourcePack/Entity/Entity.js.map +0 -1
  785. package/lib/src/Lib/Project/ResourcePack/Entity/Process.d.ts +0 -8
  786. package/lib/src/Lib/Project/ResourcePack/Entity/Process.js +0 -97
  787. package/lib/src/Lib/Project/ResourcePack/Entity/Process.js.map +0 -1
  788. package/lib/src/Lib/Project/ResourcePack/Entity/index.d.ts +0 -2
  789. package/lib/src/Lib/Project/ResourcePack/Entity/index.js +0 -20
  790. package/lib/src/Lib/Project/ResourcePack/Entity/index.js.map +0 -1
  791. package/lib/src/Lib/Project/ResourcePack/Enum/index.d.ts +0 -1
  792. package/lib/src/Lib/Project/ResourcePack/Enum/index.js +0 -19
  793. package/lib/src/Lib/Project/ResourcePack/Enum/index.js.map +0 -1
  794. package/lib/src/Lib/Project/ResourcePack/FileType.js +0 -104
  795. package/lib/src/Lib/Project/ResourcePack/FileType.js.map +0 -1
  796. package/lib/src/Lib/Project/ResourcePack/Fog/Fog.js +0 -3
  797. package/lib/src/Lib/Project/ResourcePack/Fog/Fog.js.map +0 -1
  798. package/lib/src/Lib/Project/ResourcePack/Fog/Process.d.ts +0 -8
  799. package/lib/src/Lib/Project/ResourcePack/Fog/Process.js +0 -51
  800. package/lib/src/Lib/Project/ResourcePack/Fog/Process.js.map +0 -1
  801. package/lib/src/Lib/Project/ResourcePack/Fog/index.d.ts +0 -2
  802. package/lib/src/Lib/Project/ResourcePack/Fog/index.js +0 -20
  803. package/lib/src/Lib/Project/ResourcePack/Fog/index.js.map +0 -1
  804. package/lib/src/Lib/Project/ResourcePack/Material/Material.js +0 -3
  805. package/lib/src/Lib/Project/ResourcePack/Material/Material.js.map +0 -1
  806. package/lib/src/Lib/Project/ResourcePack/Material/Process.d.ts +0 -8
  807. package/lib/src/Lib/Project/ResourcePack/Material/Process.js +0 -55
  808. package/lib/src/Lib/Project/ResourcePack/Material/Process.js.map +0 -1
  809. package/lib/src/Lib/Project/ResourcePack/Material/index.d.ts +0 -2
  810. package/lib/src/Lib/Project/ResourcePack/Material/index.js +0 -20
  811. package/lib/src/Lib/Project/ResourcePack/Material/index.js.map +0 -1
  812. package/lib/src/Lib/Project/ResourcePack/Model/Model.js +0 -3
  813. package/lib/src/Lib/Project/ResourcePack/Model/Model.js.map +0 -1
  814. package/lib/src/Lib/Project/ResourcePack/Model/Process.d.ts +0 -8
  815. package/lib/src/Lib/Project/ResourcePack/Model/Process.js +0 -90
  816. package/lib/src/Lib/Project/ResourcePack/Model/Process.js.map +0 -1
  817. package/lib/src/Lib/Project/ResourcePack/Model/index.d.ts +0 -2
  818. package/lib/src/Lib/Project/ResourcePack/Model/index.js +0 -20
  819. package/lib/src/Lib/Project/ResourcePack/Model/index.js.map +0 -1
  820. package/lib/src/Lib/Project/ResourcePack/Particle/Particle.js +0 -3
  821. package/lib/src/Lib/Project/ResourcePack/Particle/Particle.js.map +0 -1
  822. package/lib/src/Lib/Project/ResourcePack/Particle/Process.d.ts +0 -8
  823. package/lib/src/Lib/Project/ResourcePack/Particle/Process.js +0 -51
  824. package/lib/src/Lib/Project/ResourcePack/Particle/Process.js.map +0 -1
  825. package/lib/src/Lib/Project/ResourcePack/Particle/index.d.ts +0 -2
  826. package/lib/src/Lib/Project/ResourcePack/Particle/index.js +0 -20
  827. package/lib/src/Lib/Project/ResourcePack/Particle/index.js.map +0 -1
  828. package/lib/src/Lib/Project/ResourcePack/RenderController/Process.d.ts +0 -4
  829. package/lib/src/Lib/Project/ResourcePack/RenderController/Process.js +0 -55
  830. package/lib/src/Lib/Project/ResourcePack/RenderController/Process.js.map +0 -1
  831. package/lib/src/Lib/Project/ResourcePack/RenderController/RenderController.d.ts +0 -8
  832. package/lib/src/Lib/Project/ResourcePack/RenderController/RenderController.js +0 -3
  833. package/lib/src/Lib/Project/ResourcePack/RenderController/RenderController.js.map +0 -1
  834. package/lib/src/Lib/Project/ResourcePack/RenderController/index.d.ts +0 -2
  835. package/lib/src/Lib/Project/ResourcePack/RenderController/index.js +0 -20
  836. package/lib/src/Lib/Project/ResourcePack/RenderController/index.js.map +0 -1
  837. package/lib/src/Lib/Project/ResourcePack/ResourcePack.d.ts +0 -109
  838. package/lib/src/Lib/Project/ResourcePack/ResourcePack.js +0 -281
  839. package/lib/src/Lib/Project/ResourcePack/ResourcePack.js.map +0 -1
  840. package/lib/src/Lib/Project/ResourcePack/ResourcePackCollection.d.ts +0 -46
  841. package/lib/src/Lib/Project/ResourcePack/ResourcePackCollection.js +0 -32
  842. package/lib/src/Lib/Project/ResourcePack/ResourcePackCollection.js.map +0 -1
  843. package/lib/src/Lib/Project/ResourcePack/Sound/Process.d.ts +0 -8
  844. package/lib/src/Lib/Project/ResourcePack/Sound/Process.js +0 -54
  845. package/lib/src/Lib/Project/ResourcePack/Sound/Process.js.map +0 -1
  846. package/lib/src/Lib/Project/ResourcePack/Sound/Sound.js +0 -3
  847. package/lib/src/Lib/Project/ResourcePack/Sound/Sound.js.map +0 -1
  848. package/lib/src/Lib/Project/ResourcePack/Sound/index.d.ts +0 -2
  849. package/lib/src/Lib/Project/ResourcePack/Sound/index.js +0 -20
  850. package/lib/src/Lib/Project/ResourcePack/Sound/index.js.map +0 -1
  851. package/lib/src/Lib/Project/ResourcePack/Texture/Process.d.ts +0 -8
  852. package/lib/src/Lib/Project/ResourcePack/Texture/Process.js +0 -55
  853. package/lib/src/Lib/Project/ResourcePack/Texture/Process.js.map +0 -1
  854. package/lib/src/Lib/Project/ResourcePack/Texture/Texture.js +0 -3
  855. package/lib/src/Lib/Project/ResourcePack/Texture/Texture.js.map +0 -1
  856. package/lib/src/Lib/Project/ResourcePack/Texture/index.d.ts +0 -2
  857. package/lib/src/Lib/Project/ResourcePack/Texture/index.js +0 -20
  858. package/lib/src/Lib/Project/ResourcePack/Texture/index.js.map +0 -1
  859. package/lib/src/Lib/Project/ResourcePack/index.d.ts +0 -15
  860. package/lib/src/Lib/Project/ResourcePack/index.js +0 -46
  861. package/lib/src/Lib/Project/ResourcePack/index.js.map +0 -1
  862. package/lib/src/Lib/Project/SkinPack/FileType.js +0 -36
  863. package/lib/src/Lib/Project/SkinPack/FileType.js.map +0 -1
  864. package/lib/src/Lib/Project/SkinPack/index.js.map +0 -1
  865. package/lib/src/Lib/Project/Util.d.ts +0 -34
  866. package/lib/src/Lib/Project/Util.js +0 -47
  867. package/lib/src/Lib/Project/Util.js.map +0 -1
  868. package/lib/src/Lib/Project/World/WorldPack.d.ts +0 -65
  869. package/lib/src/Lib/Project/World/WorldPack.js +0 -89
  870. package/lib/src/Lib/Project/World/WorldPack.js.map +0 -1
  871. package/lib/src/Lib/Project/World/WorldPackCollection.d.ts +0 -9
  872. package/lib/src/Lib/Project/World/WorldPackCollection.js +0 -18
  873. package/lib/src/Lib/Project/World/WorldPackCollection.js.map +0 -1
  874. package/lib/src/Lib/Project/World/index.d.ts +0 -2
  875. package/lib/src/Lib/Project/World/index.js +0 -20
  876. package/lib/src/Lib/Project/World/index.js.map +0 -1
  877. package/lib/src/Lib/Project/index.d.ts +0 -8
  878. package/lib/src/Lib/Project/index.js +0 -39
  879. package/lib/src/Lib/Project/index.js.map +0 -1
  880. package/lib/src/Lib/Types/Carrier.js +0 -3
  881. package/lib/src/Lib/Types/Carrier.js.map +0 -1
  882. package/lib/src/Lib/Types/Container.js +0 -20
  883. package/lib/src/Lib/Types/Container.js.map +0 -1
  884. package/lib/src/Lib/Types/DataSet.d.ts +0 -66
  885. package/lib/src/Lib/Types/DataSet.js +0 -94
  886. package/lib/src/Lib/Types/DataSet.js.map +0 -1
  887. package/lib/src/Lib/Types/DataSetConnector.d.ts +0 -23
  888. package/lib/src/Lib/Types/DataSetConnector.js +0 -59
  889. package/lib/src/Lib/Types/DataSetConnector.js.map +0 -1
  890. package/lib/src/Lib/Types/Documentation.d.ts +0 -14
  891. package/lib/src/Lib/Types/Documentation.js +0 -83
  892. package/lib/src/Lib/Types/Documentation.js.map +0 -1
  893. package/lib/src/Lib/Types/IDataSet.js +0 -3
  894. package/lib/src/Lib/Types/IDataSet.js.map +0 -1
  895. package/lib/src/Lib/Types/JsonPath.d.ts +0 -25
  896. package/lib/src/Lib/Types/JsonPath.js +0 -48
  897. package/lib/src/Lib/Types/JsonPath.js.map +0 -1
  898. package/lib/src/Lib/Types/Pack.d.ts +0 -53
  899. package/lib/src/Lib/Types/Pack.js +0 -20
  900. package/lib/src/Lib/Types/Pack.js.map +0 -1
  901. package/lib/src/Lib/Types/PackCollection.d.ts +0 -48
  902. package/lib/src/Lib/Types/PackCollection.js +0 -91
  903. package/lib/src/Lib/Types/PackCollection.js.map +0 -1
  904. package/lib/src/Lib/Types/ProjectContext.d.ts +0 -13
  905. package/lib/src/Lib/Types/ProjectContext.js +0 -3
  906. package/lib/src/Lib/Types/ProjectContext.js.map +0 -1
  907. package/lib/src/Lib/Types/SMap.js +0 -23
  908. package/lib/src/Lib/Types/SMap.js.map +0 -1
  909. package/lib/src/Lib/Types/Text.js +0 -15
  910. package/lib/src/Lib/Types/Text.js.map +0 -1
  911. package/lib/src/Lib/Types/TextDocument.js +0 -28
  912. package/lib/src/Lib/Types/TextDocument.js.map +0 -1
  913. package/lib/src/Lib/Types/index.d.ts +0 -13
  914. package/lib/src/Lib/Types/index.js +0 -31
  915. package/lib/src/Lib/Types/index.js.map +0 -1
  916. package/lib/src/Lib/index.d.ts +0 -3
  917. package/lib/src/Lib/index.js +0 -31
  918. package/lib/src/Lib/index.js.map +0 -1
  919. /package/lib/src/{Lib/Internal/General/Commands.d.ts → internal/general/commands.d.ts} +0 -0
  920. /package/lib/src/{Lib/Internal/General/Controllers/State.d.ts → internal/general/controllers/state.d.ts} +0 -0
  921. /package/lib/src/{Lib/Internal/BehaviorPack → internal/resource-pack}/AnimationController.js +0 -0
  922. /package/lib/src/{Lib/Internal/Types/FormatVersion.d.ts → internal/types/format-version.d.ts} +0 -0
  923. /package/lib/src/{Lib/Internal/Types/Script.d.ts → internal/types/script.d.ts} +0 -0
  924. /package/lib/src/{Lib/Project/BehaviorPack/Block/BlockState.d.ts → project/behavior-pack/block/block-state.d.ts} +0 -0
  925. /package/lib/src/{Lib/Project/BehaviorPack/Entity/Properties.d.ts → project/behavior-pack/entity/properties.d.ts} +0 -0
  926. /package/lib/src/{Lib/Project/BehaviorPack/Feature/Feature.d.ts → project/behavior-pack/feature/feature.d.ts} +0 -0
  927. /package/lib/src/{Lib/Project/BehaviorPack/FileType.d.ts → project/behavior-pack/file-type.d.ts} +0 -0
  928. /package/lib/src/{Lib/Project/BehaviorPack/LootTable/LootTable.d.ts → project/behavior-pack/loot-table/loot-table.d.ts} +0 -0
  929. /package/lib/src/{Lib/Project/BehaviorPack/McFunction/Comment.d.ts → project/behavior-pack/mcfunction/comment.d.ts} +0 -0
  930. /package/lib/src/{Lib/Project/BehaviorPack/McFunction/Function.d.ts → project/behavior-pack/mcfunction/function.d.ts} +0 -0
  931. /package/lib/src/{Lib/Project/BehaviorPack/Structure/Structure.d.ts → project/behavior-pack/structure/structure.d.ts} +0 -0
  932. /package/lib/src/{Lib/Project/BehaviorPack/Trading/Trading.d.ts → project/behavior-pack/trading/trading.d.ts} +0 -0
  933. /package/lib/src/{Lib/Project/General/Types/GeneralInfo.d.ts → project/general/types/general-info.d.ts} +0 -0
  934. /package/lib/src/{Lib/Project/PackType.d.ts → project/pack-type.d.ts} +0 -0
  935. /package/lib/src/{Lib/Project/ResourcePack/Block/Block.d.ts → project/resource-pack/block/block.d.ts} +0 -0
  936. /package/lib/src/{Lib/Project/ResourcePack/BlockCulling/Culling.d.ts → project/resource-pack/block-culling/culling.d.ts} +0 -0
  937. /package/lib/src/{Lib/Project/ResourcePack/FileType.d.ts → project/resource-pack/file-type.d.ts} +0 -0
  938. /package/lib/src/{Lib/Project/ResourcePack/Fog/Fog.d.ts → project/resource-pack/fog/fog.d.ts} +0 -0
  939. /package/lib/src/{Lib/Project/ResourcePack/Material/Material.d.ts → project/resource-pack/material/material.d.ts} +0 -0
  940. /package/lib/src/{Lib/Project/ResourcePack/Model/Model.d.ts → project/resource-pack/model/model.d.ts} +0 -0
  941. /package/lib/src/{Lib/Project/ResourcePack/Particle/Particle.d.ts → project/resource-pack/particle/particle.d.ts} +0 -0
  942. /package/lib/src/{Lib/Project/ResourcePack/Sound/Sound.d.ts → project/resource-pack/sound/sound.d.ts} +0 -0
  943. /package/lib/src/{Lib/Project/ResourcePack/Texture/Texture.d.ts → project/resource-pack/texture/texture.d.ts} +0 -0
  944. /package/lib/src/{Lib/Project/SkinPack → project/skin-pack}/FileType.d.ts +0 -0
  945. /package/lib/src/{Lib/Project/SkinPack → project/skin-pack}/index.d.ts +0 -0
  946. /package/lib/src/{Lib/Project/SkinPack → project/skin-pack}/index.js +0 -0
  947. /package/lib/src/{Lib/Types/Carrier.d.ts → types/carrier.d.ts} +0 -0
  948. /package/lib/src/{Lib/Types/Container.d.ts → types/container.d.ts} +0 -0
  949. /package/lib/src/{Lib/Types/IDataSet.d.ts → types/i-data-set.d.ts} +0 -0
  950. /package/lib/src/{Lib/Types/SMap.d.ts → types/smap.d.ts} +0 -0
  951. /package/lib/src/{Lib/Types/TextDocument.d.ts → types/text-document.d.ts} +0 -0
  952. /package/lib/src/{Lib/Types/Text.d.ts → types/text.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/animation-controller/process.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAUA,0BAsCC;AAhDD,8FAAgF;AAChF,6DAA6C;AAC7C,0CAA8C;AAE9C,0CAAsC;AACtC,6DAA4C;AAC5C,2EAAmD;AACnD,0CAA+C;AAE/C,MAAM;AACN,SAAgB,OAAO,CAAC,GAAiB;IACvC,MAAM,GAAG,GAAG,oBAAY,CAAC,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAC;IACzE,IAAI,CAAC,GAAG;QAAE,OAAO,SAAS,CAAC;IAE3B,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;IACpB,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IAC9B,MAAM,GAAG,GAA0B,EAAE,CAAC;IACtC,MAAM,SAAS,GAAG,GAAG,CAAC,qBAAqB,CAAC;IAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,mBAAmB,CAAC,SAA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AAC,aAAa,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YACrE,CAAC,CAAC,CAAC;YAEH,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjB,CAAC;IACH,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC;AAED,SAAS,OAAO,CAAC,IAA2B,EAAE,QAAuB;IACnE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;QACjB,IAAI,CAAC,CAAC,MAAM;YAAE,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Types } from "bc-minecraft-bedrock-types";
2
+ import { DefinedUsing, Molang } from "bc-minecraft-molang";
3
+ import { MolangCarrier, AnimationCarrier } from '../../../types';
4
+ /** */
5
+ export interface Attachable extends Types.BaseObject, MolangCarrier<Molang.MolangFullSet>, AnimationCarrier<DefinedUsing<string>> {
6
+ /** */
7
+ animations: DefinedUsing<string>;
8
+ /** */
9
+ molang: Molang.MolangFullSet;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=attachable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachable.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/attachable/attachable.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./attachable";
2
+ export * from "./process";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* Auto generated */
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ __exportStar(require("./attachable"), exports);
19
+ __exportStar(require("./process"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/attachable/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB,+CAA6B;AAC7B,4CAA0B"}
@@ -0,0 +1,8 @@
1
+ import { TextDocument } from "../../../types";
2
+ import { Attachable } from "./attachable";
3
+ /**
4
+ *
5
+ * @param doc
6
+ * @returns
7
+ */
8
+ export declare function Process(doc: TextDocument): Attachable | undefined;
@@ -0,0 +1,98 @@
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"));
28
+ const internal_1 = require("../../../internal");
29
+ const bc_minecraft_molang_1 = require("bc-minecraft-molang");
30
+ const bc_minecraft_molang_2 = require("bc-minecraft-molang");
31
+ const types_1 = require("../../../types");
32
+ const bc_minecraft_bedrock_types_1 = require("bc-minecraft-bedrock-types");
33
+ /**
34
+ *
35
+ * @param doc
36
+ * @returns
37
+ */
38
+ function Process(doc) {
39
+ var _a, _b;
40
+ const uri = doc.uri;
41
+ const content = doc.getText();
42
+ const imp = internal_1.Json.To(doc);
43
+ if (!Internal.Attachable.is(imp))
44
+ return undefined;
45
+ const container = imp["minecraft:attachable"];
46
+ const description = container.description;
47
+ const id = description.identifier;
48
+ const out = {
49
+ id: id,
50
+ location: bc_minecraft_bedrock_types_1.Types.Location.create(uri, content.indexOf(id)),
51
+ molang: bc_minecraft_molang_1.Molang.MolangFullSet.harvest(container),
52
+ animations: bc_minecraft_molang_2.DefinedUsing.create(),
53
+ documentation: types_1.Documentation.getDoc(doc, () => `Attachable Item: ${id}`),
54
+ };
55
+ bc_minecraft_molang_1.Molang.MolangFullSet.fromScript((_a = description.scripts) !== null && _a !== void 0 ? _a : {}, out.molang);
56
+ //process animations
57
+ bc_minecraft_bedrock_types_1.Types.Definition.forEach(description.animations, (reference, id) => {
58
+ out.animations.defined.push(reference);
59
+ out.animations.using.push(id);
60
+ });
61
+ //process Animation controller
62
+ (_b = description.animation_controllers) === null || _b === void 0 ? void 0 : _b.forEach((item) => {
63
+ const temp = flatten(item);
64
+ if (temp)
65
+ out.animations.using.push(temp);
66
+ });
67
+ //process geometries
68
+ bc_minecraft_bedrock_types_1.Types.Definition.forEach(description.geometry, (reference, id) => {
69
+ out.molang.geometries.defined.push(reference);
70
+ out.molang.geometries.using.push(removePrefix(id));
71
+ });
72
+ //process materials
73
+ bc_minecraft_bedrock_types_1.Types.Definition.forEach(description.materials, (reference, id) => {
74
+ out.molang.materials.defined.push(reference);
75
+ out.molang.materials.using.push(removePrefix(id));
76
+ });
77
+ //process textures
78
+ bc_minecraft_bedrock_types_1.Types.Definition.forEach(description.textures, (reference, id) => {
79
+ out.molang.textures.defined.push(reference);
80
+ out.molang.textures.using.push(id);
81
+ });
82
+ return out;
83
+ }
84
+ function flatten(data) {
85
+ if (typeof data === "string")
86
+ return data;
87
+ const key = Object.getOwnPropertyNames(data)[0];
88
+ if (key)
89
+ return data[key];
90
+ return undefined;
91
+ }
92
+ function removePrefix(id) {
93
+ const index = id.indexOf(".");
94
+ if (index > -1)
95
+ return id.slice(index + 1);
96
+ return id;
97
+ }
98
+ //# sourceMappingURL=process.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/attachable/process.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAcA,0BAkDC;AAhED,0EAA4D;AAC5D,gDAAyC;AACzC,6DAA6C;AAG7C,6DAAmD;AACnD,0CAA+C;AAC/C,2EAAmD;AAEnD;;;;GAIG;AACH,SAAgB,OAAO,CAAC,GAAiB;;IACvC,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;IACpB,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IAC9B,MAAM,GAAG,GAAG,eAAI,CAAC,EAAE,CAAsB,GAAG,CAAC,CAAC;IAE9C,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC;QAAE,OAAO,SAAS,CAAC;IAEnD,MAAM,SAAS,GAAG,GAAG,CAAC,sBAAsB,CAAC,CAAC;IAC9C,MAAM,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC;IAC1C,MAAM,EAAE,GAAG,WAAW,CAAC,UAAU,CAAC;IAClC,MAAM,GAAG,GAAe;QACtB,EAAE,EAAE,E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C,KAAK,GAAG,CAAC,CAAC,CAAC;IAE3C,OAAO,EAAE,CAAC;AACZ,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=block.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/block/block.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from "./block";
@@ -0,0 +1,19 @@
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("./block"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/block/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB,0CAAwB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=culling.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"culling.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/block-culling/culling.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./culling";
2
+ export * from "./process";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* Auto generated */
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ __exportStar(require("./culling"), exports);
19
+ __exportStar(require("./process"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/block-culling/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB,4CAA0B;AAC1B,4CAA0B"}
@@ -0,0 +1,3 @@
1
+ import { TextDocument } from "../../../types";
2
+ import { BlockCulling } from "./culling";
3
+ export declare function Process(doc: TextDocument): BlockCulling[] | undefined;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.Process = Process;
27
+ const bc_minecraft_bedrock_types_1 = require("bc-minecraft-bedrock-types");
28
+ const internal_1 = require("../../../internal");
29
+ const Internal = __importStar(require("../../../internal/resource-pack"));
30
+ const types_1 = require("../../../types");
31
+ function Process(doc) {
32
+ var _a;
33
+ const uri = doc.uri;
34
+ const content = doc.getText();
35
+ const imp = internal_1.Json.To(doc);
36
+ if (!Internal.BlockCulling.is(imp))
37
+ return undefined;
38
+ const id = imp["minecraft:block_culling_rules"].description.identifier;
39
+ if (typeof id !== "string")
40
+ return undefined;
41
+ const result = {
42
+ id: id,
43
+ affected_bones: [],
44
+ location: bc_minecraft_bedrock_types_1.Types.Location.create(uri, content.indexOf(id)),
45
+ documentation: types_1.Documentation.getDoc(doc, () => `Block culling rule: ${id}`),
46
+ };
47
+ // Gather all the bones
48
+ const rules = imp["minecraft:block_culling_rules"].rules;
49
+ if (Array.isArray(rules)) {
50
+ for (let I = 0; I < rules.length; I++) {
51
+ const item = rules[I];
52
+ const bone = (_a = item === null || item === void 0 ? void 0 : item.geometry_part) === null || _a === void 0 ? void 0 : _a.bone;
53
+ if (typeof bone === "string") {
54
+ result.affected_bones.push(bone);
55
+ }
56
+ }
57
+ }
58
+ return [result];
59
+ }
60
+ //# sourceMappingURL=process.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/block-culling/process.ts"],"names":[],"mappings":";;;;;;;;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C,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;gBAC7B,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACnC,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,CAAC,MAAM,CAAC,CAAC;AAClB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Types } from "bc-minecraft-bedrock-types";
2
+ import { DefinedUsing, Molang } from "bc-minecraft-molang";
3
+ import { AnimationCarrier, MolangCarrier } from '../../../types';
4
+ /** */
5
+ export interface Entity extends Types.BaseObject, MolangCarrier<Molang.MolangFullSet>, AnimationCarrier<DefinedUsing<string>> {
6
+ /** */
7
+ animations: DefinedUsing<string>;
8
+ /** */
9
+ molang: Molang.MolangFullSet;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/entity/entity.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./entity";
2
+ export * from "./process";
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* Auto generated */
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ __exportStar(require("./entity"), exports);
19
+ __exportStar(require("./process"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/entity/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;;;;;;;;;;;;;;AAEpB,2CAAyB;AACzB,4CAA0B"}
@@ -0,0 +1,8 @@
1
+ import { TextDocument } from "../../../types";
2
+ import { Entity } from "./entity";
3
+ /**
4
+ *
5
+ * @param doc
6
+ * @returns
7
+ */
8
+ export declare function Process(doc: TextDocument): Entity | undefined;
@@ -0,0 +1,97 @@
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"));
28
+ const internal_1 = require("../../../internal");
29
+ const bc_minecraft_molang_1 = require("bc-minecraft-molang");
30
+ const bc_minecraft_bedrock_types_1 = require("bc-minecraft-bedrock-types");
31
+ const types_1 = require("../../../types");
32
+ const bc_minecraft_molang_2 = require("bc-minecraft-molang");
33
+ /**
34
+ *
35
+ * @param doc
36
+ * @returns
37
+ */
38
+ function Process(doc) {
39
+ var _a, _b;
40
+ const uri = doc.uri;
41
+ const content = doc.getText();
42
+ const imp = internal_1.Json.To(doc);
43
+ if (!Internal.Entity.is(imp))
44
+ return undefined;
45
+ const description = imp["minecraft:client_entity"].description;
46
+ const id = description.identifier;
47
+ const out = {
48
+ id: id,
49
+ location: bc_minecraft_bedrock_types_1.Types.Location.create(uri, content.indexOf(id)),
50
+ molang: bc_minecraft_molang_1.Molang.MolangFullSet.harvest(description),
51
+ animations: bc_minecraft_molang_2.DefinedUsing.create(),
52
+ documentation: types_1.Documentation.getDoc(doc, () => `Entity: ${id}`),
53
+ };
54
+ bc_minecraft_molang_1.Molang.MolangFullSet.fromScript((_a = description.scripts) !== null && _a !== void 0 ? _a : {}, out.molang);
55
+ //process animations
56
+ bc_minecraft_bedrock_types_1.Types.Definition.forEach(description.animations, (reference, id) => {
57
+ out.animations.defined.push(reference);
58
+ out.animations.using.push(id);
59
+ });
60
+ //process Animation controller
61
+ (_b = description.animation_controllers) === null || _b === void 0 ? void 0 : _b.forEach((item) => {
62
+ const temp = flatten(item);
63
+ if (temp)
64
+ out.animations.using.push(temp);
65
+ });
66
+ //process geometries
67
+ bc_minecraft_bedrock_types_1.Types.Definition.forEach(description.geometry, (reference, id) => {
68
+ out.molang.geometries.defined.push(reference);
69
+ out.molang.geometries.using.push(removePrefix(id));
70
+ });
71
+ //process materials
72
+ bc_minecraft_bedrock_types_1.Types.Definition.forEach(description.materials, (reference, id) => {
73
+ out.molang.materials.defined.push(reference);
74
+ out.molang.materials.using.push(removePrefix(id));
75
+ });
76
+ //process textures
77
+ bc_minecraft_bedrock_types_1.Types.Definition.forEach(description.textures, (reference, id) => {
78
+ out.molang.textures.defined.push(reference);
79
+ out.molang.textures.using.push(id);
80
+ });
81
+ return out;
82
+ }
83
+ function flatten(data) {
84
+ if (typeof data === "string")
85
+ return data;
86
+ const key = Object.getOwnPropertyNames(data)[0];
87
+ if (key)
88
+ return data[key];
89
+ return undefined;
90
+ }
91
+ function removePrefix(id) {
92
+ const index = id.indexOf(".");
93
+ if (index > -1)
94
+ return id.slice(index + 1);
95
+ return id;
96
+ }
97
+ //# sourceMappingURL=process.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process.js","sourceRoot":"","sources":["../../../../../src/project/resource-pack/entity/process.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAaA,0BAiDC;AA9DD,0EAA4D;AAC5D,gDAAyC;AACzC,6DAA6C;AAC7C,2EAAmD;AACnD,0CAA6D;AAE7D,6DAAmD;AAEnD;;;;GAIG;AACH,SAAgB,OAAO,CAAC,GAAiB;;IACvC,MAAM,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;IACpB,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IAC9B,MAAM,GAAG,GAAG,eAAI,CAAC,EAAE,CAAkB,GAAG,CAAC,CAAC;IAE1C,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC;QAAE,OAAO,SAAS,CAAC;IAE/C,MAAM,WAAW,GAAG,GAAG,CAAC,yBAAyB,CAAC,CAAC,WAAW,CAAC;IAC/D,MAAM,EAAE,GAAG,WAAW,CAAC,UAAU,CAAC;IAClC,MAAM,GAAG,GAAW;QAClB,EAAE,EAAE,EAAE;QACN,QAAQ,EAAE,kCAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QACzD,MAAM,EAAE,4BAAM,CAAC,aAAa,CAAC,OAAO,CAAC,WAAW,CAAC;QACjD,UAAU,EAAE,kCAAY,CAAC,MAAM,EAAE;QACjC,aAAa,EAAE,qBAAa,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,EAA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CAAC,CAAC;QAC7C,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC,CAAC;IACpD,CAAC,CAAC,CAAC;IAEH,kBAAkB;IAClB,kCAAK,CAAC,UAAU,CAAC,OAAO,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,EAAE,EAAE;QAC/D,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACb,CAAC;AAED,SAAS,OAAO,CAAC,IAA+B;IAC9C,IAAI,OAAO,IAAI,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IAE1C,MAAM,GAAG,GAAG,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;IAEhD,IAAI,GAAG;QAAE,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;IAE1B,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,YAAY,CAAC,EAAU;IAC9B,MAAM,KAAK,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAE9B,IAAI,KAAK,GAAG,CAAC,CAAC;QAAE,OAAO,EAAE,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;IAE3C,OAAO,EAAE,CAAC;AACZ,CAAC"}
@@ -0,0 +1,107 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.FileType = void 0;
7
+ const path_1 = __importDefault(require("path"));
8
+ /** */
9
+ var FileType;
10
+ (function (FileType) {
11
+ /** */
12
+ FileType[FileType["animation"] = 0] = "animation";
13
+ /** */
14
+ FileType[FileType["animation_controller"] = 1] = "animation_controller";
15
+ /** */
16
+ FileType[FileType["attachable"] = 2] = "attachable";
17
+ /** */
18
+ FileType[FileType["block_culling_rules"] = 3] = "block_culling_rules";
19
+ /**The file biomes_client */
20
+ FileType[FileType["biomes_client"] = 4] = "biomes_client";
21
+ /** */
22
+ FileType[FileType["block"] = 5] = "block";
23
+ /** */
24
+ FileType[FileType["entity"] = 6] = "entity";
25
+ /** */
26
+ FileType[FileType["fog"] = 7] = "fog";
27
+ /** */
28
+ FileType[FileType["item"] = 8] = "item";
29
+ /** */
30
+ FileType[FileType["manifest"] = 9] = "manifest";
31
+ /** */
32
+ FileType[FileType["material"] = 10] = "material";
33
+ /** */
34
+ FileType[FileType["model"] = 11] = "model";
35
+ /** */
36
+ FileType[FileType["music_definitions"] = 12] = "music_definitions";
37
+ /** */
38
+ FileType[FileType["particle"] = 13] = "particle";
39
+ /** */
40
+ FileType[FileType["render_controller"] = 14] = "render_controller";
41
+ /** */
42
+ FileType[FileType["sounds"] = 15] = "sounds";
43
+ /**The file sound_definitions*/
44
+ FileType[FileType["sounds_definitions"] = 16] = "sounds_definitions";
45
+ /** */
46
+ FileType[FileType["texture"] = 17] = "texture";
47
+ /** */
48
+ FileType[FileType["texture_flipbook_atlas"] = 18] = "texture_flipbook_atlas";
49
+ /**The file texture_item_atlas*/
50
+ FileType[FileType["texture_item_atlas"] = 19] = "texture_item_atlas";
51
+ /**The file terrain_texture.json */
52
+ FileType[FileType["texture_terrain_atlas"] = 20] = "texture_terrain_atlas";
53
+ /** */
54
+ FileType[FileType["unknown"] = 21] = "unknown";
55
+ })(FileType || (exports.FileType = FileType = {}));
56
+ /** */
57
+ (function (FileType) {
58
+ /**Detects resource pack resource, already assumed the path belongs to a resource pack
59
+ * @param uri the decoded uri, expects slashes to be '/'*/
60
+ function detect(uri) {
61
+ //Folders
62
+ if (/[\\/]animation_controllers[\\/]/.test(uri))
63
+ return FileType.animation_controller;
64
+ if (/[\\/]animations[\\/]/.test(uri))
65
+ return FileType.animation;
66
+ if (/[\\/]attachables[\\/]/.test(uri))
67
+ return FileType.attachable;
68
+ if (/[\\/]block_culling[\\/]/.test(uri))
69
+ return FileType.block_culling_rules;
70
+ if (/[\\/]models[\\/]/.test(uri))
71
+ return FileType.model;
72
+ if (/[\\/]models[\\/]entities[\\/]/.test(uri))
73
+ return FileType.model;
74
+ if (/[\\/]entity[\\/]/.test(uri))
75
+ return FileType.entity;
76
+ if (/[\\/]particles[\\/]/.test(uri))
77
+ return FileType.particle;
78
+ if (/[\\/]render_controllers[\\/]/.test(uri))
79
+ return FileType.render_controller;
80
+ const filename = path_1.default.basename(uri);
81
+ switch (filename) {
82
+ case "biomes_client.json":
83
+ return FileType.biomes_client;
84
+ case "blocks.json":
85
+ return FileType.block;
86
+ case "flipbook_textures.json":
87
+ return FileType.texture_flipbook_atlas;
88
+ case "item_texture.json":
89
+ return FileType.texture_item_atlas;
90
+ case "manifest.json":
91
+ return FileType.manifest;
92
+ case "music_definitions.json":
93
+ return FileType.music_definitions;
94
+ case "sound_definitions.json":
95
+ return FileType.sounds_definitions;
96
+ case "sounds.json":
97
+ return FileType.sounds;
98
+ case "terrain_texture.json":
99
+ return FileType.texture_terrain_atlas;
100
+ }
101
+ if (/[\\/]textures[\\/]/.test(uri))
102
+ return FileType.texture;
103
+ return FileType.unknown;
104
+ }
105
+ FileType.detect = detect;
106
+ })(FileType || (exports.FileType = FileType = {}));
107
+ //# sourceMappingURL=file-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file-type.js","sourceRoot":"","sources":["../../../../src/project/resource-pack/file-type.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AAExB,MAAM;AACN,IAAY,QA6CX;AA7CD,WAAY,QAAQ;IAClB,MAAM;IACN,iDAAS,CAAA;IACT,MAAM;IACN,uEAAoB,CAAA;IACpB,MAAM;IACN,mDAAU,C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