bc-minecraft-bedrock-command 1.21.60 → 1.21.61
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/command-data.js +23 -7
- package/lib/src/lib/data/command-data.js.map +1 -1
- package/lib/src/lib/data/command-info.d.ts +2 -0
- package/lib/src/lib/data/edu/ability.js +5 -0
- package/lib/src/lib/data/edu/ability.js.map +1 -1
- package/lib/src/lib/data/edu/classroommode.js +1 -0
- package/lib/src/lib/data/edu/classroommode.js.map +1 -1
- package/lib/src/lib/data/edu/code.js +1 -0
- package/lib/src/lib/data/edu/code.js.map +1 -1
- package/lib/src/lib/data/edu/gamerule.js +3 -0
- package/lib/src/lib/data/edu/gamerule.js.map +1 -1
- package/lib/src/lib/data/edu/immutableworld.js +1 -0
- package/lib/src/lib/data/edu/immutableworld.js.map +1 -1
- package/lib/src/lib/data/vanilla/aimassist.js +13 -23
- package/lib/src/lib/data/vanilla/aimassist.js.map +1 -1
- package/lib/src/lib/data/vanilla/allowlist.d.ts +3 -0
- package/lib/src/lib/data/vanilla/allowlist.js +68 -0
- package/lib/src/lib/data/vanilla/allowlist.js.map +1 -0
- package/lib/src/lib/data/vanilla/alwaysday.js +1 -0
- package/lib/src/lib/data/vanilla/alwaysday.js.map +1 -1
- package/lib/src/lib/data/vanilla/camera.d.ts +1 -0
- package/lib/src/lib/data/vanilla/camera.js +5062 -23
- package/lib/src/lib/data/vanilla/camera.js.map +1 -1
- package/lib/src/lib/data/vanilla/camerashake.js +9 -31
- package/lib/src/lib/data/vanilla/camerashake.js.map +1 -1
- package/lib/src/lib/data/vanilla/changesetting.d.ts +3 -0
- package/lib/src/lib/data/vanilla/changesetting.js +38 -0
- package/lib/src/lib/data/vanilla/changesetting.js.map +1 -0
- package/lib/src/lib/data/vanilla/clear.js +4 -8
- package/lib/src/lib/data/vanilla/clear.js.map +1 -1
- package/lib/src/lib/data/vanilla/clearspawnpoint.js +4 -12
- package/lib/src/lib/data/vanilla/clearspawnpoint.js.map +1 -1
- package/lib/src/lib/data/vanilla/clone.js +16 -42
- package/lib/src/lib/data/vanilla/clone.js.map +1 -1
- package/lib/src/lib/data/vanilla/damage.js +4 -2
- package/lib/src/lib/data/vanilla/damage.js.map +1 -1
- package/lib/src/lib/data/vanilla/daylock.js +1 -0
- package/lib/src/lib/data/vanilla/daylock.js.map +1 -1
- package/lib/src/lib/data/vanilla/deop.js +2 -1
- package/lib/src/lib/data/vanilla/deop.js.map +1 -1
- package/lib/src/lib/data/vanilla/dialogue.js +12 -10
- package/lib/src/lib/data/vanilla/dialogue.js.map +1 -1
- package/lib/src/lib/data/vanilla/difficulty.js +11 -1
- package/lib/src/lib/data/vanilla/difficulty.js.map +1 -1
- package/lib/src/lib/data/vanilla/effect.js +14 -19
- package/lib/src/lib/data/vanilla/effect.js.map +1 -1
- package/lib/src/lib/data/vanilla/enchant.js +8 -16
- package/lib/src/lib/data/vanilla/enchant.js.map +1 -1
- package/lib/src/lib/data/vanilla/event.js +3 -2
- package/lib/src/lib/data/vanilla/event.js.map +1 -1
- package/lib/src/lib/data/vanilla/execute/subcommands.js +26 -0
- package/lib/src/lib/data/vanilla/execute/subcommands.js.map +1 -1
- package/lib/src/lib/data/vanilla/execute.js +3 -0
- package/lib/src/lib/data/vanilla/execute.js.map +1 -1
- package/lib/src/lib/data/vanilla/fill.js +21 -37
- package/lib/src/lib/data/vanilla/fill.js.map +1 -1
- package/lib/src/lib/data/vanilla/fog.js +12 -21
- package/lib/src/lib/data/vanilla/fog.js.map +1 -1
- package/lib/src/lib/data/vanilla/function.js +3 -2
- package/lib/src/lib/data/vanilla/function.js.map +1 -1
- package/lib/src/lib/data/vanilla/gamemode.js +13 -7
- package/lib/src/lib/data/vanilla/gamemode.js.map +1 -1
- package/lib/src/lib/data/vanilla/gamerule.js +137 -81
- package/lib/src/lib/data/vanilla/gamerule.js.map +1 -1
- package/lib/src/lib/data/vanilla/gametest.d.ts +3 -0
- package/lib/src/lib/data/vanilla/gametest.js +112 -0
- package/lib/src/lib/data/vanilla/gametest.js.map +1 -0
- package/lib/src/lib/data/vanilla/give.js +3 -7
- package/lib/src/lib/data/vanilla/give.js.map +1 -1
- package/lib/src/lib/data/vanilla/help.d.ts +3 -0
- package/lib/src/lib/data/vanilla/help.js +44 -0
- package/lib/src/lib/data/vanilla/help.js.map +1 -0
- package/lib/src/lib/data/vanilla/hud.js +301 -3
- package/lib/src/lib/data/vanilla/hud.js.map +1 -1
- package/lib/src/lib/data/vanilla/inputpermission.js +32 -6
- package/lib/src/lib/data/vanilla/inputpermission.js.map +1 -1
- package/lib/src/lib/data/vanilla/kick.js +4 -7
- package/lib/src/lib/data/vanilla/kick.js.map +1 -1
- package/lib/src/lib/data/vanilla/kill.js +3 -2
- package/lib/src/lib/data/vanilla/kill.js.map +1 -1
- package/lib/src/lib/data/vanilla/locate.js +15 -2
- package/lib/src/lib/data/vanilla/locate.js.map +1 -1
- package/lib/src/lib/data/vanilla/loot.js +627 -237
- package/lib/src/lib/data/vanilla/loot.js.map +1 -1
- package/lib/src/lib/data/vanilla/me.js +2 -1
- package/lib/src/lib/data/vanilla/me.js.map +1 -1
- package/lib/src/lib/data/vanilla/mobevent.d.ts +3 -0
- package/lib/src/lib/data/vanilla/mobevent.js +18 -0
- package/lib/src/lib/data/vanilla/mobevent.js.map +1 -0
- package/lib/src/lib/data/vanilla/msg.js +3 -2
- package/lib/src/lib/data/vanilla/msg.js.map +1 -1
- package/lib/src/lib/data/vanilla/music.js +16 -50
- package/lib/src/lib/data/vanilla/music.js.map +1 -1
- package/lib/src/lib/data/vanilla/op.js +2 -6
- package/lib/src/lib/data/vanilla/op.js.map +1 -1
- package/lib/src/lib/data/vanilla/particle.js +2 -1
- package/lib/src/lib/data/vanilla/particle.js.map +1 -1
- package/lib/src/lib/data/vanilla/permission.d.ts +3 -0
- package/lib/src/lib/data/vanilla/permission.js +26 -0
- package/lib/src/lib/data/vanilla/permission.js.map +1 -0
- package/lib/src/lib/data/vanilla/place.js +19 -15
- package/lib/src/lib/data/vanilla/place.js.map +1 -1
- package/lib/src/lib/data/vanilla/playanimation.js +6 -12
- package/lib/src/lib/data/vanilla/playanimation.js.map +1 -1
- package/lib/src/lib/data/vanilla/playsound.js +2 -6
- package/lib/src/lib/data/vanilla/playsound.js.map +1 -1
- package/lib/src/lib/data/vanilla/recipe.js +11 -9
- package/lib/src/lib/data/vanilla/recipe.js.map +1 -1
- package/lib/src/lib/data/vanilla/replaceitem.js +18 -26
- package/lib/src/lib/data/vanilla/replaceitem.js.map +1 -1
- package/lib/src/lib/data/vanilla/ride.js +88 -24
- package/lib/src/lib/data/vanilla/ride.js.map +1 -1
- package/lib/src/lib/data/vanilla/say.js +2 -1
- package/lib/src/lib/data/vanilla/say.js.map +1 -1
- package/lib/src/lib/data/vanilla/schedule.js +125 -45
- package/lib/src/lib/data/vanilla/schedule.js.map +1 -1
- package/lib/src/lib/data/vanilla/scoreboard.js +55 -89
- package/lib/src/lib/data/vanilla/scoreboard.js.map +1 -1
- package/lib/src/lib/data/vanilla/script.d.ts +3 -0
- package/lib/src/lib/data/vanilla/script.js +81 -0
- package/lib/src/lib/data/vanilla/script.js.map +1 -0
- package/lib/src/lib/data/vanilla/scriptevent.js +3 -2
- package/lib/src/lib/data/vanilla/scriptevent.js.map +1 -1
- package/lib/src/lib/data/vanilla/setblock.js +72 -12
- package/lib/src/lib/data/vanilla/setblock.js.map +1 -1
- package/lib/src/lib/data/vanilla/setmaxplayers.js +3 -7
- package/lib/src/lib/data/vanilla/setmaxplayers.js.map +1 -1
- package/lib/src/lib/data/vanilla/setworldspawn.js +5 -4
- package/lib/src/lib/data/vanilla/setworldspawn.js.map +1 -1
- package/lib/src/lib/data/vanilla/spawnpoint.js +6 -10
- package/lib/src/lib/data/vanilla/spawnpoint.js.map +1 -1
- package/lib/src/lib/data/vanilla/spreadplayers.js +5 -3
- package/lib/src/lib/data/vanilla/spreadplayers.js.map +1 -1
- package/lib/src/lib/data/vanilla/stopsound.js +2 -6
- package/lib/src/lib/data/vanilla/stopsound.js.map +1 -1
- package/lib/src/lib/data/vanilla/structure.js +40 -74
- package/lib/src/lib/data/vanilla/structure.js.map +1 -1
- package/lib/src/lib/data/vanilla/summon.js +28 -26
- package/lib/src/lib/data/vanilla/summon.js.map +1 -1
- package/lib/src/lib/data/vanilla/tag.js +6 -8
- package/lib/src/lib/data/vanilla/tag.js.map +1 -1
- package/lib/src/lib/data/vanilla/teleport.js +66 -291
- package/lib/src/lib/data/vanilla/teleport.js.map +1 -1
- package/lib/src/lib/data/vanilla/tell.js +2 -6
- package/lib/src/lib/data/vanilla/tell.js.map +1 -1
- package/lib/src/lib/data/vanilla/tellraw.js +4 -12
- package/lib/src/lib/data/vanilla/tellraw.js.map +1 -1
- package/lib/src/lib/data/vanilla/testfor.js +1 -0
- package/lib/src/lib/data/vanilla/testfor.js.map +1 -1
- package/lib/src/lib/data/vanilla/testforblock.js +5 -4
- package/lib/src/lib/data/vanilla/testforblock.js.map +1 -1
- package/lib/src/lib/data/vanilla/testforblocks.d.ts +1 -1
- package/lib/src/lib/data/vanilla/testforblocks.js +11 -61
- package/lib/src/lib/data/vanilla/testforblocks.js.map +1 -1
- package/lib/src/lib/data/vanilla/tickingarea.js +48 -20
- package/lib/src/lib/data/vanilla/tickingarea.js.map +1 -1
- package/lib/src/lib/data/vanilla/time.js +62 -6
- package/lib/src/lib/data/vanilla/time.js.map +1 -1
- package/lib/src/lib/data/vanilla/title.js +30 -54
- package/lib/src/lib/data/vanilla/title.js.map +1 -1
- package/lib/src/lib/data/vanilla/titleraw.js +30 -66
- package/lib/src/lib/data/vanilla/titleraw.js.map +1 -1
- package/lib/src/lib/data/vanilla/toggledownfall.js +4 -1
- package/lib/src/lib/data/vanilla/toggledownfall.js.map +1 -1
- package/lib/src/lib/data/vanilla/tp.d.ts +1 -1
- package/lib/src/lib/data/vanilla/tp.js +67 -292
- package/lib/src/lib/data/vanilla/tp.js.map +1 -1
- package/lib/src/lib/data/vanilla/w.js +4 -3
- package/lib/src/lib/data/vanilla/w.js.map +1 -1
- package/lib/src/lib/data/vanilla/weather.js +13 -1
- package/lib/src/lib/data/vanilla/weather.js.map +1 -1
- package/lib/src/lib/data/vanilla/whitelist.d.ts +3 -0
- package/lib/src/lib/data/vanilla/whitelist.js +68 -0
- package/lib/src/lib/data/vanilla/whitelist.js.map +1 -0
- package/lib/src/lib/data/vanilla/xp.js +6 -14
- package/lib/src/lib/data/vanilla/xp.js.map +1 -1
- package/lib/src/lib/types/parameter-type.d.ts +72 -60
- package/lib/src/lib/types/parameter-type.js +72 -60
- package/lib/src/lib/types/parameter-type.js.map +1 -1
- package/package.json +3 -3
|
@@ -4,87 +4,148 @@ exports.loot = void 0;
|
|
|
4
4
|
const parameter_type_1 = require("../../types/parameter-type");
|
|
5
5
|
/**The loot command */
|
|
6
6
|
exports.loot = [
|
|
7
|
-
/**give */
|
|
8
7
|
{
|
|
9
8
|
name: "loot",
|
|
10
|
-
documentation: "Drops the given loot table into the world",
|
|
9
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
10
|
+
permission_level: 1,
|
|
11
11
|
parameters: [
|
|
12
12
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
13
13
|
{ text: "give", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
14
14
|
{ text: "players", type: parameter_type_1.ParameterType.selector, required: true, options: { playerOnly: true } },
|
|
15
15
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
16
|
-
{ text: "entity
|
|
17
|
-
{ text: "
|
|
16
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
17
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
18
18
|
],
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
name: "loot",
|
|
22
|
-
documentation: "Drops the given loot table into the world",
|
|
22
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
23
|
+
permission_level: 1,
|
|
23
24
|
parameters: [
|
|
24
25
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
25
26
|
{ text: "give", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
26
27
|
{ text: "players", type: parameter_type_1.ParameterType.selector, required: true, options: { playerOnly: true } },
|
|
27
28
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
28
|
-
{ text: "entity
|
|
29
|
-
{ text: "
|
|
29
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
30
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
30
31
|
],
|
|
31
32
|
},
|
|
32
33
|
{
|
|
33
34
|
name: "loot",
|
|
34
|
-
documentation: "Drops the given loot table into the world",
|
|
35
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
36
|
+
permission_level: 1,
|
|
37
|
+
parameters: [
|
|
38
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
39
|
+
{ text: "give", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
40
|
+
{ text: "players", type: parameter_type_1.ParameterType.selector, required: true, options: { playerOnly: true } },
|
|
41
|
+
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
42
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
43
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: "loot",
|
|
48
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
49
|
+
permission_level: 1,
|
|
50
|
+
parameters: [
|
|
51
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
52
|
+
{ text: "give", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
53
|
+
{ text: "players", type: parameter_type_1.ParameterType.selector, required: true, options: { playerOnly: true } },
|
|
54
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
55
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
56
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
name: "loot",
|
|
61
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
62
|
+
permission_level: 1,
|
|
35
63
|
parameters: [
|
|
36
64
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
37
65
|
{ text: "give", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
38
66
|
{ text: "players", type: parameter_type_1.ParameterType.selector, required: true, options: { playerOnly: true } },
|
|
39
67
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
40
|
-
{ text: "
|
|
41
|
-
{ text: "
|
|
68
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
69
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
42
70
|
],
|
|
43
71
|
},
|
|
44
72
|
{
|
|
45
73
|
name: "loot",
|
|
46
|
-
documentation: "Drops the given loot table into the world",
|
|
74
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
75
|
+
permission_level: 1,
|
|
47
76
|
parameters: [
|
|
48
77
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
49
78
|
{ text: "give", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
50
79
|
{ text: "players", type: parameter_type_1.ParameterType.selector, required: true, options: { playerOnly: true } },
|
|
51
80
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
52
|
-
{ text: "
|
|
53
|
-
{ text: "tool", type: parameter_type_1.ParameterType.
|
|
81
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
82
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
54
83
|
],
|
|
55
84
|
},
|
|
56
85
|
{
|
|
57
86
|
name: "loot",
|
|
58
|
-
documentation: "Drops the given loot table into the world",
|
|
87
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
88
|
+
permission_level: 1,
|
|
59
89
|
parameters: [
|
|
60
90
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
61
91
|
{ text: "give", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
62
92
|
{ text: "players", type: parameter_type_1.ParameterType.selector, required: true, options: { playerOnly: true } },
|
|
63
93
|
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
64
|
-
{ text: "
|
|
65
|
-
{ text: "
|
|
66
|
-
{ text: "
|
|
67
|
-
{ text: "
|
|
94
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
95
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
96
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
97
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
68
98
|
],
|
|
69
99
|
},
|
|
70
100
|
{
|
|
71
101
|
name: "loot",
|
|
72
|
-
documentation: "Drops the given loot table into the world",
|
|
102
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
103
|
+
permission_level: 1,
|
|
73
104
|
parameters: [
|
|
74
105
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
75
106
|
{ text: "give", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
76
107
|
{ text: "players", type: parameter_type_1.ParameterType.selector, required: true, options: { playerOnly: true } },
|
|
77
108
|
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
109
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
110
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
111
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
112
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: "loot",
|
|
117
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
118
|
+
permission_level: 1,
|
|
119
|
+
parameters: [
|
|
120
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
121
|
+
{ text: "give", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
122
|
+
{ text: "players", type: parameter_type_1.ParameterType.selector, required: true, options: { playerOnly: true } },
|
|
123
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
124
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
125
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
126
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
127
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
128
|
+
],
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: "loot",
|
|
132
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
133
|
+
permission_level: 1,
|
|
134
|
+
parameters: [
|
|
135
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
136
|
+
{ text: "insert", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
78
137
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
79
138
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
80
139
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
81
|
-
{ text: "
|
|
140
|
+
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
141
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
142
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
82
143
|
],
|
|
83
144
|
},
|
|
84
|
-
/**insert */
|
|
85
145
|
{
|
|
86
146
|
name: "loot",
|
|
87
|
-
documentation: "Drops the given loot table into the world",
|
|
147
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
148
|
+
permission_level: 1,
|
|
88
149
|
parameters: [
|
|
89
150
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
90
151
|
{ text: "insert", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
@@ -92,13 +153,14 @@ exports.loot = [
|
|
|
92
153
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
93
154
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
94
155
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
95
|
-
{ text: "entity
|
|
96
|
-
{ text: "
|
|
156
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
157
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
97
158
|
],
|
|
98
159
|
},
|
|
99
160
|
{
|
|
100
161
|
name: "loot",
|
|
101
|
-
documentation: "Drops the given loot table into the world",
|
|
162
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
163
|
+
permission_level: 1,
|
|
102
164
|
parameters: [
|
|
103
165
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
104
166
|
{ text: "insert", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
@@ -106,13 +168,14 @@ exports.loot = [
|
|
|
106
168
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
107
169
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
108
170
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
109
|
-
{ text: "entity
|
|
110
|
-
{ text: "tool", type: parameter_type_1.ParameterType.
|
|
171
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
172
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
111
173
|
],
|
|
112
174
|
},
|
|
113
175
|
{
|
|
114
176
|
name: "loot",
|
|
115
|
-
documentation: "Drops the given loot table into the world",
|
|
177
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
178
|
+
permission_level: 1,
|
|
116
179
|
parameters: [
|
|
117
180
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
118
181
|
{ text: "insert", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
@@ -120,13 +183,14 @@ exports.loot = [
|
|
|
120
183
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
121
184
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
122
185
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
123
|
-
{ text: "
|
|
124
|
-
{ text: "
|
|
186
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
187
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
125
188
|
],
|
|
126
189
|
},
|
|
127
190
|
{
|
|
128
191
|
name: "loot",
|
|
129
|
-
documentation: "Drops the given loot table into the world",
|
|
192
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
193
|
+
permission_level: 1,
|
|
130
194
|
parameters: [
|
|
131
195
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
132
196
|
{ text: "insert", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
@@ -134,29 +198,46 @@ exports.loot = [
|
|
|
134
198
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
135
199
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
136
200
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
137
|
-
{ text: "
|
|
138
|
-
{ text: "
|
|
201
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
202
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
139
203
|
],
|
|
140
204
|
},
|
|
141
205
|
{
|
|
142
206
|
name: "loot",
|
|
143
|
-
documentation: "Drops the given loot table into the world",
|
|
207
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
208
|
+
permission_level: 1,
|
|
144
209
|
parameters: [
|
|
145
210
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
146
211
|
{ text: "insert", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
147
212
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
148
213
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
149
214
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
150
|
-
{ text: "
|
|
215
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
216
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
217
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
218
|
+
],
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
name: "loot",
|
|
222
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
223
|
+
permission_level: 1,
|
|
224
|
+
parameters: [
|
|
225
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
226
|
+
{ text: "insert", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
151
227
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
152
228
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
153
229
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
154
|
-
{ text: "
|
|
230
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
231
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
232
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
233
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
234
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
155
235
|
],
|
|
156
236
|
},
|
|
157
237
|
{
|
|
158
238
|
name: "loot",
|
|
159
|
-
documentation: "Drops the given loot table into the world",
|
|
239
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
240
|
+
permission_level: 1,
|
|
160
241
|
parameters: [
|
|
161
242
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
162
243
|
{ text: "insert", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
@@ -164,430 +245,702 @@ exports.loot = [
|
|
|
164
245
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
165
246
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
166
247
|
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
248
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
249
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
250
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
251
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
252
|
+
],
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
name: "loot",
|
|
256
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
257
|
+
permission_level: 1,
|
|
258
|
+
parameters: [
|
|
259
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
260
|
+
{ text: "insert", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
167
261
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
168
262
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
169
263
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
170
|
-
{ text: "
|
|
264
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
265
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
266
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
267
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
268
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
171
269
|
],
|
|
172
270
|
},
|
|
173
|
-
/**replace block */
|
|
174
271
|
{
|
|
175
272
|
name: "loot",
|
|
176
|
-
documentation: "Drops the given loot table into the world",
|
|
273
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
274
|
+
permission_level: 1,
|
|
177
275
|
parameters: [
|
|
178
276
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
179
277
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
180
278
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
181
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
182
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
183
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
184
|
-
{ text: "slot
|
|
185
|
-
{ text: "
|
|
279
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
280
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
281
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
282
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
283
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
284
|
+
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
186
285
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
187
|
-
{ text: "entity
|
|
188
|
-
{ text: "
|
|
286
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
287
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
189
288
|
],
|
|
190
289
|
},
|
|
191
290
|
{
|
|
192
291
|
name: "loot",
|
|
193
|
-
documentation: "Drops the given loot table into the world",
|
|
292
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
293
|
+
permission_level: 1,
|
|
194
294
|
parameters: [
|
|
195
295
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
196
296
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
197
297
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
198
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
199
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
200
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
201
|
-
{ text: "slot
|
|
202
|
-
{ text: "
|
|
298
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
299
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
300
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
301
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
302
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
303
|
+
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
203
304
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
204
|
-
{ text: "entity
|
|
205
|
-
{ text: "
|
|
305
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
306
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
206
307
|
],
|
|
207
308
|
},
|
|
208
309
|
{
|
|
209
310
|
name: "loot",
|
|
210
|
-
documentation: "Drops the given loot table into the world",
|
|
311
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
312
|
+
permission_level: 1,
|
|
211
313
|
parameters: [
|
|
212
314
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
213
315
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
214
316
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
215
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
216
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
217
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
218
|
-
{ text: "slot
|
|
219
|
-
{ text: "
|
|
317
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
318
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
319
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
320
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
321
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
220
322
|
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
221
323
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
222
|
-
{ text: "entity
|
|
223
|
-
{ text: "
|
|
324
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
325
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
224
326
|
],
|
|
225
327
|
},
|
|
226
328
|
{
|
|
227
329
|
name: "loot",
|
|
228
|
-
documentation: "Drops the given loot table into the world",
|
|
330
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
331
|
+
permission_level: 1,
|
|
229
332
|
parameters: [
|
|
230
333
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
231
334
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
232
335
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
233
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
234
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
235
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
236
|
-
{ text: "slot
|
|
237
|
-
{ text: "
|
|
336
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
337
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
338
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
339
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
340
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
238
341
|
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
239
|
-
{ text: "
|
|
240
|
-
{ text: "
|
|
241
|
-
{ text: "
|
|
342
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
343
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
344
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
242
345
|
],
|
|
243
346
|
},
|
|
244
347
|
{
|
|
245
348
|
name: "loot",
|
|
246
|
-
documentation: "Drops the given loot table into the world",
|
|
349
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
350
|
+
permission_level: 1,
|
|
247
351
|
parameters: [
|
|
248
352
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
249
353
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
250
354
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
251
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
252
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
253
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
254
|
-
{ text: "slot
|
|
255
|
-
{ text: "
|
|
355
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
356
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
357
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
358
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
359
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
360
|
+
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
256
361
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
257
|
-
{ text: "
|
|
258
|
-
{ text: "
|
|
362
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
363
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
259
364
|
],
|
|
260
365
|
},
|
|
261
366
|
{
|
|
262
367
|
name: "loot",
|
|
263
|
-
documentation: "Drops the given loot table into the world",
|
|
368
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
369
|
+
permission_level: 1,
|
|
264
370
|
parameters: [
|
|
265
371
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
266
372
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
267
373
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
268
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
269
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
270
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
271
|
-
{ text: "slot
|
|
272
|
-
{ text: "
|
|
374
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
375
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
376
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
377
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
378
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
379
|
+
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
273
380
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
274
|
-
{ text: "
|
|
275
|
-
{ text: "tool", type: parameter_type_1.ParameterType.
|
|
381
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
382
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
276
383
|
],
|
|
277
384
|
},
|
|
278
385
|
{
|
|
279
386
|
name: "loot",
|
|
280
|
-
documentation: "Drops the given loot table into the world",
|
|
387
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
388
|
+
permission_level: 1,
|
|
281
389
|
parameters: [
|
|
282
390
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
283
391
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
284
392
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
285
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
286
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
287
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
288
|
-
{ text: "slot
|
|
289
|
-
{ text: "
|
|
393
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
394
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
395
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
396
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
397
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
290
398
|
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
399
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
400
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
401
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
402
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
403
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
404
|
+
],
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
name: "loot",
|
|
408
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
409
|
+
permission_level: 1,
|
|
410
|
+
parameters: [
|
|
291
411
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
292
|
-
{ text: "
|
|
293
|
-
{ text: "
|
|
412
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
413
|
+
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
414
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
415
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
416
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
417
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
418
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
419
|
+
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
420
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
421
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
422
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
423
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
424
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
294
425
|
],
|
|
295
426
|
},
|
|
296
427
|
{
|
|
297
428
|
name: "loot",
|
|
298
|
-
documentation: "Drops the given loot table into the world",
|
|
429
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
430
|
+
permission_level: 1,
|
|
299
431
|
parameters: [
|
|
300
432
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
301
433
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
302
434
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
303
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
304
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
305
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
306
|
-
{ text: "slot
|
|
307
|
-
{ text: "
|
|
435
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
436
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
437
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
438
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
439
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
308
440
|
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
441
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
442
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
443
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
444
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
445
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
446
|
+
],
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
name: "loot",
|
|
450
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
451
|
+
permission_level: 1,
|
|
452
|
+
parameters: [
|
|
309
453
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
310
|
-
{ text: "
|
|
311
|
-
{ text: "
|
|
454
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
455
|
+
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
456
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
457
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
458
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
459
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
460
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
461
|
+
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
462
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
463
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
312
464
|
],
|
|
313
465
|
},
|
|
314
466
|
{
|
|
315
467
|
name: "loot",
|
|
316
|
-
documentation: "Drops the given loot table into the world",
|
|
468
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
469
|
+
permission_level: 1,
|
|
317
470
|
parameters: [
|
|
318
471
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
319
472
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
320
473
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
321
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
322
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
323
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
324
|
-
{ text: "slot type", type: parameter_type_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
|
|
325
|
-
{ text: "slot id", type: parameter_type_1.ParameterType.slotID, required: true },
|
|
326
|
-
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
327
474
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
328
475
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
329
476
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
330
|
-
{ text: "
|
|
477
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
478
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
479
|
+
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
480
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
481
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
331
482
|
],
|
|
332
483
|
},
|
|
333
484
|
{
|
|
334
485
|
name: "loot",
|
|
335
|
-
documentation: "Drops the given loot table into the world",
|
|
486
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
487
|
+
permission_level: 1,
|
|
336
488
|
parameters: [
|
|
337
489
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
338
490
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
339
491
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
340
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
341
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
342
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
343
|
-
{ text: "slot type", type: parameter_type_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
|
|
344
|
-
{ text: "slot id", type: parameter_type_1.ParameterType.slotID, required: true },
|
|
345
|
-
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
346
492
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
347
493
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
348
494
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
349
|
-
{ text: "
|
|
495
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
496
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
497
|
+
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
498
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
499
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
350
500
|
],
|
|
351
501
|
},
|
|
352
502
|
{
|
|
353
503
|
name: "loot",
|
|
354
|
-
documentation: "Drops the given loot table into the world",
|
|
504
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
505
|
+
permission_level: 1,
|
|
355
506
|
parameters: [
|
|
356
507
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
357
508
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
358
509
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
359
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
360
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
361
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
362
|
-
{ text: "slot type", type: parameter_type_1.ParameterType.slotType, required: true, options: { acceptedValues: ["slot.container"] } },
|
|
363
|
-
{ text: "slot id", type: parameter_type_1.ParameterType.slotID, required: true },
|
|
364
|
-
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
365
|
-
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
366
510
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
367
511
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
368
512
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
369
|
-
{ text: "
|
|
513
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
514
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
515
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
516
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
517
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
370
518
|
],
|
|
371
519
|
},
|
|
372
520
|
{
|
|
373
521
|
name: "loot",
|
|
374
|
-
documentation: "Drops the given loot table into the world",
|
|
522
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
523
|
+
permission_level: 1,
|
|
375
524
|
parameters: [
|
|
376
525
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
377
526
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
378
527
|
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
379
|
-
{ text: "x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
380
|
-
{ text: "y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
381
|
-
{ text: "z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
382
|
-
{ text: "slot
|
|
383
|
-
{ text: "
|
|
384
|
-
{ text: "
|
|
528
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
529
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
530
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
531
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
532
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
533
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
534
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
535
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
536
|
+
],
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
name: "loot",
|
|
540
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
541
|
+
permission_level: 1,
|
|
542
|
+
parameters: [
|
|
543
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
544
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
545
|
+
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
546
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
547
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
548
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
549
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
550
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
551
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
552
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
553
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
554
|
+
],
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
name: "loot",
|
|
558
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
559
|
+
permission_level: 1,
|
|
560
|
+
parameters: [
|
|
561
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
562
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
563
|
+
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
564
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
565
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
566
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
567
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
568
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
385
569
|
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
570
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
571
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
572
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
573
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
574
|
+
],
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
name: "loot",
|
|
578
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
579
|
+
permission_level: 1,
|
|
580
|
+
parameters: [
|
|
581
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
582
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
583
|
+
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
386
584
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
387
585
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
388
586
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
389
|
-
{ text: "
|
|
587
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
588
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
589
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
590
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
591
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
592
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
593
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
390
594
|
],
|
|
391
595
|
},
|
|
392
|
-
/**replace entity */
|
|
393
596
|
{
|
|
394
597
|
name: "loot",
|
|
395
|
-
documentation: "Drops the given loot table into the world",
|
|
598
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
599
|
+
permission_level: 1,
|
|
396
600
|
parameters: [
|
|
397
601
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
398
602
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
399
|
-
{ text: "
|
|
400
|
-
{ text: "
|
|
401
|
-
{ text: "
|
|
402
|
-
{ text: "
|
|
403
|
-
{ text: "
|
|
404
|
-
{ text: "
|
|
405
|
-
{ text: "
|
|
603
|
+
{ text: "block", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
604
|
+
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
605
|
+
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
606
|
+
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
607
|
+
{ text: "slot.container", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
608
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
609
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
610
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
611
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
612
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
613
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
406
614
|
],
|
|
407
615
|
},
|
|
408
616
|
{
|
|
409
617
|
name: "loot",
|
|
410
|
-
documentation: "Drops the given loot table into the world",
|
|
618
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
619
|
+
permission_level: 1,
|
|
411
620
|
parameters: [
|
|
412
621
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
413
622
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
414
623
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
415
|
-
{ text: "
|
|
416
|
-
{ text: "
|
|
417
|
-
{ text: "
|
|
624
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
625
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
626
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
627
|
+
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
418
628
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
419
|
-
{ text: "entity
|
|
420
|
-
{ text: "
|
|
629
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
630
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
421
631
|
],
|
|
422
632
|
},
|
|
423
633
|
{
|
|
424
634
|
name: "loot",
|
|
425
|
-
documentation: "Drops the given loot table into the world",
|
|
635
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
636
|
+
permission_level: 1,
|
|
426
637
|
parameters: [
|
|
427
638
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
428
639
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
429
640
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
430
|
-
{ text: "
|
|
431
|
-
{ text: "
|
|
432
|
-
{ text: "
|
|
641
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
642
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
643
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
433
644
|
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
434
645
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
435
|
-
{ text: "entity
|
|
436
|
-
{ text: "
|
|
646
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
647
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
437
648
|
],
|
|
438
649
|
},
|
|
439
650
|
{
|
|
440
651
|
name: "loot",
|
|
441
|
-
documentation: "Drops the given loot table into the world",
|
|
652
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
653
|
+
permission_level: 1,
|
|
442
654
|
parameters: [
|
|
443
655
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
444
656
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
445
657
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
446
|
-
{ text: "
|
|
447
|
-
{ text: "
|
|
448
|
-
{ text: "
|
|
658
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
659
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
660
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
449
661
|
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
450
662
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
451
|
-
{ text: "entity
|
|
452
|
-
{ text: "tool", type: parameter_type_1.ParameterType.
|
|
663
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
664
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
453
665
|
],
|
|
454
666
|
},
|
|
455
667
|
{
|
|
456
668
|
name: "loot",
|
|
457
|
-
documentation: "Drops the given loot table into the world",
|
|
669
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
670
|
+
permission_level: 1,
|
|
458
671
|
parameters: [
|
|
459
672
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
460
673
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
461
674
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
462
|
-
{ text: "
|
|
463
|
-
{ text: "
|
|
464
|
-
{ text: "
|
|
675
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
676
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
677
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
678
|
+
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
465
679
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
466
|
-
{ text: "
|
|
467
|
-
{ text: "
|
|
680
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
681
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
468
682
|
],
|
|
469
683
|
},
|
|
470
684
|
{
|
|
471
685
|
name: "loot",
|
|
472
|
-
documentation: "Drops the given loot table into the world",
|
|
686
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
687
|
+
permission_level: 1,
|
|
473
688
|
parameters: [
|
|
474
689
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
475
690
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
476
691
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
477
|
-
{ text: "
|
|
478
|
-
{ text: "
|
|
479
|
-
{ text: "
|
|
692
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
693
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
694
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
695
|
+
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
480
696
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
481
|
-
{ text: "
|
|
482
|
-
{ text: "
|
|
697
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
698
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
483
699
|
],
|
|
484
700
|
},
|
|
485
701
|
{
|
|
486
702
|
name: "loot",
|
|
487
|
-
documentation: "Drops the given loot table into the world",
|
|
703
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
704
|
+
permission_level: 1,
|
|
488
705
|
parameters: [
|
|
489
706
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
490
707
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
491
708
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
492
|
-
{ text: "
|
|
493
|
-
{ text: "
|
|
494
|
-
{ text: "
|
|
709
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
710
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
711
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
495
712
|
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
496
713
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
497
|
-
{ text: "
|
|
498
|
-
{ text: "
|
|
714
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
715
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
499
716
|
],
|
|
500
717
|
},
|
|
501
718
|
{
|
|
502
719
|
name: "loot",
|
|
503
|
-
documentation: "Drops the given loot table into the world",
|
|
720
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
721
|
+
permission_level: 1,
|
|
504
722
|
parameters: [
|
|
505
723
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
506
724
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
507
725
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
508
|
-
{ text: "
|
|
509
|
-
{ text: "
|
|
510
|
-
{ text: "
|
|
726
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
727
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
728
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
511
729
|
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
730
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
731
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
732
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
733
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
734
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
735
|
+
],
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
name: "loot",
|
|
739
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
740
|
+
permission_level: 1,
|
|
741
|
+
parameters: [
|
|
512
742
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
513
|
-
{ text: "
|
|
514
|
-
{ text: "
|
|
743
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
744
|
+
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
745
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
746
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
747
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
748
|
+
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
749
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
750
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
751
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
752
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
753
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
515
754
|
],
|
|
516
755
|
},
|
|
517
756
|
{
|
|
518
757
|
name: "loot",
|
|
519
|
-
documentation: "Drops the given loot table into the world",
|
|
758
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
759
|
+
permission_level: 1,
|
|
520
760
|
parameters: [
|
|
521
761
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
522
762
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
523
763
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
524
|
-
{ text: "
|
|
525
|
-
{ text: "
|
|
526
|
-
{ text: "
|
|
764
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
765
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
766
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
767
|
+
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
527
768
|
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
528
|
-
{ text: "
|
|
529
|
-
{ text: "
|
|
530
|
-
{ text: "
|
|
531
|
-
{ text: "
|
|
769
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
770
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
771
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
772
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
532
773
|
],
|
|
533
774
|
},
|
|
534
775
|
{
|
|
535
776
|
name: "loot",
|
|
536
|
-
documentation: "Drops the given loot table into the world",
|
|
777
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
778
|
+
permission_level: 1,
|
|
537
779
|
parameters: [
|
|
538
780
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
539
781
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
540
782
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
541
|
-
{ text: "
|
|
542
|
-
{ text: "
|
|
543
|
-
{ text: "
|
|
783
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
784
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
785
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
786
|
+
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
787
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
788
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
789
|
+
],
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
name: "loot",
|
|
793
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
794
|
+
permission_level: 1,
|
|
795
|
+
parameters: [
|
|
796
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
797
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
798
|
+
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
799
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
800
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
801
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
802
|
+
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
803
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
804
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
805
|
+
],
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
name: "loot",
|
|
809
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
810
|
+
permission_level: 1,
|
|
811
|
+
parameters: [
|
|
812
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
813
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
814
|
+
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
815
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
816
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
817
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
818
|
+
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
819
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
820
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
821
|
+
],
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
name: "loot",
|
|
825
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
826
|
+
permission_level: 1,
|
|
827
|
+
parameters: [
|
|
828
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
829
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
830
|
+
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
831
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
832
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
833
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
834
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
835
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
836
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
837
|
+
],
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
name: "loot",
|
|
841
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
842
|
+
permission_level: 1,
|
|
843
|
+
parameters: [
|
|
844
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
845
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
846
|
+
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
847
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
848
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
849
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
850
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
851
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
852
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
853
|
+
],
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
name: "loot",
|
|
857
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
858
|
+
permission_level: 1,
|
|
859
|
+
parameters: [
|
|
860
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
861
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
862
|
+
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
863
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
864
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
865
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
866
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
867
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
868
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
869
|
+
],
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
name: "loot",
|
|
873
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
874
|
+
permission_level: 1,
|
|
875
|
+
parameters: [
|
|
876
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
877
|
+
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
878
|
+
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
879
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
880
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
881
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
544
882
|
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
545
|
-
{ text: "
|
|
546
|
-
{ text: "
|
|
547
|
-
{ text: "
|
|
548
|
-
{ text: "
|
|
883
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
884
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
885
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
886
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
549
887
|
],
|
|
550
888
|
},
|
|
551
889
|
{
|
|
552
890
|
name: "loot",
|
|
553
|
-
documentation: "Drops the given loot table into the world",
|
|
891
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
892
|
+
permission_level: 1,
|
|
554
893
|
parameters: [
|
|
555
894
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
556
895
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
557
896
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
558
|
-
{ text: "
|
|
559
|
-
{ text: "
|
|
560
|
-
{ text: "
|
|
561
|
-
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
897
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
898
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
899
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
562
900
|
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
563
|
-
{ text: "
|
|
564
|
-
{ text: "
|
|
565
|
-
{ text: "
|
|
566
|
-
{ text: "
|
|
901
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
902
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
903
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
904
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
567
905
|
],
|
|
568
906
|
},
|
|
569
907
|
{
|
|
570
908
|
name: "loot",
|
|
571
|
-
documentation: "Drops the given loot table into the world",
|
|
909
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
910
|
+
permission_level: 1,
|
|
572
911
|
parameters: [
|
|
573
912
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
574
913
|
{ text: "replace", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
575
914
|
{ text: "entity", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
576
|
-
{ text: "
|
|
577
|
-
{ text: "
|
|
578
|
-
{ text: "
|
|
579
|
-
{ text: "count", type: parameter_type_1.ParameterType.integer, required: true },
|
|
915
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
916
|
+
{ text: "slotType", type: parameter_type_1.ParameterType.slotType, required: true },
|
|
917
|
+
{ text: "slotId", type: parameter_type_1.ParameterType.integer, required: true },
|
|
580
918
|
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
919
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
920
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
921
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
922
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
923
|
+
],
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
name: "loot",
|
|
927
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
928
|
+
permission_level: 1,
|
|
929
|
+
parameters: [
|
|
930
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
931
|
+
{ text: "spawn", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
581
932
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
582
933
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
583
934
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
584
|
-
{ text: "
|
|
935
|
+
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
936
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
937
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
585
938
|
],
|
|
586
939
|
},
|
|
587
|
-
/** spawn */
|
|
588
940
|
{
|
|
589
941
|
name: "loot",
|
|
590
|
-
documentation: "Drops the given loot table into the world",
|
|
942
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
943
|
+
permission_level: 1,
|
|
591
944
|
parameters: [
|
|
592
945
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
593
946
|
{ text: "spawn", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
@@ -595,13 +948,14 @@ exports.loot = [
|
|
|
595
948
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
596
949
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
597
950
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
598
|
-
{ text: "entity
|
|
599
|
-
{ text: "
|
|
951
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
952
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
600
953
|
],
|
|
601
954
|
},
|
|
602
955
|
{
|
|
603
956
|
name: "loot",
|
|
604
|
-
documentation: "Drops the given loot table into the world",
|
|
957
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
958
|
+
permission_level: 1,
|
|
605
959
|
parameters: [
|
|
606
960
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
607
961
|
{ text: "spawn", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
@@ -609,13 +963,14 @@ exports.loot = [
|
|
|
609
963
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
610
964
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
611
965
|
{ text: "kill", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
612
|
-
{ text: "entity
|
|
613
|
-
{ text: "tool", type: parameter_type_1.ParameterType.
|
|
966
|
+
{ text: "entity", type: parameter_type_1.ParameterType.selector, required: true },
|
|
967
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
614
968
|
],
|
|
615
969
|
},
|
|
616
970
|
{
|
|
617
971
|
name: "loot",
|
|
618
|
-
documentation: "Drops the given loot table into the world",
|
|
972
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
973
|
+
permission_level: 1,
|
|
619
974
|
parameters: [
|
|
620
975
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
621
976
|
{ text: "spawn", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
@@ -623,13 +978,14 @@ exports.loot = [
|
|
|
623
978
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
624
979
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
625
980
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
626
|
-
{ text: "
|
|
627
|
-
{ text: "
|
|
981
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
982
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
628
983
|
],
|
|
629
984
|
},
|
|
630
985
|
{
|
|
631
986
|
name: "loot",
|
|
632
|
-
documentation: "Drops the given loot table into the world",
|
|
987
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
988
|
+
permission_level: 1,
|
|
633
989
|
parameters: [
|
|
634
990
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
635
991
|
{ text: "spawn", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
@@ -637,29 +993,46 @@ exports.loot = [
|
|
|
637
993
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
638
994
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
639
995
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
640
|
-
{ text: "
|
|
641
|
-
{ text: "
|
|
996
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
997
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
642
998
|
],
|
|
643
999
|
},
|
|
644
1000
|
{
|
|
645
1001
|
name: "loot",
|
|
646
|
-
documentation: "Drops the given loot table into the world",
|
|
1002
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
1003
|
+
permission_level: 1,
|
|
647
1004
|
parameters: [
|
|
648
1005
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
649
1006
|
{ text: "spawn", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
650
1007
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
651
1008
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
652
1009
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
653
|
-
{ text: "
|
|
1010
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
1011
|
+
{ text: "loot_table", type: parameter_type_1.ParameterType.lootTable, required: true },
|
|
1012
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
1013
|
+
],
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
name: "loot",
|
|
1017
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
1018
|
+
permission_level: 1,
|
|
1019
|
+
parameters: [
|
|
1020
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
1021
|
+
{ text: "spawn", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
654
1022
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
655
1023
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
656
1024
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
657
|
-
{ text: "
|
|
1025
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
1026
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
1027
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
1028
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
1029
|
+
{ text: "mainhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
658
1030
|
],
|
|
659
1031
|
},
|
|
660
1032
|
{
|
|
661
1033
|
name: "loot",
|
|
662
|
-
documentation: "Drops the given loot table into the world",
|
|
1034
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
1035
|
+
permission_level: 1,
|
|
663
1036
|
parameters: [
|
|
664
1037
|
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
665
1038
|
{ text: "spawn", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
@@ -667,10 +1040,27 @@ exports.loot = [
|
|
|
667
1040
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
668
1041
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
669
1042
|
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
1043
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
1044
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
1045
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
1046
|
+
{ text: "offhand", type: parameter_type_1.ParameterType.keyword, required: false },
|
|
1047
|
+
],
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
name: "loot",
|
|
1051
|
+
documentation: "Drops the given loot table into the specified inventory or into the world.",
|
|
1052
|
+
permission_level: 1,
|
|
1053
|
+
parameters: [
|
|
1054
|
+
{ text: "loot", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
1055
|
+
{ text: "spawn", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
670
1056
|
{ text: "position x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
671
1057
|
{ text: "position y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
672
1058
|
{ text: "position z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
673
|
-
{ text: "
|
|
1059
|
+
{ text: "mine", type: parameter_type_1.ParameterType.keyword, required: true },
|
|
1060
|
+
{ text: "TargetBlockPosition x", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
1061
|
+
{ text: "TargetBlockPosition y", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
1062
|
+
{ text: "TargetBlockPosition z", type: parameter_type_1.ParameterType.coordinate, required: true },
|
|
1063
|
+
{ text: "tool", type: parameter_type_1.ParameterType.item, required: false },
|
|
674
1064
|
],
|
|
675
1065
|
},
|
|
676
1066
|
];
|