bc-minecraft-bedrock-command 1.2.35 → 1.19.40
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 +1 -0
- package/lib/src/Lib/Data/Vanilla.js +119 -3499
- 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/index.js +1 -0
- package/lib/src/Lib/Types/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.op = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The op command */
|
|
6
|
+
exports.op = [
|
|
7
|
+
{
|
|
8
|
+
name: "op",
|
|
9
|
+
documentation: "Grants operator status to a player.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "op", 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
|
+
],
|
|
19
|
+
},
|
|
20
|
+
];
|
|
21
|
+
//# sourceMappingURL=op.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"op.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/op.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,oBAAoB;AACP,QAAA,EAAE,GAAkB;IAC/B;QACE,IAAI,EAAE,IAAI;QACV,aAAa,EAAE,qCAAqC;QACpD,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC3D;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,qBAAa,CAAC,QAAQ;gBAC5B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;aAC9B;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.particle = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The particle command */
|
|
6
|
+
exports.particle = [
|
|
7
|
+
{
|
|
8
|
+
name: "particle",
|
|
9
|
+
documentation: "Creates particles.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "particle", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "effect", type: Types_1.ParameterType.particle, required: true },
|
|
13
|
+
{ text: "position x", type: Types_1.ParameterType.coordinate, required: false },
|
|
14
|
+
{ text: "position y", type: Types_1.ParameterType.coordinate, required: false },
|
|
15
|
+
{ text: "position z", type: Types_1.ParameterType.coordinate, required: false },
|
|
16
|
+
],
|
|
17
|
+
},
|
|
18
|
+
];
|
|
19
|
+
//# sourceMappingURL=particle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"particle.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/particle.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,0BAA0B;AACb,QAAA,QAAQ,GAAkB;IACrC;QACE,IAAI,EAAE,UAAU;QAChB,aAAa,EAAE,oBAAoB;QACnC,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACjE,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,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE;YACvE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE;YACvE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE;SACxE;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.playanimation = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The playanimation command */
|
|
6
|
+
exports.playanimation = [
|
|
7
|
+
{
|
|
8
|
+
name: "playanimation",
|
|
9
|
+
documentation: "Makes one or more entities play a one-off animation. Assumes all variables are set up correctly",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "playanimation", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "entity", type: Types_1.ParameterType.selector, required: true },
|
|
13
|
+
{ text: "animation", type: Types_1.ParameterType.animation, required: true },
|
|
14
|
+
{ text: "next state", type: Types_1.ParameterType.string, required: false },
|
|
15
|
+
{
|
|
16
|
+
text: "stop expression",
|
|
17
|
+
type: Types_1.ParameterType.string,
|
|
18
|
+
required: false,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
text: "controller name",
|
|
22
|
+
type: Types_1.ParameterType.string,
|
|
23
|
+
required: false,
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=playanimation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"playanimation.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/playanimation.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,+BAA+B;AAClB,QAAA,aAAa,GAAkB;IAC1C;QACE,IAAI,EAAE,eAAe;QACrB,aAAa,EAAE,iGAAiG;QAChH,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACtE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,qBAAa,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;YACpE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,qBAAa,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE;YACnE;gBACE,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,qBAAa,CAAC,MAAM;gBAC1B,QAAQ,EAAE,KAAK;aAChB;YACD;gBACE,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,qBAAa,CAAC,MAAM;gBAC1B,QAAQ,EAAE,KAAK;aAChB;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.playsound = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The playsound command */
|
|
6
|
+
exports.playsound = [
|
|
7
|
+
{
|
|
8
|
+
parameters: [
|
|
9
|
+
{ text: "playsound", type: Types_1.ParameterType.keyword, required: true },
|
|
10
|
+
{ text: "sound", type: Types_1.ParameterType.sound, required: true },
|
|
11
|
+
{
|
|
12
|
+
text: "player",
|
|
13
|
+
type: Types_1.ParameterType.selector,
|
|
14
|
+
required: false,
|
|
15
|
+
options: { playerOnly: true },
|
|
16
|
+
},
|
|
17
|
+
{ text: "position x", type: Types_1.ParameterType.coordinate, required: false },
|
|
18
|
+
{ text: "position y", type: Types_1.ParameterType.coordinate, required: false },
|
|
19
|
+
{ text: "position z", type: Types_1.ParameterType.coordinate, required: false },
|
|
20
|
+
{ text: "volume", type: Types_1.ParameterType.float, required: false },
|
|
21
|
+
{ text: "pitch", type: Types_1.ParameterType.float, required: false },
|
|
22
|
+
{ text: "minimumVolume", type: Types_1.ParameterType.float, required: false },
|
|
23
|
+
],
|
|
24
|
+
name: "playsound",
|
|
25
|
+
documentation: "Plays a sound.",
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
//# sourceMappingURL=playsound.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"playsound.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/playsound.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,2BAA2B;AACd,QAAA,SAAS,GAAkB;IACtC;QACE,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAClE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC5D;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,YAAY,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE;YACvE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE;YACvE,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE;YACvE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;YAC9D,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;YAC7D,EAAE,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,qBAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE;SACtE;QACD,IAAI,EAAE,WAAW;QACjB,aAAa,EAAE,gBAAgB;KAChC;CACF,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.replaceitem = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The replaceitem command */
|
|
6
|
+
exports.replaceitem = [
|
|
7
|
+
{
|
|
8
|
+
name: "replaceitem",
|
|
9
|
+
documentation: "Replaces items in inventories.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "replaceitem", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "block", type: Types_1.ParameterType.keyword, required: true },
|
|
13
|
+
{ text: "position x", type: Types_1.ParameterType.coordinate, required: true },
|
|
14
|
+
{ text: "position y", type: Types_1.ParameterType.coordinate, required: true },
|
|
15
|
+
{ text: "position z", type: Types_1.ParameterType.coordinate, required: true },
|
|
16
|
+
{ text: "slot.container", type: Types_1.ParameterType.keyword, required: true },
|
|
17
|
+
{ text: "slot id", type: Types_1.ParameterType.slotID, required: true },
|
|
18
|
+
{ text: "item name", type: Types_1.ParameterType.item, required: true },
|
|
19
|
+
{ text: "amount", type: Types_1.ParameterType.keyword, required: false },
|
|
20
|
+
{ text: "data", type: Types_1.ParameterType.keyword, required: false },
|
|
21
|
+
{ text: "components", type: Types_1.ParameterType.keyword, required: false },
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: "replaceitem",
|
|
26
|
+
documentation: "Replaces items in inventories.",
|
|
27
|
+
parameters: [
|
|
28
|
+
{ text: "replaceitem", type: Types_1.ParameterType.keyword, required: true },
|
|
29
|
+
{ text: "block", type: Types_1.ParameterType.keyword, required: true },
|
|
30
|
+
{ text: "position x", type: Types_1.ParameterType.coordinate, required: true },
|
|
31
|
+
{ text: "position y", type: Types_1.ParameterType.coordinate, required: true },
|
|
32
|
+
{ text: "position z", type: Types_1.ParameterType.coordinate, required: true },
|
|
33
|
+
{ text: "slot.container", type: Types_1.ParameterType.keyword, required: true },
|
|
34
|
+
{ text: "slotId", type: Types_1.ParameterType.slotID, required: true },
|
|
35
|
+
{
|
|
36
|
+
text: "replacemode",
|
|
37
|
+
type: Types_1.ParameterType.replaceMode,
|
|
38
|
+
required: true,
|
|
39
|
+
},
|
|
40
|
+
{ text: "item name", type: Types_1.ParameterType.item, required: true },
|
|
41
|
+
{ text: "amount", type: Types_1.ParameterType.keyword, required: false },
|
|
42
|
+
{ text: "data", type: Types_1.ParameterType.keyword, required: false },
|
|
43
|
+
{ text: "components", type: Types_1.ParameterType.keyword, required: false },
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: "replaceitem",
|
|
48
|
+
documentation: "Replaces items in inventories.",
|
|
49
|
+
parameters: [
|
|
50
|
+
{ text: "replaceitem", type: Types_1.ParameterType.keyword, required: true },
|
|
51
|
+
{ text: "entity", type: Types_1.ParameterType.keyword, required: true },
|
|
52
|
+
{ text: "selector", type: Types_1.ParameterType.selector, required: true },
|
|
53
|
+
{
|
|
54
|
+
text: "slot.container",
|
|
55
|
+
type: Types_1.ParameterType.slotType,
|
|
56
|
+
required: true,
|
|
57
|
+
},
|
|
58
|
+
{ text: "slotId", type: Types_1.ParameterType.slotID, required: true },
|
|
59
|
+
{ text: "item name", type: Types_1.ParameterType.item, required: true },
|
|
60
|
+
{ text: "amount", type: Types_1.ParameterType.integer, required: false },
|
|
61
|
+
{ text: "data", type: Types_1.ParameterType.integer, required: false },
|
|
62
|
+
{ text: "components", type: Types_1.ParameterType.jsonItem, required: false },
|
|
63
|
+
],
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: "replaceitem",
|
|
67
|
+
documentation: "Replaces items in inventories.",
|
|
68
|
+
parameters: [
|
|
69
|
+
{ text: "replaceitem", type: Types_1.ParameterType.keyword, required: true },
|
|
70
|
+
{ text: "entity", type: Types_1.ParameterType.keyword, required: true },
|
|
71
|
+
{ text: "selector", type: Types_1.ParameterType.selector, required: true },
|
|
72
|
+
{ text: "slot type", type: Types_1.ParameterType.slotType, required: true },
|
|
73
|
+
{ text: "slot id", type: Types_1.ParameterType.slotID, required: true },
|
|
74
|
+
{
|
|
75
|
+
text: "replace mode",
|
|
76
|
+
type: Types_1.ParameterType.replaceMode,
|
|
77
|
+
required: true,
|
|
78
|
+
},
|
|
79
|
+
{ text: "item name", type: Types_1.ParameterType.item, required: true },
|
|
80
|
+
{ text: "amount", type: Types_1.ParameterType.integer, required: false },
|
|
81
|
+
{ text: "data", type: Types_1.ParameterType.integer, required: false },
|
|
82
|
+
{ text: "components", type: Types_1.ParameterType.jsonItem, required: false },
|
|
83
|
+
],
|
|
84
|
+
},
|
|
85
|
+
];
|
|
86
|
+
//# sourceMappingURL=replaceitem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replaceitem.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/replaceitem.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,6BAA6B;AAChB,QAAA,WAAW,GAAkB;IACxC;QACE,IAAI,EAAE,aAAa;QACnB,aAAa,EAAE,gCAAgC;QAC/C,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACpE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC9D,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,qBAAa,CAAC,UA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EAAE,cAAc;gBACpB,IAAI,EAAE,qBAAa,CAAC,WAAW;gBAC/B,QAAQ,EAAE,IAAI;aACf;YACD,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,qBAAa,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,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,YAAY,EAAE,IAAI,EAAE,qBAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;SACtE;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ride = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The ride command */
|
|
6
|
+
exports.ride = [
|
|
7
|
+
{
|
|
8
|
+
name: "ride",
|
|
9
|
+
documentation: "Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "ride", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "riders", type: Types_1.ParameterType.selector, required: true },
|
|
13
|
+
{ text: "start_riding", type: Types_1.ParameterType.keyword, required: true },
|
|
14
|
+
{ text: "ride", type: Types_1.ParameterType.selector, required: true },
|
|
15
|
+
{
|
|
16
|
+
text: "teleport",
|
|
17
|
+
type: Types_1.ParameterType.teleportRules,
|
|
18
|
+
required: false,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
text: "fill mode",
|
|
22
|
+
type: Types_1.ParameterType.ridefillMode,
|
|
23
|
+
required: false,
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "ride",
|
|
29
|
+
documentation: "Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders",
|
|
30
|
+
parameters: [
|
|
31
|
+
{ text: "ride", type: Types_1.ParameterType.keyword, required: true },
|
|
32
|
+
{ text: "riders", type: Types_1.ParameterType.selector, required: true },
|
|
33
|
+
{ text: "stop_riding", type: Types_1.ParameterType.keyword, required: true },
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: "ride",
|
|
38
|
+
documentation: "Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders",
|
|
39
|
+
parameters: [
|
|
40
|
+
{ text: "ride", type: Types_1.ParameterType.keyword, required: true },
|
|
41
|
+
{ text: "rides", type: Types_1.ParameterType.selector, required: true },
|
|
42
|
+
{ text: "evict_riders", type: Types_1.ParameterType.keyword, required: true },
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: "ride",
|
|
47
|
+
documentation: "Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders",
|
|
48
|
+
parameters: [
|
|
49
|
+
{ text: "ride", type: Types_1.ParameterType.keyword, required: true },
|
|
50
|
+
{ text: "riders", type: Types_1.ParameterType.selector, required: true },
|
|
51
|
+
{ text: "summon_ride", type: Types_1.ParameterType.keyword, required: true },
|
|
52
|
+
{ text: "entity type", type: Types_1.ParameterType.entity, required: true },
|
|
53
|
+
{ text: "ride rules", type: Types_1.ParameterType.rideRules, required: true },
|
|
54
|
+
{ text: "event", type: Types_1.ParameterType.event, required: true },
|
|
55
|
+
{ text: "name", type: Types_1.ParameterType.string, required: true },
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: "ride",
|
|
60
|
+
documentation: "Makes entities ride other entities, stops entities from riding, makes rides evict their riders, or summons rides or riders",
|
|
61
|
+
parameters: [
|
|
62
|
+
{ text: "ride", type: Types_1.ParameterType.keyword, required: true },
|
|
63
|
+
{ text: "rides", type: Types_1.ParameterType.selector, required: true },
|
|
64
|
+
{ text: "summon_rider", type: Types_1.ParameterType.keyword, required: true },
|
|
65
|
+
{ text: "entity type", type: Types_1.ParameterType.entity, required: true },
|
|
66
|
+
{ text: "event", type: Types_1.ParameterType.event, required: true },
|
|
67
|
+
{ text: "name", type: Types_1.ParameterType.string, required: true },
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
];
|
|
71
|
+
//# sourceMappingURL=ride.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ride.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/ride.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,sBAAsB;AACT,QAAA,IAAI,GAAkB;IACjC;QACE,IAAI,EAAE,MAAM;QACZ,aAAa,EACX,4HAA4H;QAC9H,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC7D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACrE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC9D;gBACE,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,qBAAa,CAAC,aAAa;gBACjC,QAAQ,EAAE,KAAK;aAChB;YACD;gBACE,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,qBAAa,CAAC,YAAY;gBAChC,QAAQ,EAAE,KAAK;aAChB;SACF;KACF;IACD;QACE,IAAI,EAAE,MAAM;QACZ,aAAa,EACX,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AE,qBAAa,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE;YACrE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC5D,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;SAC7D;KACF;IACD;QACE,IAAI,EAAE,MAAM;QACZ,aAAa,EACX,4HAA4H;QAC9H,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC7D,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/D,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACrE,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,qBAAa,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;YACnE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAa,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC5D,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;SAC7D;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.say = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The say command */
|
|
6
|
+
exports.say = [
|
|
7
|
+
{
|
|
8
|
+
name: "say",
|
|
9
|
+
documentation: "Displays a message to multiple players.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "say", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "message", type: Types_1.ParameterType.message, required: true },
|
|
13
|
+
],
|
|
14
|
+
},
|
|
15
|
+
];
|
|
16
|
+
//# sourceMappingURL=say.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"say.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/say.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,qBAAqB;AACR,QAAA,GAAG,GAAkB;IAChC;QACE,IAAI,EAAE,KAAK;QACX,aAAa,EAAE,yCAAyC;QACxD,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC5D,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;SACjE;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.schedule = void 0;
|
|
4
|
+
const Types_1 = require("../../Types");
|
|
5
|
+
/**The schedule command */
|
|
6
|
+
exports.schedule = [
|
|
7
|
+
{
|
|
8
|
+
name: "schedule",
|
|
9
|
+
documentation: "Schedules an action to be executed once an area is loaded, or after a certain amount of time",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "schedule", type: Types_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "on_area_loaded", type: Types_1.ParameterType.keyword, required: true },
|
|
13
|
+
{ text: "add", type: Types_1.ParameterType.keyword, required: true },
|
|
14
|
+
{ text: "from x", type: Types_1.ParameterType.coordinate, required: true },
|
|
15
|
+
{ text: "from y", type: Types_1.ParameterType.coordinate, required: true },
|
|
16
|
+
{ text: "from z", type: Types_1.ParameterType.coordinate, required: true },
|
|
17
|
+
{ text: "to x", type: Types_1.ParameterType.coordinate, required: true },
|
|
18
|
+
{ text: "to y", type: Types_1.ParameterType.coordinate, required: true },
|
|
19
|
+
{ text: "to z", type: Types_1.ParameterType.coordinate, required: true },
|
|
20
|
+
{ text: "function", type: Types_1.ParameterType.function, required: true },
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: "schedule",
|
|
25
|
+
documentation: "Schedules an action to be executed once an area is loaded, or after a certain amount of time",
|
|
26
|
+
parameters: [
|
|
27
|
+
{ text: "schedule", type: Types_1.ParameterType.keyword, required: true },
|
|
28
|
+
{ text: "on_area_loaded", type: Types_1.ParameterType.keyword, required: true },
|
|
29
|
+
{ text: "add", type: Types_1.ParameterType.keyword, required: true },
|
|
30
|
+
{ text: "circle", type: Types_1.ParameterType.keyword, required: true },
|
|
31
|
+
{ text: "center x", type: Types_1.ParameterType.coordinate, required: true },
|
|
32
|
+
{ text: "center y", type: Types_1.ParameterType.coordinate, required: true },
|
|
33
|
+
{ text: "center z", type: Types_1.ParameterType.coordinate, required: true },
|
|
34
|
+
{ text: "radius", type: Types_1.ParameterType.integer, required: true },
|
|
35
|
+
{ text: "function", type: Types_1.ParameterType.function, required: true },
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: "schedule",
|
|
40
|
+
documentation: "Schedules an action to be executed once an area is loaded, or after a certain amount of time",
|
|
41
|
+
parameters: [
|
|
42
|
+
{ text: "schedule", type: Types_1.ParameterType.keyword, required: true },
|
|
43
|
+
{ text: "on_area_loaded", type: Types_1.ParameterType.keyword, required: true },
|
|
44
|
+
{ text: "add", type: Types_1.ParameterType.keyword, required: true },
|
|
45
|
+
{ text: "tickingarea", type: Types_1.ParameterType.keyword, required: true },
|
|
46
|
+
{
|
|
47
|
+
text: "tickingarea name",
|
|
48
|
+
type: Types_1.ParameterType.tickingarea,
|
|
49
|
+
required: true,
|
|
50
|
+
},
|
|
51
|
+
{ text: "function", type: Types_1.ParameterType.function, required: true },
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
];
|
|
55
|
+
//# sourceMappingURL=schedule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/schedule.ts"],"names":[],"mappings":";;;AAAA,uCAA4C;AAG5C,0BAA0B;AACb,QAAA,QAAQ,GAAkB;IACrC;QACE,IAAI,EAAE,UAAU;QAChB,aAAa,EAAE,8FAA8F;QAC7G,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACjE,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YACvE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,qBAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC5D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;YAClE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;YAClE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;YAClE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,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