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.
- package/lib/src/Lib/Data/CommandData.d.ts +1 -3
- package/lib/src/Lib/Data/CommandData.js +4 -7
- package/lib/src/Lib/Data/CommandData.js.map +1 -1
- package/lib/src/Lib/Data/{Vanilla.d.ts → Commands.d.ts} +4 -0
- package/lib/src/Lib/Data/{Vanilla.js → Commands.js} +17 -3
- package/lib/src/Lib/Data/Commands.js.map +1 -0
- package/lib/src/Lib/Data/Edu/ability.d.ts +3 -0
- package/lib/src/Lib/Data/Edu/ability.js +51 -0
- package/lib/src/Lib/Data/Edu/ability.js.map +1 -0
- package/lib/src/Lib/Data/Edu/classroommode.d.ts +3 -0
- package/lib/src/Lib/Data/Edu/classroommode.js +13 -0
- package/lib/src/Lib/Data/Edu/classroommode.js.map +1 -0
- package/lib/src/Lib/Data/Edu/code.d.ts +3 -0
- package/lib/src/Lib/Data/Edu/code.js +13 -0
- package/lib/src/Lib/Data/Edu/code.js.map +1 -0
- package/lib/src/Lib/Data/Edu/gamerule.d.ts +3 -0
- package/lib/src/Lib/Data/Edu/gamerule.js +35 -0
- package/lib/src/Lib/Data/Edu/gamerule.js.map +1 -0
- package/lib/src/Lib/Data/Edu/immutableworld.d.ts +3 -0
- package/lib/src/Lib/Data/Edu/immutableworld.js +16 -0
- package/lib/src/Lib/Data/Edu/immutableworld.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/alwaysday.js +3 -3
- package/lib/src/Lib/Data/Vanilla/alwaysday.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/camerashake.js +10 -10
- package/lib/src/Lib/Data/Vanilla/camerashake.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/clear.js +6 -6
- package/lib/src/Lib/Data/Vanilla/clear.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/clearspawnpoint.js +3 -3
- package/lib/src/Lib/Data/Vanilla/clearspawnpoint.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/clone.js +41 -41
- package/lib/src/Lib/Data/Vanilla/clone.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/damage.js +11 -11
- package/lib/src/Lib/Data/Vanilla/damage.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/daylock.js +3 -3
- package/lib/src/Lib/Data/Vanilla/daylock.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/deop.js +3 -3
- package/lib/src/Lib/Data/Vanilla/deop.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/dialogue.js +11 -11
- package/lib/src/Lib/Data/Vanilla/dialogue.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/difficulty.js +3 -3
- package/lib/src/Lib/Data/Vanilla/difficulty.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/effect.js +10 -10
- package/lib/src/Lib/Data/Vanilla/effect.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/enchant.js +9 -9
- package/lib/src/Lib/Data/Vanilla/enchant.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/event.js +5 -5
- package/lib/src/Lib/Data/Vanilla/event.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/execute.js +19 -19
- package/lib/src/Lib/Data/Vanilla/execute.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/fill.js +47 -47
- package/lib/src/Lib/Data/Vanilla/fill.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/fog.js +14 -14
- package/lib/src/Lib/Data/Vanilla/fog.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/function.js +3 -3
- package/lib/src/Lib/Data/Vanilla/function.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/gamemode.js +4 -4
- package/lib/src/Lib/Data/Vanilla/gamemode.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/gamerule.js +91 -91
- package/lib/src/Lib/Data/Vanilla/gamerule.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/give.js +7 -7
- package/lib/src/Lib/Data/Vanilla/give.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/kick.js +3 -3
- package/lib/src/Lib/Data/Vanilla/kick.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/kill.js +3 -3
- package/lib/src/Lib/Data/Vanilla/kill.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/locate.js +3 -3
- package/lib/src/Lib/Data/Vanilla/locate.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/loot.js +257 -257
- package/lib/src/Lib/Data/Vanilla/loot.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/me.js +3 -3
- package/lib/src/Lib/Data/Vanilla/me.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/msg.js +4 -4
- package/lib/src/Lib/Data/Vanilla/msg.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/music.js +19 -19
- package/lib/src/Lib/Data/Vanilla/music.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/op.js +3 -3
- package/lib/src/Lib/Data/Vanilla/op.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/particle.js +6 -6
- package/lib/src/Lib/Data/Vanilla/particle.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/playanimation.js +7 -7
- package/lib/src/Lib/Data/Vanilla/playanimation.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/playsound.js +10 -10
- package/lib/src/Lib/Data/Vanilla/playsound.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/replaceitem.js +43 -43
- package/lib/src/Lib/Data/Vanilla/replaceitem.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/ride.js +26 -26
- package/lib/src/Lib/Data/Vanilla/ride.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/say.js +3 -3
- package/lib/src/Lib/Data/Vanilla/say.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/schedule.js +26 -26
- package/lib/src/Lib/Data/Vanilla/schedule.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/scoreboard.js +92 -92
- package/lib/src/Lib/Data/Vanilla/scoreboard.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/setblock.js +15 -15
- package/lib/src/Lib/Data/Vanilla/setblock.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/setmaxplayers.js +3 -3
- package/lib/src/Lib/Data/Vanilla/setmaxplayers.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/setworldspawn.js +5 -5
- package/lib/src/Lib/Data/Vanilla/setworldspawn.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/spawnpoint.js +6 -6
- package/lib/src/Lib/Data/Vanilla/spawnpoint.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/spreadplayers.js +7 -7
- package/lib/src/Lib/Data/Vanilla/spreadplayers.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/stopsound.js +4 -4
- package/lib/src/Lib/Data/Vanilla/stopsound.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/structure.js +54 -54
- package/lib/src/Lib/Data/Vanilla/structure.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/summon.js +14 -14
- package/lib/src/Lib/Data/Vanilla/summon.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/tag.js +12 -12
- package/lib/src/Lib/Data/Vanilla/tag.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/teleport.js +106 -106
- package/lib/src/Lib/Data/Vanilla/teleport.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/tell.js +4 -4
- package/lib/src/Lib/Data/Vanilla/tell.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/tellraw.js +4 -4
- package/lib/src/Lib/Data/Vanilla/tellraw.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/testfor.js +3 -3
- package/lib/src/Lib/Data/Vanilla/testfor.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/testforblock.js +39 -39
- package/lib/src/Lib/Data/Vanilla/testforblock.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/tickingarea.js +31 -31
- package/lib/src/Lib/Data/Vanilla/tickingarea.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/time.js +19 -19
- package/lib/src/Lib/Data/Vanilla/time.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/title.js +25 -25
- package/lib/src/Lib/Data/Vanilla/title.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/titleraw.js +25 -25
- package/lib/src/Lib/Data/Vanilla/titleraw.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/toggledownfall.js +2 -2
- package/lib/src/Lib/Data/Vanilla/toggledownfall.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/w.js +4 -4
- package/lib/src/Lib/Data/Vanilla/w.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/weather.js +10 -10
- package/lib/src/Lib/Data/Vanilla/weather.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/xp.js +7 -7
- package/lib/src/Lib/Data/Vanilla/xp.js.map +1 -1
- package/lib/src/Lib/Data/index.d.ts +0 -2
- package/lib/src/Lib/Data/index.js +0 -2
- package/lib/src/Lib/Data/index.js.map +1 -1
- package/lib/src/Lib/Types/Command/Command.d.ts +6 -6
- package/lib/src/Lib/Types/Command/Command.js +9 -9
- package/lib/src/Lib/Types/Command/Command.js.map +1 -1
- package/lib/src/Lib/Types/Command/Functions.d.ts +4 -4
- package/lib/src/Lib/Types/Command/Functions.js +11 -12
- package/lib/src/Lib/Types/Command/Functions.js.map +1 -1
- package/lib/src/Lib/Types/Command/Parameter.d.ts +1 -1
- package/lib/src/Lib/Types/Command/Parameter.js +1 -1
- package/lib/src/Lib/Types/Command/Parse.js +17 -17
- package/lib/src/Lib/Types/ParameterType.d.ts +2 -2
- package/lib/src/Lib/Types/ParameterType.js +2 -2
- package/lib/src/Lib/Types/ParameterType.js.map +1 -1
- package/package.json +1 -1
- package/lib/src/Lib/Data/Edu.d.ts +0 -2
- package/lib/src/Lib/Data/Edu.js +0 -110
- package/lib/src/Lib/Data/Edu.js.map +0 -1
- package/lib/src/Lib/Data/Vanilla/index.d.ts +0 -58
- package/lib/src/Lib/Data/Vanilla/index.js +0 -76
- package/lib/src/Lib/Data/Vanilla/index.js.map +0 -1
- 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
|
|
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:
|
|
13
|
-
{ text: "give", type:
|
|
14
|
-
{ text: "players", type:
|
|
15
|
-
{ text: "kill", type:
|
|
16
|
-
{ text: "entity target", type:
|
|
17
|
-
{ text: "item", type:
|
|
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:
|
|
25
|
-
{ text: "give", type:
|
|
26
|
-
{ text: "players", type:
|
|
27
|
-
{ text: "kill", type:
|
|
28
|
-
{ text: "entity target", type:
|
|
29
|
-
{ text: "tool", type:
|
|
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:
|
|
37
|
-
{ text: "give", type:
|
|
38
|
-
{ text: "players", type:
|
|
39
|
-
{ text: "loot", type:
|
|
40
|
-
{ text: "loot table", type:
|
|
41
|
-
{ text: "item", type:
|
|
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:
|
|
49
|
-
{ text: "give", type:
|
|
50
|
-
{ text: "players", type:
|
|
51
|
-
{ text: "loot", type:
|
|
52
|
-
{ text: "loot table", type:
|
|
53
|
-
{ text: "tool", type:
|
|
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:
|
|
62
|
-
{ text: "insert", type:
|
|
63
|
-
{ text: "position x", type:
|
|
64
|
-
{ text: "position y", type:
|
|
65
|
-
{ text: "position z", type:
|
|
66
|
-
{ text: "kill", type:
|
|
67
|
-
{ text: "entity target", type:
|
|
68
|
-
{ text: "item", type:
|
|
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:
|
|
76
|
-
{ text: "insert", type:
|
|
77
|
-
{ text: "position x", type:
|
|
78
|
-
{ text: "position y", type:
|
|
79
|
-
{ text: "position z", type:
|
|
80
|
-
{ text: "kill", type:
|
|
81
|
-
{ text: "entity target", type:
|
|
82
|
-
{ text: "tool", type:
|
|
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:
|
|
90
|
-
{ text: "insert", type:
|
|
91
|
-
{ text: "position x", type:
|
|
92
|
-
{ text: "position y", type:
|
|
93
|
-
{ text: "position z", type:
|
|
94
|
-
{ text: "loot", type:
|
|
95
|
-
{ text: "loot table", type:
|
|
96
|
-
{ text: "item", type:
|
|
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:
|
|
104
|
-
{ text: "insert", type:
|
|
105
|
-
{ text: "position x", type:
|
|
106
|
-
{ text: "position y", type:
|
|
107
|
-
{ text: "position z", type:
|
|
108
|
-
{ text: "loot", type:
|
|
109
|
-
{ text: "loot table", type:
|
|
110
|
-
{ text: "tool", type:
|
|
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:
|
|
119
|
-
{ text: "replace", type:
|
|
120
|
-
{ text: "block", type:
|
|
121
|
-
{ text: "x", type:
|
|
122
|
-
{ text: "y", type:
|
|
123
|
-
{ text: "z", type:
|
|
124
|
-
{ text: "slot type", type:
|
|
125
|
-
{ text: "slot id", type:
|
|
126
|
-
{ text: "kill", type:
|
|
127
|
-
{ text: "entity target", type:
|
|
128
|
-
{ text: "item", type:
|
|
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:
|
|
136
|
-
{ text: "replace", type:
|
|
137
|
-
{ text: "block", type:
|
|
138
|
-
{ text: "x", type:
|
|
139
|
-
{ text: "y", type:
|
|
140
|
-
{ text: "z", type:
|
|
141
|
-
{ text: "slot type", type:
|
|
142
|
-
{ text: "slot id", type:
|
|
143
|
-
{ text: "kill", type:
|
|
144
|
-
{ text: "entity target", type:
|
|
145
|
-
{ text: "tool", type:
|
|
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:
|
|
153
|
-
{ text: "replace", type:
|
|
154
|
-
{ text: "block", type:
|
|
155
|
-
{ text: "x", type:
|
|
156
|
-
{ text: "y", type:
|
|
157
|
-
{ text: "z", type:
|
|
158
|
-
{ text: "slot type", type:
|
|
159
|
-
{ text: "slot id", type:
|
|
160
|
-
{ text: "count", type:
|
|
161
|
-
{ text: "kill", type:
|
|
162
|
-
{ text: "entity target", type:
|
|
163
|
-
{ text: "item", type:
|
|
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:
|
|
171
|
-
{ text: "replace", type:
|
|
172
|
-
{ text: "block", type:
|
|
173
|
-
{ text: "x", type:
|
|
174
|
-
{ text: "y", type:
|
|
175
|
-
{ text: "z", type:
|
|
176
|
-
{ text: "slot type", type:
|
|
177
|
-
{ text: "slot id", type:
|
|
178
|
-
{ text: "count", type:
|
|
179
|
-
{ text: "kill", type:
|
|
180
|
-
{ text: "entity target", type:
|
|
181
|
-
{ text: "tool", type:
|
|
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:
|
|
189
|
-
{ text: "replace", type:
|
|
190
|
-
{ text: "block", type:
|
|
191
|
-
{ text: "x", type:
|
|
192
|
-
{ text: "y", type:
|
|
193
|
-
{ text: "z", type:
|
|
194
|
-
{ text: "slot type", type:
|
|
195
|
-
{ text: "slot id", type:
|
|
196
|
-
{ text: "loot", type:
|
|
197
|
-
{ text: "loot table", type:
|
|
198
|
-
{ text: "item", type:
|
|
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:
|
|
206
|
-
{ text: "replace", type:
|
|
207
|
-
{ text: "block", type:
|
|
208
|
-
{ text: "x", type:
|
|
209
|
-
{ text: "y", type:
|
|
210
|
-
{ text: "z", type:
|
|
211
|
-
{ text: "slot type", type:
|
|
212
|
-
{ text: "slot id", type:
|
|
213
|
-
{ text: "loot", type:
|
|
214
|
-
{ text: "loot table", type:
|
|
215
|
-
{ text: "tool", type:
|
|
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:
|
|
223
|
-
{ text: "replace", type:
|
|
224
|
-
{ text: "block", type:
|
|
225
|
-
{ text: "x", type:
|
|
226
|
-
{ text: "y", type:
|
|
227
|
-
{ text: "z", type:
|
|
228
|
-
{ text: "slot type", type:
|
|
229
|
-
{ text: "slot id", type:
|
|
230
|
-
{ text: "count", type:
|
|
231
|
-
{ text: "loot", type:
|
|
232
|
-
{ text: "loot table", type:
|
|
233
|
-
{ text: "item", type:
|
|
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:
|
|
241
|
-
{ text: "replace", type:
|
|
242
|
-
{ text: "block", type:
|
|
243
|
-
{ text: "x", type:
|
|
244
|
-
{ text: "y", type:
|
|
245
|
-
{ text: "z", type:
|
|
246
|
-
{ text: "slot type", type:
|
|
247
|
-
{ text: "slot id", type:
|
|
248
|
-
{ text: "count", type:
|
|
249
|
-
{ text: "loot", type:
|
|
250
|
-
{ text: "loot table", type:
|
|
251
|
-
{ text: "tool", type:
|
|
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:
|
|
260
|
-
{ text: "replace", type:
|
|
261
|
-
{ text: "entity", type:
|
|
262
|
-
{ text: "target", type:
|
|
263
|
-
{ text: "slot type", type:
|
|
264
|
-
{ text: "slot id", type:
|
|
265
|
-
{ text: "kill", type:
|
|
266
|
-
{ text: "entity target", type:
|
|
267
|
-
{ text: "item", type:
|
|
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:
|
|
275
|
-
{ text: "replace", type:
|
|
276
|
-
{ text: "entity", type:
|
|
277
|
-
{ text: "target", type:
|
|
278
|
-
{ text: "slot type", type:
|
|
279
|
-
{ text: "slot id", type:
|
|
280
|
-
{ text: "kill", type:
|
|
281
|
-
{ text: "entity target", type:
|
|
282
|
-
{ text: "tool", type:
|
|
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:
|
|
290
|
-
{ text: "replace", type:
|
|
291
|
-
{ text: "entity", type:
|
|
292
|
-
{ text: "target", type:
|
|
293
|
-
{ text: "slot type", type:
|
|
294
|
-
{ text: "slot id", type:
|
|
295
|
-
{ text: "count", type:
|
|
296
|
-
{ text: "kill", type:
|
|
297
|
-
{ text: "entity target", type:
|
|
298
|
-
{ text: "item", type:
|
|
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:
|
|
306
|
-
{ text: "replace", type:
|
|
307
|
-
{ text: "entity", type:
|
|
308
|
-
{ text: "target", type:
|
|
309
|
-
{ text: "slot type", type:
|
|
310
|
-
{ text: "slot id", type:
|
|
311
|
-
{ text: "count", type:
|
|
312
|
-
{ text: "kill", type:
|
|
313
|
-
{ text: "entity target", type:
|
|
314
|
-
{ text: "tool", type:
|
|
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:
|
|
322
|
-
{ text: "replace", type:
|
|
323
|
-
{ text: "entity", type:
|
|
324
|
-
{ text: "target", type:
|
|
325
|
-
{ text: "slot type", type:
|
|
326
|
-
{ text: "slot id", type:
|
|
327
|
-
{ text: "loot", type:
|
|
328
|
-
{ text: "loot table", type:
|
|
329
|
-
{ text: "item", type:
|
|
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:
|
|
337
|
-
{ text: "replace", type:
|
|
338
|
-
{ text: "entity", type:
|
|
339
|
-
{ text: "target", type:
|
|
340
|
-
{ text: "slot type", type:
|
|
341
|
-
{ text: "slot id", type:
|
|
342
|
-
{ text: "loot", type:
|
|
343
|
-
{ text: "loot table", type:
|
|
344
|
-
{ text: "tool", type:
|
|
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:
|
|
352
|
-
{ text: "replace", type:
|
|
353
|
-
{ text: "entity", type:
|
|
354
|
-
{ text: "target", type:
|
|
355
|
-
{ text: "slot type", type:
|
|
356
|
-
{ text: "slot id", type:
|
|
357
|
-
{ text: "count", type:
|
|
358
|
-
{ text: "loot", type:
|
|
359
|
-
{ text: "loot table", type:
|
|
360
|
-
{ text: "item", type:
|
|
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:
|
|
368
|
-
{ text: "replace", type:
|
|
369
|
-
{ text: "entity", type:
|
|
370
|
-
{ text: "target", type:
|
|
371
|
-
{ text: "slot type", type:
|
|
372
|
-
{ text: "slot id", type:
|
|
373
|
-
{ text: "count", type:
|
|
374
|
-
{ text: "loot", type:
|
|
375
|
-
{ text: "loot table", type:
|
|
376
|
-
{ text: "tool", type:
|
|
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:
|
|
385
|
-
{ text: "spawn", type:
|
|
386
|
-
{ text: "position x", type:
|
|
387
|
-
{ text: "position y", type:
|
|
388
|
-
{ text: "position z", type:
|
|
389
|
-
{ text: "kill", type:
|
|
390
|
-
{ text: "entity target", type:
|
|
391
|
-
{ text: "item", type:
|
|
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:
|
|
399
|
-
{ text: "spawn", type:
|
|
400
|
-
{ text: "position x", type:
|
|
401
|
-
{ text: "position y", type:
|
|
402
|
-
{ text: "position z", type:
|
|
403
|
-
{ text: "kill", type:
|
|
404
|
-
{ text: "entity target", type:
|
|
405
|
-
{ text: "tool", type:
|
|
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:
|
|
413
|
-
{ text: "spawn", type:
|
|
414
|
-
{ text: "position x", type:
|
|
415
|
-
{ text: "position y", type:
|
|
416
|
-
{ text: "position z", type:
|
|
417
|
-
{ text: "loot", type:
|
|
418
|
-
{ text: "loot table", type:
|
|
419
|
-
{ text: "item", type:
|
|
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:
|
|
427
|
-
{ text: "spawn", type:
|
|
428
|
-
{ text: "position x", type:
|
|
429
|
-
{ text: "position y", type:
|
|
430
|
-
{ text: "position z", type:
|
|
431
|
-
{ text: "loot", type:
|
|
432
|
-
{ text: "loot table", type:
|
|
433
|
-
{ text: "tool", type:
|
|
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
|
];
|