bc-minecraft-bedrock-command 1.19.40 → 1.19.41-4

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 (160) hide show
  1. package/lib/src/Lib/Data/CommandData.d.ts +1 -3
  2. package/lib/src/Lib/Data/CommandData.js +4 -7
  3. package/lib/src/Lib/Data/CommandData.js.map +1 -1
  4. package/lib/src/Lib/Data/{Vanilla.d.ts → Commands.d.ts} +4 -0
  5. package/lib/src/Lib/Data/{Vanilla.js → Commands.js} +17 -3
  6. package/lib/src/Lib/Data/Commands.js.map +1 -0
  7. package/lib/src/Lib/Data/Edu/ability.d.ts +3 -0
  8. package/lib/src/Lib/Data/Edu/ability.js +51 -0
  9. package/lib/src/Lib/Data/Edu/ability.js.map +1 -0
  10. package/lib/src/Lib/Data/Edu/classroommode.d.ts +3 -0
  11. package/lib/src/Lib/Data/Edu/classroommode.js +13 -0
  12. package/lib/src/Lib/Data/Edu/classroommode.js.map +1 -0
  13. package/lib/src/Lib/Data/Edu/code.d.ts +3 -0
  14. package/lib/src/Lib/Data/Edu/code.js +13 -0
  15. package/lib/src/Lib/Data/Edu/code.js.map +1 -0
  16. package/lib/src/Lib/Data/Edu/gamerule.d.ts +3 -0
  17. package/lib/src/Lib/Data/Edu/gamerule.js +35 -0
  18. package/lib/src/Lib/Data/Edu/gamerule.js.map +1 -0
  19. package/lib/src/Lib/Data/Edu/immutableworld.d.ts +3 -0
  20. package/lib/src/Lib/Data/Edu/immutableworld.js +16 -0
  21. package/lib/src/Lib/Data/Edu/immutableworld.js.map +1 -0
  22. package/lib/src/Lib/Data/Vanilla/alwaysday.js +3 -3
  23. package/lib/src/Lib/Data/Vanilla/alwaysday.js.map +1 -1
  24. package/lib/src/Lib/Data/Vanilla/camerashake.js +10 -10
  25. package/lib/src/Lib/Data/Vanilla/camerashake.js.map +1 -1
  26. package/lib/src/Lib/Data/Vanilla/clear.js +6 -6
  27. package/lib/src/Lib/Data/Vanilla/clear.js.map +1 -1
  28. package/lib/src/Lib/Data/Vanilla/clearspawnpoint.js +3 -3
  29. package/lib/src/Lib/Data/Vanilla/clearspawnpoint.js.map +1 -1
  30. package/lib/src/Lib/Data/Vanilla/clone.js +41 -41
  31. package/lib/src/Lib/Data/Vanilla/clone.js.map +1 -1
  32. package/lib/src/Lib/Data/Vanilla/damage.js +11 -11
  33. package/lib/src/Lib/Data/Vanilla/damage.js.map +1 -1
  34. package/lib/src/Lib/Data/Vanilla/daylock.js +3 -3
  35. package/lib/src/Lib/Data/Vanilla/daylock.js.map +1 -1
  36. package/lib/src/Lib/Data/Vanilla/deop.js +3 -3
  37. package/lib/src/Lib/Data/Vanilla/deop.js.map +1 -1
  38. package/lib/src/Lib/Data/Vanilla/dialogue.js +11 -11
  39. package/lib/src/Lib/Data/Vanilla/dialogue.js.map +1 -1
  40. package/lib/src/Lib/Data/Vanilla/difficulty.js +3 -3
  41. package/lib/src/Lib/Data/Vanilla/difficulty.js.map +1 -1
  42. package/lib/src/Lib/Data/Vanilla/effect.js +10 -10
  43. package/lib/src/Lib/Data/Vanilla/effect.js.map +1 -1
  44. package/lib/src/Lib/Data/Vanilla/enchant.js +9 -9
  45. package/lib/src/Lib/Data/Vanilla/enchant.js.map +1 -1
  46. package/lib/src/Lib/Data/Vanilla/event.js +5 -5
  47. package/lib/src/Lib/Data/Vanilla/event.js.map +1 -1
  48. package/lib/src/Lib/Data/Vanilla/execute.js +19 -19
  49. package/lib/src/Lib/Data/Vanilla/execute.js.map +1 -1
  50. package/lib/src/Lib/Data/Vanilla/fill.js +47 -47
  51. package/lib/src/Lib/Data/Vanilla/fill.js.map +1 -1
  52. package/lib/src/Lib/Data/Vanilla/fog.js +14 -14
  53. package/lib/src/Lib/Data/Vanilla/fog.js.map +1 -1
  54. package/lib/src/Lib/Data/Vanilla/function.js +3 -3
  55. package/lib/src/Lib/Data/Vanilla/function.js.map +1 -1
  56. package/lib/src/Lib/Data/Vanilla/gamemode.js +4 -4
  57. package/lib/src/Lib/Data/Vanilla/gamemode.js.map +1 -1
  58. package/lib/src/Lib/Data/Vanilla/gamerule.js +91 -91
  59. package/lib/src/Lib/Data/Vanilla/gamerule.js.map +1 -1
  60. package/lib/src/Lib/Data/Vanilla/give.js +7 -7
  61. package/lib/src/Lib/Data/Vanilla/give.js.map +1 -1
  62. package/lib/src/Lib/Data/Vanilla/kick.js +3 -3
  63. package/lib/src/Lib/Data/Vanilla/kick.js.map +1 -1
  64. package/lib/src/Lib/Data/Vanilla/kill.js +3 -3
  65. package/lib/src/Lib/Data/Vanilla/kill.js.map +1 -1
  66. package/lib/src/Lib/Data/Vanilla/locate.js +3 -3
  67. package/lib/src/Lib/Data/Vanilla/locate.js.map +1 -1
  68. package/lib/src/Lib/Data/Vanilla/loot.js +257 -257
  69. package/lib/src/Lib/Data/Vanilla/loot.js.map +1 -1
  70. package/lib/src/Lib/Data/Vanilla/me.js +3 -3
  71. package/lib/src/Lib/Data/Vanilla/me.js.map +1 -1
  72. package/lib/src/Lib/Data/Vanilla/msg.js +4 -4
  73. package/lib/src/Lib/Data/Vanilla/msg.js.map +1 -1
  74. package/lib/src/Lib/Data/Vanilla/music.js +19 -19
  75. package/lib/src/Lib/Data/Vanilla/music.js.map +1 -1
  76. package/lib/src/Lib/Data/Vanilla/op.js +3 -3
  77. package/lib/src/Lib/Data/Vanilla/op.js.map +1 -1
  78. package/lib/src/Lib/Data/Vanilla/particle.js +6 -6
  79. package/lib/src/Lib/Data/Vanilla/particle.js.map +1 -1
  80. package/lib/src/Lib/Data/Vanilla/playanimation.js +7 -7
  81. package/lib/src/Lib/Data/Vanilla/playanimation.js.map +1 -1
  82. package/lib/src/Lib/Data/Vanilla/playsound.js +10 -10
  83. package/lib/src/Lib/Data/Vanilla/playsound.js.map +1 -1
  84. package/lib/src/Lib/Data/Vanilla/replaceitem.js +43 -43
  85. package/lib/src/Lib/Data/Vanilla/replaceitem.js.map +1 -1
  86. package/lib/src/Lib/Data/Vanilla/ride.js +26 -26
  87. package/lib/src/Lib/Data/Vanilla/ride.js.map +1 -1
  88. package/lib/src/Lib/Data/Vanilla/say.js +3 -3
  89. package/lib/src/Lib/Data/Vanilla/say.js.map +1 -1
  90. package/lib/src/Lib/Data/Vanilla/schedule.js +26 -26
  91. package/lib/src/Lib/Data/Vanilla/schedule.js.map +1 -1
  92. package/lib/src/Lib/Data/Vanilla/scoreboard.js +92 -92
  93. package/lib/src/Lib/Data/Vanilla/scoreboard.js.map +1 -1
  94. package/lib/src/Lib/Data/Vanilla/setblock.js +15 -15
  95. package/lib/src/Lib/Data/Vanilla/setblock.js.map +1 -1
  96. package/lib/src/Lib/Data/Vanilla/setmaxplayers.js +3 -3
  97. package/lib/src/Lib/Data/Vanilla/setmaxplayers.js.map +1 -1
  98. package/lib/src/Lib/Data/Vanilla/setworldspawn.js +5 -5
  99. package/lib/src/Lib/Data/Vanilla/setworldspawn.js.map +1 -1
  100. package/lib/src/Lib/Data/Vanilla/spawnpoint.js +6 -6
  101. package/lib/src/Lib/Data/Vanilla/spawnpoint.js.map +1 -1
  102. package/lib/src/Lib/Data/Vanilla/spreadplayers.js +7 -7
  103. package/lib/src/Lib/Data/Vanilla/spreadplayers.js.map +1 -1
  104. package/lib/src/Lib/Data/Vanilla/stopsound.js +4 -4
  105. package/lib/src/Lib/Data/Vanilla/stopsound.js.map +1 -1
  106. package/lib/src/Lib/Data/Vanilla/structure.js +54 -54
  107. package/lib/src/Lib/Data/Vanilla/structure.js.map +1 -1
  108. package/lib/src/Lib/Data/Vanilla/summon.js +14 -14
  109. package/lib/src/Lib/Data/Vanilla/summon.js.map +1 -1
  110. package/lib/src/Lib/Data/Vanilla/tag.js +12 -12
  111. package/lib/src/Lib/Data/Vanilla/tag.js.map +1 -1
  112. package/lib/src/Lib/Data/Vanilla/teleport.js +106 -106
  113. package/lib/src/Lib/Data/Vanilla/teleport.js.map +1 -1
  114. package/lib/src/Lib/Data/Vanilla/tell.js +4 -4
  115. package/lib/src/Lib/Data/Vanilla/tell.js.map +1 -1
  116. package/lib/src/Lib/Data/Vanilla/tellraw.js +4 -4
  117. package/lib/src/Lib/Data/Vanilla/tellraw.js.map +1 -1
  118. package/lib/src/Lib/Data/Vanilla/testfor.js +3 -3
  119. package/lib/src/Lib/Data/Vanilla/testfor.js.map +1 -1
  120. package/lib/src/Lib/Data/Vanilla/testforblock.js +39 -39
  121. package/lib/src/Lib/Data/Vanilla/testforblock.js.map +1 -1
  122. package/lib/src/Lib/Data/Vanilla/tickingarea.js +31 -31
  123. package/lib/src/Lib/Data/Vanilla/tickingarea.js.map +1 -1
  124. package/lib/src/Lib/Data/Vanilla/time.js +19 -19
  125. package/lib/src/Lib/Data/Vanilla/time.js.map +1 -1
  126. package/lib/src/Lib/Data/Vanilla/title.js +25 -25
  127. package/lib/src/Lib/Data/Vanilla/title.js.map +1 -1
  128. package/lib/src/Lib/Data/Vanilla/titleraw.js +25 -25
  129. package/lib/src/Lib/Data/Vanilla/titleraw.js.map +1 -1
  130. package/lib/src/Lib/Data/Vanilla/toggledownfall.js +2 -2
  131. package/lib/src/Lib/Data/Vanilla/toggledownfall.js.map +1 -1
  132. package/lib/src/Lib/Data/Vanilla/w.js +4 -4
  133. package/lib/src/Lib/Data/Vanilla/w.js.map +1 -1
  134. package/lib/src/Lib/Data/Vanilla/weather.js +10 -10
  135. package/lib/src/Lib/Data/Vanilla/weather.js.map +1 -1
  136. package/lib/src/Lib/Data/Vanilla/xp.js +7 -7
  137. package/lib/src/Lib/Data/Vanilla/xp.js.map +1 -1
  138. package/lib/src/Lib/Data/index.d.ts +0 -2
  139. package/lib/src/Lib/Data/index.js +0 -2
  140. package/lib/src/Lib/Data/index.js.map +1 -1
  141. package/lib/src/Lib/Types/Command/Command.d.ts +6 -6
  142. package/lib/src/Lib/Types/Command/Command.js +9 -9
  143. package/lib/src/Lib/Types/Command/Command.js.map +1 -1
  144. package/lib/src/Lib/Types/Command/Functions.d.ts +4 -4
  145. package/lib/src/Lib/Types/Command/Functions.js +11 -12
  146. package/lib/src/Lib/Types/Command/Functions.js.map +1 -1
  147. package/lib/src/Lib/Types/Command/Parameter.d.ts +1 -1
  148. package/lib/src/Lib/Types/Command/Parameter.js +1 -1
  149. package/lib/src/Lib/Types/Command/Parse.js +17 -17
  150. package/lib/src/Lib/Types/ParameterType.d.ts +2 -2
  151. package/lib/src/Lib/Types/ParameterType.js +2 -2
  152. package/lib/src/Lib/Types/ParameterType.js.map +1 -1
  153. package/package.json +1 -1
  154. package/lib/src/Lib/Data/Edu.d.ts +0 -2
  155. package/lib/src/Lib/Data/Edu.js +0 -110
  156. package/lib/src/Lib/Data/Edu.js.map +0 -1
  157. package/lib/src/Lib/Data/Vanilla/index.d.ts +0 -58
  158. package/lib/src/Lib/Data/Vanilla/index.js +0 -76
  159. package/lib/src/Lib/Data/Vanilla/index.js.map +0 -1
  160. package/lib/src/Lib/Data/Vanilla.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.loot = void 0;
4
- const Types_1 = require("../../Types");
4
+ const ParameterType_1 = require("../../Types/ParameterType");
5
5
  /**The loot command */
6
6
  exports.loot = [
7
7
  /**give */
@@ -9,48 +9,48 @@ exports.loot = [
9
9
  name: "loot",
10
10
  documentation: "Drops the given loot table into the world",
11
11
  parameters: [
12
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
13
- { text: "give", type: Types_1.ParameterType.keyword, required: true },
14
- { text: "players", type: Types_1.ParameterType.selector, required: true, options: { playerOnly: true } },
15
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
16
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
17
- { text: "item", type: Types_1.ParameterType.item, required: false },
12
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
13
+ { text: "give", type: ParameterType_1.ParameterType.keyword, required: true },
14
+ { text: "players", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
15
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
16
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
17
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
18
18
  ],
19
19
  },
20
20
  {
21
21
  name: "loot",
22
22
  documentation: "Drops the given loot table into the world",
23
23
  parameters: [
24
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
25
- { text: "give", type: Types_1.ParameterType.keyword, required: true },
26
- { text: "players", type: Types_1.ParameterType.selector, required: true, options: { playerOnly: true } },
27
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
28
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
29
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
24
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
25
+ { text: "give", type: ParameterType_1.ParameterType.keyword, required: true },
26
+ { text: "players", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
27
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
28
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
29
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
30
30
  ],
31
31
  },
32
32
  {
33
33
  name: "loot",
34
34
  documentation: "Drops the given loot table into the world",
35
35
  parameters: [
36
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
37
- { text: "give", type: Types_1.ParameterType.keyword, required: true },
38
- { text: "players", type: Types_1.ParameterType.selector, required: true, options: { playerOnly: true } },
39
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
40
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
41
- { text: "item", type: Types_1.ParameterType.item, required: false },
36
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
37
+ { text: "give", type: ParameterType_1.ParameterType.keyword, required: true },
38
+ { text: "players", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
39
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
40
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
41
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
42
42
  ],
43
43
  },
44
44
  {
45
45
  name: "loot",
46
46
  documentation: "Drops the given loot table into the world",
47
47
  parameters: [
48
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
49
- { text: "give", type: Types_1.ParameterType.keyword, required: true },
50
- { text: "players", type: Types_1.ParameterType.selector, required: true, options: { playerOnly: true } },
51
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
52
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
53
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
48
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
49
+ { text: "give", type: ParameterType_1.ParameterType.keyword, required: true },
50
+ { text: "players", type: ParameterType_1.ParameterType.selector, required: true, options: { playerOnly: true } },
51
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
52
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
53
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
54
54
  ],
55
55
  },
56
56
  /**insert */
@@ -58,56 +58,56 @@ exports.loot = [
58
58
  name: "loot",
59
59
  documentation: "Drops the given loot table into the world",
60
60
  parameters: [
61
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
62
- { text: "insert", type: Types_1.ParameterType.keyword, required: true },
63
- { text: "position x", type: Types_1.ParameterType.coordinate, required: true },
64
- { text: "position y", type: Types_1.ParameterType.coordinate, required: true },
65
- { text: "position z", type: Types_1.ParameterType.coordinate, required: true },
66
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
67
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
68
- { text: "item", type: Types_1.ParameterType.item, required: false },
61
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
62
+ { text: "insert", type: ParameterType_1.ParameterType.keyword, required: true },
63
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
64
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
65
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
66
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
67
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
68
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
69
69
  ],
70
70
  },
71
71
  {
72
72
  name: "loot",
73
73
  documentation: "Drops the given loot table into the world",
74
74
  parameters: [
75
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
76
- { text: "insert", type: Types_1.ParameterType.keyword, required: true },
77
- { text: "position x", type: Types_1.ParameterType.coordinate, required: true },
78
- { text: "position y", type: Types_1.ParameterType.coordinate, required: true },
79
- { text: "position z", type: Types_1.ParameterType.coordinate, required: true },
80
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
81
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
82
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
75
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
76
+ { text: "insert", type: ParameterType_1.ParameterType.keyword, required: true },
77
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
78
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
79
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
80
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
81
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
82
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
83
83
  ],
84
84
  },
85
85
  {
86
86
  name: "loot",
87
87
  documentation: "Drops the given loot table into the world",
88
88
  parameters: [
89
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
90
- { text: "insert", type: Types_1.ParameterType.keyword, required: true },
91
- { text: "position x", type: Types_1.ParameterType.coordinate, required: true },
92
- { text: "position y", type: Types_1.ParameterType.coordinate, required: true },
93
- { text: "position z", type: Types_1.ParameterType.coordinate, required: true },
94
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
95
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
96
- { text: "item", type: Types_1.ParameterType.item, required: false },
89
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
90
+ { text: "insert", type: ParameterType_1.ParameterType.keyword, required: true },
91
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
92
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
93
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
94
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
95
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
96
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
97
97
  ],
98
98
  },
99
99
  {
100
100
  name: "loot",
101
101
  documentation: "Drops the given loot table into the world",
102
102
  parameters: [
103
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
104
- { text: "insert", type: Types_1.ParameterType.keyword, required: true },
105
- { text: "position x", type: Types_1.ParameterType.coordinate, required: true },
106
- { text: "position y", type: Types_1.ParameterType.coordinate, required: true },
107
- { text: "position z", type: Types_1.ParameterType.coordinate, required: true },
108
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
109
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
110
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
103
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
104
+ { text: "insert", type: ParameterType_1.ParameterType.keyword, required: true },
105
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
106
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
107
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
108
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
109
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
110
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
111
111
  ],
112
112
  },
113
113
  /**replace block */
@@ -115,140 +115,140 @@ exports.loot = [
115
115
  name: "loot",
116
116
  documentation: "Drops the given loot table into the world",
117
117
  parameters: [
118
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
119
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
120
- { text: "block", type: Types_1.ParameterType.keyword, required: true },
121
- { text: "x", type: Types_1.ParameterType.coordinate, required: true },
122
- { text: "y", type: Types_1.ParameterType.coordinate, required: true },
123
- { text: "z", type: Types_1.ParameterType.coordinate, required: true },
124
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
125
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
126
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
127
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
128
- { text: "item", type: Types_1.ParameterType.item, required: false },
118
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
119
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
120
+ { text: "block", type: ParameterType_1.ParameterType.keyword, required: true },
121
+ { text: "x", type: ParameterType_1.ParameterType.coordinate, required: true },
122
+ { text: "y", type: ParameterType_1.ParameterType.coordinate, required: true },
123
+ { text: "z", type: ParameterType_1.ParameterType.coordinate, required: true },
124
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
125
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
126
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
127
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
128
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
129
129
  ],
130
130
  },
131
131
  {
132
132
  name: "loot",
133
133
  documentation: "Drops the given loot table into the world",
134
134
  parameters: [
135
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
136
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
137
- { text: "block", type: Types_1.ParameterType.keyword, required: true },
138
- { text: "x", type: Types_1.ParameterType.coordinate, required: true },
139
- { text: "y", type: Types_1.ParameterType.coordinate, required: true },
140
- { text: "z", type: Types_1.ParameterType.coordinate, required: true },
141
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
142
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
143
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
144
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
145
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
135
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
136
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
137
+ { text: "block", type: ParameterType_1.ParameterType.keyword, required: true },
138
+ { text: "x", type: ParameterType_1.ParameterType.coordinate, required: true },
139
+ { text: "y", type: ParameterType_1.ParameterType.coordinate, required: true },
140
+ { text: "z", type: ParameterType_1.ParameterType.coordinate, required: true },
141
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
142
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
143
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
144
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
145
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
146
146
  ],
147
147
  },
148
148
  {
149
149
  name: "loot",
150
150
  documentation: "Drops the given loot table into the world",
151
151
  parameters: [
152
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
153
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
154
- { text: "block", type: Types_1.ParameterType.keyword, required: true },
155
- { text: "x", type: Types_1.ParameterType.coordinate, required: true },
156
- { text: "y", type: Types_1.ParameterType.coordinate, required: true },
157
- { text: "z", type: Types_1.ParameterType.coordinate, required: true },
158
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
159
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
160
- { text: "count", type: Types_1.ParameterType.integer, required: true },
161
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
162
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
163
- { text: "item", type: Types_1.ParameterType.item, required: false },
152
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
153
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
154
+ { text: "block", type: ParameterType_1.ParameterType.keyword, required: true },
155
+ { text: "x", type: ParameterType_1.ParameterType.coordinate, required: true },
156
+ { text: "y", type: ParameterType_1.ParameterType.coordinate, required: true },
157
+ { text: "z", type: ParameterType_1.ParameterType.coordinate, required: true },
158
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
159
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
160
+ { text: "count", type: ParameterType_1.ParameterType.integer, required: true },
161
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
162
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
163
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
164
164
  ],
165
165
  },
166
166
  {
167
167
  name: "loot",
168
168
  documentation: "Drops the given loot table into the world",
169
169
  parameters: [
170
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
171
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
172
- { text: "block", type: Types_1.ParameterType.keyword, required: true },
173
- { text: "x", type: Types_1.ParameterType.coordinate, required: true },
174
- { text: "y", type: Types_1.ParameterType.coordinate, required: true },
175
- { text: "z", type: Types_1.ParameterType.coordinate, required: true },
176
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
177
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
178
- { text: "count", type: Types_1.ParameterType.integer, required: true },
179
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
180
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
181
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
170
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
171
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
172
+ { text: "block", type: ParameterType_1.ParameterType.keyword, required: true },
173
+ { text: "x", type: ParameterType_1.ParameterType.coordinate, required: true },
174
+ { text: "y", type: ParameterType_1.ParameterType.coordinate, required: true },
175
+ { text: "z", type: ParameterType_1.ParameterType.coordinate, required: true },
176
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
177
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
178
+ { text: "count", type: ParameterType_1.ParameterType.integer, required: true },
179
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
180
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
181
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
182
182
  ],
183
183
  },
184
184
  {
185
185
  name: "loot",
186
186
  documentation: "Drops the given loot table into the world",
187
187
  parameters: [
188
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
189
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
190
- { text: "block", type: Types_1.ParameterType.keyword, required: true },
191
- { text: "x", type: Types_1.ParameterType.coordinate, required: true },
192
- { text: "y", type: Types_1.ParameterType.coordinate, required: true },
193
- { text: "z", type: Types_1.ParameterType.coordinate, required: true },
194
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
195
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
196
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
197
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
198
- { text: "item", type: Types_1.ParameterType.item, required: false },
188
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
189
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
190
+ { text: "block", type: ParameterType_1.ParameterType.keyword, required: true },
191
+ { text: "x", type: ParameterType_1.ParameterType.coordinate, required: true },
192
+ { text: "y", type: ParameterType_1.ParameterType.coordinate, required: true },
193
+ { text: "z", type: ParameterType_1.ParameterType.coordinate, required: true },
194
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
195
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
196
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
197
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
198
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
199
199
  ],
200
200
  },
201
201
  {
202
202
  name: "loot",
203
203
  documentation: "Drops the given loot table into the world",
204
204
  parameters: [
205
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
206
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
207
- { text: "block", type: Types_1.ParameterType.keyword, required: true },
208
- { text: "x", type: Types_1.ParameterType.coordinate, required: true },
209
- { text: "y", type: Types_1.ParameterType.coordinate, required: true },
210
- { text: "z", type: Types_1.ParameterType.coordinate, required: true },
211
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
212
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
213
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
214
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
215
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
205
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
206
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
207
+ { text: "block", type: ParameterType_1.ParameterType.keyword, required: true },
208
+ { text: "x", type: ParameterType_1.ParameterType.coordinate, required: true },
209
+ { text: "y", type: ParameterType_1.ParameterType.coordinate, required: true },
210
+ { text: "z", type: ParameterType_1.ParameterType.coordinate, required: true },
211
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
212
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
213
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
214
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
215
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
216
216
  ],
217
217
  },
218
218
  {
219
219
  name: "loot",
220
220
  documentation: "Drops the given loot table into the world",
221
221
  parameters: [
222
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
223
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
224
- { text: "block", type: Types_1.ParameterType.keyword, required: true },
225
- { text: "x", type: Types_1.ParameterType.coordinate, required: true },
226
- { text: "y", type: Types_1.ParameterType.coordinate, required: true },
227
- { text: "z", type: Types_1.ParameterType.coordinate, required: true },
228
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
229
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
230
- { text: "count", type: Types_1.ParameterType.integer, required: true },
231
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
232
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
233
- { text: "item", type: Types_1.ParameterType.item, required: false },
222
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
223
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
224
+ { text: "block", type: ParameterType_1.ParameterType.keyword, required: true },
225
+ { text: "x", type: ParameterType_1.ParameterType.coordinate, required: true },
226
+ { text: "y", type: ParameterType_1.ParameterType.coordinate, required: true },
227
+ { text: "z", type: ParameterType_1.ParameterType.coordinate, required: true },
228
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
229
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
230
+ { text: "count", type: ParameterType_1.ParameterType.integer, required: true },
231
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
232
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
233
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
234
234
  ],
235
235
  },
236
236
  {
237
237
  name: "loot",
238
238
  documentation: "Drops the given loot table into the world",
239
239
  parameters: [
240
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
241
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
242
- { text: "block", type: Types_1.ParameterType.keyword, required: true },
243
- { text: "x", type: Types_1.ParameterType.coordinate, required: true },
244
- { text: "y", type: Types_1.ParameterType.coordinate, required: true },
245
- { text: "z", type: Types_1.ParameterType.coordinate, required: true },
246
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
247
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
248
- { text: "count", type: Types_1.ParameterType.integer, required: true },
249
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
250
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
251
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
240
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
241
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
242
+ { text: "block", type: ParameterType_1.ParameterType.keyword, required: true },
243
+ { text: "x", type: ParameterType_1.ParameterType.coordinate, required: true },
244
+ { text: "y", type: ParameterType_1.ParameterType.coordinate, required: true },
245
+ { text: "z", type: ParameterType_1.ParameterType.coordinate, required: true },
246
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
247
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
248
+ { text: "count", type: ParameterType_1.ParameterType.integer, required: true },
249
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
250
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
251
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
252
252
  ],
253
253
  },
254
254
  /**replace entity */
@@ -256,124 +256,124 @@ exports.loot = [
256
256
  name: "loot",
257
257
  documentation: "Drops the given loot table into the world",
258
258
  parameters: [
259
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
260
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
261
- { text: "entity", type: Types_1.ParameterType.keyword, required: true },
262
- { text: "target", type: Types_1.ParameterType.selector, required: true },
263
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true },
264
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
265
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
266
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
267
- { text: "item", type: Types_1.ParameterType.item, required: false },
259
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
260
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
261
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
262
+ { text: "target", type: ParameterType_1.ParameterType.selector, required: true },
263
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true },
264
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
265
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
266
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
267
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
268
268
  ],
269
269
  },
270
270
  {
271
271
  name: "loot",
272
272
  documentation: "Drops the given loot table into the world",
273
273
  parameters: [
274
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
275
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
276
- { text: "entity", type: Types_1.ParameterType.keyword, required: true },
277
- { text: "target", type: Types_1.ParameterType.selector, required: true },
278
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true },
279
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
280
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
281
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
282
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
274
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
275
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
276
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
277
+ { text: "target", type: ParameterType_1.ParameterType.selector, required: true },
278
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true },
279
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
280
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
281
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
282
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
283
283
  ],
284
284
  },
285
285
  {
286
286
  name: "loot",
287
287
  documentation: "Drops the given loot table into the world",
288
288
  parameters: [
289
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
290
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
291
- { text: "entity", type: Types_1.ParameterType.keyword, required: true },
292
- { text: "target", type: Types_1.ParameterType.selector, required: true },
293
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true },
294
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
295
- { text: "count", type: Types_1.ParameterType.integer, required: true },
296
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
297
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
298
- { text: "item", type: Types_1.ParameterType.item, required: false },
289
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
290
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
291
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
292
+ { text: "target", type: ParameterType_1.ParameterType.selector, required: true },
293
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true },
294
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
295
+ { text: "count", type: ParameterType_1.ParameterType.integer, required: true },
296
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
297
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
298
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
299
299
  ],
300
300
  },
301
301
  {
302
302
  name: "loot",
303
303
  documentation: "Drops the given loot table into the world",
304
304
  parameters: [
305
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
306
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
307
- { text: "entity", type: Types_1.ParameterType.keyword, required: true },
308
- { text: "target", type: Types_1.ParameterType.selector, required: true },
309
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true },
310
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
311
- { text: "count", type: Types_1.ParameterType.integer, required: true },
312
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
313
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
314
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
305
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
306
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
307
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
308
+ { text: "target", type: ParameterType_1.ParameterType.selector, required: true },
309
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true },
310
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
311
+ { text: "count", type: ParameterType_1.ParameterType.integer, required: true },
312
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
313
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
314
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
315
315
  ],
316
316
  },
317
317
  {
318
318
  name: "loot",
319
319
  documentation: "Drops the given loot table into the world",
320
320
  parameters: [
321
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
322
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
323
- { text: "entity", type: Types_1.ParameterType.keyword, required: true },
324
- { text: "target", type: Types_1.ParameterType.selector, required: true },
325
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true },
326
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
327
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
328
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
329
- { text: "item", type: Types_1.ParameterType.item, required: false },
321
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
322
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
323
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
324
+ { text: "target", type: ParameterType_1.ParameterType.selector, required: true },
325
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true },
326
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
327
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
328
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
329
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
330
330
  ],
331
331
  },
332
332
  {
333
333
  name: "loot",
334
334
  documentation: "Drops the given loot table into the world",
335
335
  parameters: [
336
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
337
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
338
- { text: "entity", type: Types_1.ParameterType.keyword, required: true },
339
- { text: "target", type: Types_1.ParameterType.selector, required: true },
340
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true },
341
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
342
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
343
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
344
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
336
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
337
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
338
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
339
+ { text: "target", type: ParameterType_1.ParameterType.selector, required: true },
340
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true },
341
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
342
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
343
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
344
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
345
345
  ],
346
346
  },
347
347
  {
348
348
  name: "loot",
349
349
  documentation: "Drops the given loot table into the world",
350
350
  parameters: [
351
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
352
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
353
- { text: "entity", type: Types_1.ParameterType.keyword, required: true },
354
- { text: "target", type: Types_1.ParameterType.selector, required: true },
355
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true },
356
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
357
- { text: "count", type: Types_1.ParameterType.integer, required: true },
358
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
359
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
360
- { text: "item", type: Types_1.ParameterType.item, required: false },
351
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
352
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
353
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
354
+ { text: "target", type: ParameterType_1.ParameterType.selector, required: true },
355
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true },
356
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
357
+ { text: "count", type: ParameterType_1.ParameterType.integer, required: true },
358
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
359
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
360
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
361
361
  ],
362
362
  },
363
363
  {
364
364
  name: "loot",
365
365
  documentation: "Drops the given loot table into the world",
366
366
  parameters: [
367
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
368
- { text: "replace", type: Types_1.ParameterType.keyword, required: true },
369
- { text: "entity", type: Types_1.ParameterType.keyword, required: true },
370
- { text: "target", type: Types_1.ParameterType.selector, required: true },
371
- { text: "slot type", type: Types_1.ParameterType.slotType, required: true },
372
- { text: "slot id", type: Types_1.ParameterType.slotID, required: true },
373
- { text: "count", type: Types_1.ParameterType.integer, required: true },
374
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
375
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
376
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
367
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
368
+ { text: "replace", type: ParameterType_1.ParameterType.keyword, required: true },
369
+ { text: "entity", type: ParameterType_1.ParameterType.keyword, required: true },
370
+ { text: "target", type: ParameterType_1.ParameterType.selector, required: true },
371
+ { text: "slot type", type: ParameterType_1.ParameterType.slotType, required: true },
372
+ { text: "slot id", type: ParameterType_1.ParameterType.slotID, required: true },
373
+ { text: "count", type: ParameterType_1.ParameterType.integer, required: true },
374
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
375
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
376
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
377
377
  ],
378
378
  },
379
379
  /** spawn */
@@ -381,56 +381,56 @@ exports.loot = [
381
381
  name: "loot",
382
382
  documentation: "Drops the given loot table into the world",
383
383
  parameters: [
384
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
385
- { text: "spawn", type: Types_1.ParameterType.keyword, required: true },
386
- { text: "position x", type: Types_1.ParameterType.coordinate, required: true },
387
- { text: "position y", type: Types_1.ParameterType.coordinate, required: true },
388
- { text: "position z", type: Types_1.ParameterType.coordinate, required: true },
389
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
390
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
391
- { text: "item", type: Types_1.ParameterType.item, required: false },
384
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
385
+ { text: "spawn", type: ParameterType_1.ParameterType.keyword, required: true },
386
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
387
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
388
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
389
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
390
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
391
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
392
392
  ],
393
393
  },
394
394
  {
395
395
  name: "loot",
396
396
  documentation: "Drops the given loot table into the world",
397
397
  parameters: [
398
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
399
- { text: "spawn", type: Types_1.ParameterType.keyword, required: true },
400
- { text: "position x", type: Types_1.ParameterType.coordinate, required: true },
401
- { text: "position y", type: Types_1.ParameterType.coordinate, required: true },
402
- { text: "position z", type: Types_1.ParameterType.coordinate, required: true },
403
- { text: "kill", type: Types_1.ParameterType.keyword, required: true },
404
- { text: "entity target", type: Types_1.ParameterType.selector, required: true },
405
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
398
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
399
+ { text: "spawn", type: ParameterType_1.ParameterType.keyword, required: true },
400
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
401
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
402
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
403
+ { text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
404
+ { text: "entity target", type: ParameterType_1.ParameterType.selector, required: true },
405
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
406
406
  ],
407
407
  },
408
408
  {
409
409
  name: "loot",
410
410
  documentation: "Drops the given loot table into the world",
411
411
  parameters: [
412
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
413
- { text: "spawn", type: Types_1.ParameterType.keyword, required: true },
414
- { text: "position x", type: Types_1.ParameterType.coordinate, required: true },
415
- { text: "position y", type: Types_1.ParameterType.coordinate, required: true },
416
- { text: "position z", type: Types_1.ParameterType.coordinate, required: true },
417
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
418
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
419
- { text: "item", type: Types_1.ParameterType.item, required: false },
412
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
413
+ { text: "spawn", type: ParameterType_1.ParameterType.keyword, required: true },
414
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
415
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
416
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
417
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
418
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
419
+ { text: "item", type: ParameterType_1.ParameterType.item, required: false },
420
420
  ],
421
421
  },
422
422
  {
423
423
  name: "loot",
424
424
  documentation: "Drops the given loot table into the world",
425
425
  parameters: [
426
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
427
- { text: "spawn", type: Types_1.ParameterType.keyword, required: true },
428
- { text: "position x", type: Types_1.ParameterType.coordinate, required: true },
429
- { text: "position y", type: Types_1.ParameterType.coordinate, required: true },
430
- { text: "position z", type: Types_1.ParameterType.coordinate, required: true },
431
- { text: "loot", type: Types_1.ParameterType.keyword, required: true },
432
- { text: "loot table", type: Types_1.ParameterType.lootTable, required: true },
433
- { text: "tool", type: Types_1.ParameterType.handType, required: false },
426
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
427
+ { text: "spawn", type: ParameterType_1.ParameterType.keyword, required: true },
428
+ { text: "position x", type: ParameterType_1.ParameterType.coordinate, required: true },
429
+ { text: "position y", type: ParameterType_1.ParameterType.coordinate, required: true },
430
+ { text: "position z", type: ParameterType_1.ParameterType.coordinate, required: true },
431
+ { text: "loot", type: ParameterType_1.ParameterType.keyword, required: true },
432
+ { text: "loot table", type: ParameterType_1.ParameterType.lootTable, required: true },
433
+ { text: "tool", type: ParameterType_1.ParameterType.handType, required: false },
434
434
  ],
435
435
  },
436
436
  ];