bc-minecraft-bedrock-command 1.2.34 → 1.19.40-1
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/CommandInfo.d.ts +3 -3
- package/lib/src/Lib/Data/Vanilla/alwaysday.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/alwaysday.js +16 -0
- package/lib/src/Lib/Data/Vanilla/alwaysday.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/camerashake.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/camerashake.js +53 -0
- package/lib/src/Lib/Data/Vanilla/camerashake.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/clear.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/clear.js +24 -0
- package/lib/src/Lib/Data/Vanilla/clear.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/clearspawnpoint.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/clearspawnpoint.js +25 -0
- package/lib/src/Lib/Data/Vanilla/clearspawnpoint.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/clone.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/clone.js +106 -0
- package/lib/src/Lib/Data/Vanilla/clone.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/damage.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/damage.js +30 -0
- package/lib/src/Lib/Data/Vanilla/damage.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/daylock.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/daylock.js +16 -0
- package/lib/src/Lib/Data/Vanilla/daylock.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/deop.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/deop.js +21 -0
- package/lib/src/Lib/Data/Vanilla/deop.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/dialogue.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/dialogue.js +50 -0
- package/lib/src/Lib/Data/Vanilla/dialogue.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/difficulty.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/difficulty.js +16 -0
- package/lib/src/Lib/Data/Vanilla/difficulty.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/effect.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/effect.js +33 -0
- package/lib/src/Lib/Data/Vanilla/effect.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/enchant.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/enchant.js +38 -0
- package/lib/src/Lib/Data/Vanilla/enchant.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/event.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/event.js +18 -0
- package/lib/src/Lib/Data/Vanilla/event.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/execute.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/execute.js +38 -0
- package/lib/src/Lib/Data/Vanilla/execute.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/fill.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/fill.js +106 -0
- package/lib/src/Lib/Data/Vanilla/fill.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/fog.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/fog.js +51 -0
- package/lib/src/Lib/Data/Vanilla/fog.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/function.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/function.js +16 -0
- package/lib/src/Lib/Data/Vanilla/function.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/gamemode.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/gamemode.js +22 -0
- package/lib/src/Lib/Data/Vanilla/gamemode.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/gamerule.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/gamerule.js +330 -0
- package/lib/src/Lib/Data/Vanilla/gamerule.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/give.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/give.js +25 -0
- package/lib/src/Lib/Data/Vanilla/give.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/index.d.ts +58 -0
- package/lib/src/Lib/Data/Vanilla/index.js +76 -0
- package/lib/src/Lib/Data/Vanilla/index.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/kick.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/kick.js +21 -0
- package/lib/src/Lib/Data/Vanilla/kick.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/kill.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/kill.js +16 -0
- package/lib/src/Lib/Data/Vanilla/kill.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/locate.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/locate.js +16 -0
- package/lib/src/Lib/Data/Vanilla/locate.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/loot.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/loot.js +437 -0
- package/lib/src/Lib/Data/Vanilla/loot.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/me.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/me.js +16 -0
- package/lib/src/Lib/Data/Vanilla/me.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/msg.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/msg.js +17 -0
- package/lib/src/Lib/Data/Vanilla/msg.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/music.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/music.js +88 -0
- package/lib/src/Lib/Data/Vanilla/music.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/op.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/op.js +21 -0
- package/lib/src/Lib/Data/Vanilla/op.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/particle.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/particle.js +19 -0
- package/lib/src/Lib/Data/Vanilla/particle.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/playanimation.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/playanimation.js +28 -0
- package/lib/src/Lib/Data/Vanilla/playanimation.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/playsound.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/playsound.js +28 -0
- package/lib/src/Lib/Data/Vanilla/playsound.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/replaceitem.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/replaceitem.js +86 -0
- package/lib/src/Lib/Data/Vanilla/replaceitem.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/ride.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/ride.js +71 -0
- package/lib/src/Lib/Data/Vanilla/ride.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/say.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/say.js +16 -0
- package/lib/src/Lib/Data/Vanilla/say.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/schedule.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/schedule.js +55 -0
- package/lib/src/Lib/Data/Vanilla/schedule.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/scoreboard.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/scoreboard.js +250 -0
- package/lib/src/Lib/Data/Vanilla/scoreboard.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/setblock.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/setblock.js +46 -0
- package/lib/src/Lib/Data/Vanilla/setblock.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/setmaxplayers.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/setmaxplayers.js +21 -0
- package/lib/src/Lib/Data/Vanilla/setmaxplayers.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/setworldspawn.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/setworldspawn.js +18 -0
- package/lib/src/Lib/Data/Vanilla/setworldspawn.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/spawnpoint.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/spawnpoint.js +24 -0
- package/lib/src/Lib/Data/Vanilla/spawnpoint.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/spreadplayers.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/spreadplayers.js +20 -0
- package/lib/src/Lib/Data/Vanilla/spreadplayers.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/stopsound.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/stopsound.js +22 -0
- package/lib/src/Lib/Data/Vanilla/stopsound.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/structure.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/structure.js +131 -0
- package/lib/src/Lib/Data/Vanilla/structure.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/summon.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/summon.js +33 -0
- package/lib/src/Lib/Data/Vanilla/summon.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/tag.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/tag.js +42 -0
- package/lib/src/Lib/Data/Vanilla/tag.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/teleport.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/teleport.js +369 -0
- package/lib/src/Lib/Data/Vanilla/teleport.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/tell.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/tell.js +22 -0
- package/lib/src/Lib/Data/Vanilla/tell.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/tellraw.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/tellraw.js +26 -0
- package/lib/src/Lib/Data/Vanilla/tellraw.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/testfor.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/testfor.js +16 -0
- package/lib/src/Lib/Data/Vanilla/testfor.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/testforblock.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/testforblock.js +106 -0
- package/lib/src/Lib/Data/Vanilla/testforblock.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/tickingarea.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/tickingarea.js +78 -0
- package/lib/src/Lib/Data/Vanilla/tickingarea.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/time.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/time.js +62 -0
- package/lib/src/Lib/Data/Vanilla/time.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/title.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/title.js +98 -0
- package/lib/src/Lib/Data/Vanilla/title.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/titleraw.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/titleraw.js +110 -0
- package/lib/src/Lib/Data/Vanilla/titleraw.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/toggledownfall.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/toggledownfall.js +13 -0
- package/lib/src/Lib/Data/Vanilla/toggledownfall.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/w.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/w.js +17 -0
- package/lib/src/Lib/Data/Vanilla/w.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/weather.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/weather.js +35 -0
- package/lib/src/Lib/Data/Vanilla/weather.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/xp.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/xp.js +36 -0
- package/lib/src/Lib/Data/Vanilla/xp.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla.d.ts +2 -1
- package/lib/src/Lib/Data/Vanilla.js +119 -3257
- package/lib/src/Lib/Data/Vanilla.js.map +1 -1
- package/lib/src/Lib/Data/index.d.ts +3 -3
- package/lib/src/Lib/Data/index.js +4 -3
- package/lib/src/Lib/Data/index.js.map +1 -1
- package/lib/src/Lib/Types/Command/index.d.ts +4 -0
- package/lib/src/Lib/Types/Command/index.js +22 -0
- package/lib/src/Lib/Types/Command/index.js.map +1 -0
- package/lib/src/Lib/Types/ParameterType.d.ts +52 -0
- package/lib/src/Lib/Types/ParameterType.js +52 -52
- package/lib/src/Lib/Types/ParameterType.js.map +1 -1
- package/lib/src/Lib/Types/index.js +1 -0
- package/lib/src/Lib/Types/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -32,15 +32,15 @@ export interface ParameterInfo {
|
|
|
32
32
|
}
|
|
33
33
|
/**The optional options for a given parameter.*/
|
|
34
34
|
export interface ParameterOptions {
|
|
35
|
-
/**if defined, these values are always accepted, no
|
|
35
|
+
/**if defined, these values are always accepted, no evaluation anymore required.*/
|
|
36
36
|
acceptedValues?: string[];
|
|
37
37
|
/**Minimum value or amount of numbers.*/
|
|
38
38
|
minimum?: number;
|
|
39
39
|
/**Maximum value or amount of numbers.*/
|
|
40
40
|
maximum?: number;
|
|
41
|
-
/**
|
|
41
|
+
/**Whether or not this parameter is aimed at players only, excluding entities .*/
|
|
42
42
|
playerOnly?: boolean;
|
|
43
|
-
/**
|
|
43
|
+
/**Whether or not fake / dummy players are allowed.*/
|
|
44
44
|
allowFakePlayers?: boolean;
|
|
45
45
|
/**If the wild card: '*' is allowed.*/
|
|
46
46
|
wildcard?: boolean;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.alwaysday = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The alwaysday command */
|
|
6
|
+
exports.alwaysday = [
|
|
7
|
+
{
|
|
8
|
+
name: "alwaysday",
|
|
9
|
+
documentation: "Locks and unlocks the day-night cycle.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "alwaysday", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "lock", type: Types_1.ParameterType.boolean, required: false },
|
|
13
|
+
],
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=alwaysday.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alwaysday.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/alwaysday.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,2BAA2B;AACd,QAAA,SAAS,GAAkB;IACtC;QACE,IAAI,EAAE,WAAW;QACjB,aAAa,EAAE,wCAAwC;QACvD,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAClE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;SAC/D;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.camerashake = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The camerashake command */
|
|
6
|
+
exports.camerashake = [
|
|
7
|
+
{
|
|
8
|
+
name: "camerashake",
|
|
9
|
+
documentation: "Applies shaking to the players' camera with specified intensity and duration",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "camerashake", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "add", type: Types_1.ParameterType.keyword, required: true },
|
|
13
|
+
{
|
|
14
|
+
text: "player",
|
|
15
|
+
type: Types_1.ParameterType.selector,
|
|
16
|
+
required: true,
|
|
17
|
+
options: { playerOnly: true },
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
text: "intensity",
|
|
21
|
+
type: Types_1.ParameterType.float,
|
|
22
|
+
required: false,
|
|
23
|
+
options: { minimum: 0, maximum: 4 },
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
text: "seconds",
|
|
27
|
+
type: Types_1.ParameterType.float,
|
|
28
|
+
required: false,
|
|
29
|
+
options: { minimum: 0 },
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
text: "shake type",
|
|
33
|
+
type: Types_1.ParameterType.cameraShakeType,
|
|
34
|
+
required: false,
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: "camerashake",
|
|
40
|
+
documentation: "Stops shaking to the players' camera with specified intensity and duration",
|
|
41
|
+
parameters: [
|
|
42
|
+
{ text: "camerashake", type: Types_1.ParameterType.keyword, required: true },
|
|
43
|
+
{ text: "stop", type: Types_1.ParameterType.keyword, required: true },
|
|
44
|
+
{
|
|
45
|
+
text: "player",
|
|
46
|
+
type: Types_1.ParameterType.selector,
|
|
47
|
+
required: false,
|
|
48
|
+
options: { playerOnly: true },
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
];
|
|
53
|
+
//# sourceMappingURL=camerashake.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"camerashake.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/camerashake.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG1C,6BAA6B;AAClB,QAAA,WAAW,GAAkB;IACxC;QACE,IAAI,EAAE,aAAa;QACnB,aAAa,EAAE,8EAA8E;QAC7F,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACpE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC5D;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,qBAAa,CAAC,QAAQ;gBAC5B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;aAC9B;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,qBAAa,CAAC,KAAK;gBACzB,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;aACpC;YACD;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,qBAAa,CAAC,KAAK;gBACzB,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE;aACxB;YACD;gBACE,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,qBAAa,CAAC,eAAe;gBACnC,QAAQ,EAAE,KAAK;aAChB;SACF;KACF;IACD;QACE,IAAI,EAAE,aAAa;QACnB,aAAa,EAAE,4EAA4E;QAC3F,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACpE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC7D;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,qBAAa,CAAC,QAAQ;gBAC5B,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;aAC9B;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.clear = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The clear command */
|
|
6
|
+
exports.clear = [
|
|
7
|
+
{
|
|
8
|
+
name: "clear",
|
|
9
|
+
documentation: "Clears items from player inventory.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "clear", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{
|
|
13
|
+
text: "player",
|
|
14
|
+
type: Types_1.ParameterType.selector,
|
|
15
|
+
required: false,
|
|
16
|
+
options: { playerOnly: true },
|
|
17
|
+
},
|
|
18
|
+
{ text: "item name", type: Types_1.ParameterType.item, required: false },
|
|
19
|
+
{ text: "data", type: Types_1.ParameterType.integer, required: false },
|
|
20
|
+
{ text: "max count", type: Types_1.ParameterType.integer, required: false },
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
];
|
|
24
|
+
//# sourceMappingURL=clear.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clear.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/clear.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG1C,uBAAuB;AACZ,QAAA,KAAK,GAAkB;IAClC;QACE,IAAI,EAAE,OAAO;QACb,aAAa,EAAE,qCAAqC;QACpD,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC9D;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,qBAAa,CAAC,QAAQ;gBAC5B,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;aAC9B;YACD,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,qBAAa,CAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE;YAChE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;YAC9D,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;SACpE;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.clearspawnpoint = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The clearspawnpoint command */
|
|
6
|
+
exports.clearspawnpoint = [
|
|
7
|
+
{
|
|
8
|
+
name: "clearspawnpoint",
|
|
9
|
+
documentation: "Removes the spawnpoint from the player.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{
|
|
12
|
+
text: "clearspawnpoint",
|
|
13
|
+
type: Types_1.ParameterType.keyword,
|
|
14
|
+
required: true,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
text: "player",
|
|
18
|
+
type: Types_1.ParameterType.selector,
|
|
19
|
+
required: false,
|
|
20
|
+
options: { playerOnly: true },
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingURL=clearspawnpoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearspawnpoint.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/clearspawnpoint.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,iCAAiC;AACpB,QAAA,eAAe,GAAkB;IAC5C;QACE,IAAI,EAAE,iBAAiB;QACvB,aAAa,EAAE,yCAAyC;QACxD,UAAU,EAAE;YACV;gBACE,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,qBAAa,CAAC,OAAO;gBAC3B,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,qBAAa,CAAC,QAAQ;gBAC5B,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;aAC9B;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.clone = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The clone command */
|
|
6
|
+
exports.clone = [
|
|
7
|
+
{
|
|
8
|
+
name: "clone",
|
|
9
|
+
documentation: "Copies blocks from one place to another.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "clone", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "begin x", type: Types_1.ParameterType.coordinate, required: true },
|
|
13
|
+
{ text: "begin y", type: Types_1.ParameterType.coordinate, required: true },
|
|
14
|
+
{ text: "begin z", type: Types_1.ParameterType.coordinate, required: true },
|
|
15
|
+
{ text: "end x", type: Types_1.ParameterType.coordinate, required: true },
|
|
16
|
+
{ text: "end y", type: Types_1.ParameterType.coordinate, required: true },
|
|
17
|
+
{ text: "end z", type: Types_1.ParameterType.coordinate, required: true },
|
|
18
|
+
{
|
|
19
|
+
text: "destination x",
|
|
20
|
+
type: Types_1.ParameterType.coordinate,
|
|
21
|
+
required: true,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
text: "destination y",
|
|
25
|
+
type: Types_1.ParameterType.coordinate,
|
|
26
|
+
required: true,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
text: "destination z",
|
|
30
|
+
type: Types_1.ParameterType.coordinate,
|
|
31
|
+
required: true,
|
|
32
|
+
},
|
|
33
|
+
{ text: "mask", type: Types_1.ParameterType.maskMode, required: false },
|
|
34
|
+
{ text: "clone mode", type: Types_1.ParameterType.cloneMode, required: true },
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: "clone",
|
|
39
|
+
documentation: "Copies blocks from one place to another.",
|
|
40
|
+
parameters: [
|
|
41
|
+
{ text: "clone", type: Types_1.ParameterType.keyword, required: true },
|
|
42
|
+
{ text: "begin x", type: Types_1.ParameterType.coordinate, required: true },
|
|
43
|
+
{ text: "begin y", type: Types_1.ParameterType.coordinate, required: true },
|
|
44
|
+
{ text: "begin z", type: Types_1.ParameterType.coordinate, required: true },
|
|
45
|
+
{ text: "end x", type: Types_1.ParameterType.coordinate, required: true },
|
|
46
|
+
{ text: "end y", type: Types_1.ParameterType.coordinate, required: true },
|
|
47
|
+
{ text: "end z", type: Types_1.ParameterType.coordinate, required: true },
|
|
48
|
+
{
|
|
49
|
+
text: "destination x",
|
|
50
|
+
type: Types_1.ParameterType.coordinate,
|
|
51
|
+
required: true,
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
text: "destination y",
|
|
55
|
+
type: Types_1.ParameterType.coordinate,
|
|
56
|
+
required: true,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
text: "destination z",
|
|
60
|
+
type: Types_1.ParameterType.coordinate,
|
|
61
|
+
required: true,
|
|
62
|
+
},
|
|
63
|
+
{ text: "filtered", type: Types_1.ParameterType.keyword, required: true },
|
|
64
|
+
{ text: "clone mode", type: Types_1.ParameterType.cloneMode, required: true },
|
|
65
|
+
{ text: "tile name", type: Types_1.ParameterType.block, required: true },
|
|
66
|
+
{ text: "tile data", type: Types_1.ParameterType.integer, required: false },
|
|
67
|
+
],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: "clone",
|
|
71
|
+
documentation: "Copies blocks from one place to another.",
|
|
72
|
+
parameters: [
|
|
73
|
+
{ text: "clone", type: Types_1.ParameterType.keyword, required: true },
|
|
74
|
+
{ text: "begin x", type: Types_1.ParameterType.coordinate, required: true },
|
|
75
|
+
{ text: "begin y", type: Types_1.ParameterType.coordinate, required: true },
|
|
76
|
+
{ text: "begin z", type: Types_1.ParameterType.coordinate, required: true },
|
|
77
|
+
{ text: "end x", type: Types_1.ParameterType.coordinate, required: true },
|
|
78
|
+
{ text: "end y", type: Types_1.ParameterType.coordinate, required: true },
|
|
79
|
+
{ text: "end z", type: Types_1.ParameterType.coordinate, required: true },
|
|
80
|
+
{
|
|
81
|
+
text: "destination x",
|
|
82
|
+
type: Types_1.ParameterType.coordinate,
|
|
83
|
+
required: true,
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
text: "destination y",
|
|
87
|
+
type: Types_1.ParameterType.coordinate,
|
|
88
|
+
required: true,
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
text: "destination z",
|
|
92
|
+
type: Types_1.ParameterType.coordinate,
|
|
93
|
+
required: true,
|
|
94
|
+
},
|
|
95
|
+
{ text: "filtered", type: Types_1.ParameterType.keyword, required: true },
|
|
96
|
+
{ text: "clone mode", type: Types_1.ParameterType.cloneMode, required: true },
|
|
97
|
+
{ text: "tile name", type: Types_1.ParameterType.block, required: true },
|
|
98
|
+
{
|
|
99
|
+
text: "block states",
|
|
100
|
+
type: Types_1.ParameterType.blockStates,
|
|
101
|
+
required: false,
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
},
|
|
105
|
+
];
|
|
106
|
+
//# sourceMappingURL=clone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clone.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/clone.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,uBAAuB;AACV,QAAA,KAAK,GAAkB;IAClC;QACE,IAAI,EAAE,OAAO;QACb,aAAa,EAAE,0CAA0C;QACzD,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC9D,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;YACnE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;YACnE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAA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AAa,CAAC,WAAW;gBAC/B,QAAQ,EAAE,KAAK;aAChB;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.damage = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The damage command */
|
|
6
|
+
exports.damage = [
|
|
7
|
+
{
|
|
8
|
+
name: "damage",
|
|
9
|
+
documentation: "Apply damage to the specified entity.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "damage", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "target", type: Types_1.ParameterType.selector, required: true },
|
|
13
|
+
{ text: "amount", type: Types_1.ParameterType.integer, required: true },
|
|
14
|
+
{ text: "cause", type: Types_1.ParameterType.causeType, required: false },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: "damage",
|
|
19
|
+
documentation: "Apply damage to the specified entity.",
|
|
20
|
+
parameters: [
|
|
21
|
+
{ text: "damage", type: Types_1.ParameterType.keyword, required: true },
|
|
22
|
+
{ text: "target", type: Types_1.ParameterType.selector, required: true },
|
|
23
|
+
{ text: "amount", type: Types_1.ParameterType.integer, required: true },
|
|
24
|
+
{ text: "cause", type: Types_1.ParameterType.causeType, required: true },
|
|
25
|
+
{ text: "entity", type: Types_1.ParameterType.keyword, required: true },
|
|
26
|
+
{ text: "damager", type: Types_1.ParameterType.selector, required: true },
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
];
|
|
30
|
+
//# sourceMappingURL=damage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"damage.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/damage.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,wBAAwB;AACX,QAAA,MAAM,GAAkB;IACnC;QACE,IAAI,EAAE,QAAQ;QACd,aAAa,EAA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|
+
exports.daylock = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The daylock command */
|
|
6
|
+
exports.daylock = [
|
|
7
|
+
{
|
|
8
|
+
name: "daylock",
|
|
9
|
+
documentation: "Locks and unlocks the day-night cycle.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "daylock", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "lock", type: Types_1.ParameterType.boolean, required: false },
|
|
13
|
+
],
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=daylock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daylock.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/daylock.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,yBAAyB;AACZ,QAAA,OAAO,GAAkB;IACpC;QACE,IAAI,EAAE,SAAS;QACf,aAAa,EAAE,wCAAwC;QACvD,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;SAC/D;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deop = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The deop command */
|
|
6
|
+
exports.deop = [
|
|
7
|
+
{
|
|
8
|
+
name: "deop",
|
|
9
|
+
documentation: "Removes operator status from a player",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "deop", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{
|
|
13
|
+
text: "player",
|
|
14
|
+
type: Types_1.ParameterType.selector,
|
|
15
|
+
required: true,
|
|
16
|
+
options: { allowFakePlayers: true, playerOnly: true },
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
];
|
|
21
|
+
//# sourceMappingURL=deop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deop.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/deop.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,sBAAsB;AACT,QAAA,IAAI,GAAkB;IACjC;QACE,IAAI,EAAE,MAAM;QACZ,aAAa,EAAE,uCAAuC;QACtD,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC7D;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,qBAAa,CAAC,QAAQ;gBAC5B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE;aACtD;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.dialogue = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The dialogue command */
|
|
6
|
+
exports.dialogue = [
|
|
7
|
+
{
|
|
8
|
+
name: "dialogue",
|
|
9
|
+
documentation: "Forces to open an NPC dialogue box to the targeted player(s)",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "dialogue", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "open", type: Types_1.ParameterType.keyword, required: true },
|
|
13
|
+
{
|
|
14
|
+
text: "npc",
|
|
15
|
+
type: Types_1.ParameterType.selector,
|
|
16
|
+
required: true,
|
|
17
|
+
options: { allowFakePlayers: false, playerOnly: false },
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
text: "player receiver",
|
|
21
|
+
type: Types_1.ParameterType.selector,
|
|
22
|
+
required: true,
|
|
23
|
+
options: { playerOnly: true, allowFakePlayers: false },
|
|
24
|
+
},
|
|
25
|
+
{ text: "scene name", type: Types_1.ParameterType.string, required: false },
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "dialogue",
|
|
30
|
+
documentation: "Direct an NPC to use the dialogue provided in a specifically designated scene file",
|
|
31
|
+
parameters: [
|
|
32
|
+
{ text: "dialogue", type: Types_1.ParameterType.keyword, required: true },
|
|
33
|
+
{ text: "change", type: Types_1.ParameterType.keyword, required: true },
|
|
34
|
+
{
|
|
35
|
+
text: "npc",
|
|
36
|
+
type: Types_1.ParameterType.selector,
|
|
37
|
+
required: true,
|
|
38
|
+
options: { allowFakePlayers: false, playerOnly: false },
|
|
39
|
+
},
|
|
40
|
+
{ text: "scene name", type: Types_1.ParameterType.string, required: true },
|
|
41
|
+
{
|
|
42
|
+
text: "player receiver",
|
|
43
|
+
type: Types_1.ParameterType.selector,
|
|
44
|
+
required: false,
|
|
45
|
+
options: { playerOnly: true, allowFakePlayers: false },
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
];
|
|
50
|
+
//# sourceMappingURL=dialogue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialogue.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/dialogue.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,0BAA0B;AACb,QAAA,QAAQ,GAAkB;IACrC;QACE,IAAI,EAAE,UAAU;QAChB,aAAa,EAAE,8DAA8D;QAC7E,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACjE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO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;CACF,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.difficulty = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The difficulty command */
|
|
6
|
+
exports.difficulty = [
|
|
7
|
+
{
|
|
8
|
+
name: "difficulty",
|
|
9
|
+
documentation: "Sets the difficulty level.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "difficulty", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "mode", type: Types_1.ParameterType.difficulty, required: true },
|
|
13
|
+
],
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=difficulty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"difficulty.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/difficulty.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,4BAA4B;AACf,QAAA,UAAU,GAAkB;IACvC;QACE,IAAI,EAAE,YAAY;QAClB,aAAa,EAAE,4BAA4B;QAC3C,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACnE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;SACjE;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.effect = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The effect command */
|
|
6
|
+
exports.effect = [
|
|
7
|
+
{
|
|
8
|
+
name: "effect",
|
|
9
|
+
documentation: "Sets the difficulty level.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "effect", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "player", type: Types_1.ParameterType.selector, required: true },
|
|
13
|
+
{ text: "effect", type: Types_1.ParameterType.effect, required: true },
|
|
14
|
+
{ text: "seconds", type: Types_1.ParameterType.integer, required: false },
|
|
15
|
+
{ text: "amplifier", type: Types_1.ParameterType.integer, required: false },
|
|
16
|
+
{
|
|
17
|
+
text: "hide particles",
|
|
18
|
+
type: Types_1.ParameterType.boolean,
|
|
19
|
+
required: false,
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: "effect",
|
|
25
|
+
documentation: "Sets the difficulty level.",
|
|
26
|
+
parameters: [
|
|
27
|
+
{ text: "effect", type: Types_1.ParameterType.keyword, required: true },
|
|
28
|
+
{ text: "player", type: Types_1.ParameterType.selector, required: true },
|
|
29
|
+
{ text: "clear", type: Types_1.ParameterType.keyword, required: true },
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
];
|
|
33
|
+
//# sourceMappingURL=effect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"effect.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/effect.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,wBAAwB;AACX,QAAA,MAAM,GAAkB;IACnC;QACE,IAAI,EAAE,QAAQ;QACd,aAAa,EAAE,4BAA4B;QAC3C,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC9D,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;YACjE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;YACnE;gBACE,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,qBAAa,CAAC,OAAO;gBAC3B,QAAQ,EAAE,KAAK;aAChB;SACF;KACF;IACD;QACE,IAAI,EAAE,QAAQ;QACd,aAAa,EAAE,4BAA4B;QAC3C,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;SAC/D;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.enchant = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The enchant command */
|
|
6
|
+
exports.enchant = [
|
|
7
|
+
{
|
|
8
|
+
name: "enchant",
|
|
9
|
+
documentation: "Enchants a player item.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "enchant", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{
|
|
13
|
+
text: "player",
|
|
14
|
+
type: Types_1.ParameterType.selector,
|
|
15
|
+
required: true,
|
|
16
|
+
options: { playerOnly: true },
|
|
17
|
+
},
|
|
18
|
+
{ text: "id", type: Types_1.ParameterType.integer, required: true },
|
|
19
|
+
{ text: "level", type: Types_1.ParameterType.integer, required: false },
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "enchant",
|
|
24
|
+
documentation: "Enchants a player item.",
|
|
25
|
+
parameters: [
|
|
26
|
+
{ text: "enchant", type: Types_1.ParameterType.keyword, required: true },
|
|
27
|
+
{
|
|
28
|
+
text: "player",
|
|
29
|
+
type: Types_1.ParameterType.selector,
|
|
30
|
+
required: true,
|
|
31
|
+
options: { playerOnly: true },
|
|
32
|
+
},
|
|
33
|
+
{ text: "id", type: Types_1.ParameterType.string, required: true },
|
|
34
|
+
{ text: "level", type: Types_1.ParameterType.keyword, required: false },
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
//# sourceMappingURL=enchant.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enchant.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/enchant.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,yBAAyB;AACZ,QAAA,OAAO,GAAkB;IACpC;QACE,IAAI,EAAE,SAAS;QACf,aAAa,EAAE,yBAAyB;QACxC,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,qBAAa,CAAC,QAAQ;gBAC5B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;aAC9B;YACD,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC3D,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;SAChE;KACF;IACD;QACE,IAAI,EAAE,SAAS;QACf,aAAa,EAAE,yBAAyB;QACxC,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,qBAAa,CAAC,QAAQ;gBAC5B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;aAC9B;YACD,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,qBAAa,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC1D,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;SAChE;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.event = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The event command */
|
|
6
|
+
exports.event = [
|
|
7
|
+
{
|
|
8
|
+
name: "event",
|
|
9
|
+
documentation: "Triggers an event for the specified objects.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "event", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "entity", type: Types_1.ParameterType.keyword, required: true },
|
|
13
|
+
{ text: "target", type: Types_1.ParameterType.selector, required: true },
|
|
14
|
+
{ text: "event name", type: Types_1.ParameterType.event, required: true },
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/event.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,uBAAuB;AACV,QAAA,KAAK,GAAkB;IAClC;QACE,IAAI,EAAE,OAAO;QACb,aAAa,EAAE,8CAA8C;QAC7D,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC9D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,qBAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE;SAClE;KACF;CACF,CAAC"}
|