bc-minecraft-bedrock-command 1.19.40 → 1.19.41-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/src/Lib/Data/CommandData.d.ts +1 -3
- package/lib/src/Lib/Data/CommandData.js +4 -7
- package/lib/src/Lib/Data/CommandData.js.map +1 -1
- package/lib/src/Lib/Data/{Vanilla.d.ts → Commands.d.ts} +4 -0
- package/lib/src/Lib/Data/{Vanilla.js → Commands.js} +17 -3
- package/lib/src/Lib/Data/Commands.js.map +1 -0
- package/lib/src/Lib/Data/Edu/ability.d.ts +3 -0
- package/lib/src/Lib/Data/Edu/ability.js +51 -0
- package/lib/src/Lib/Data/Edu/ability.js.map +1 -0
- package/lib/src/Lib/Data/Edu/classroommode.d.ts +3 -0
- package/lib/src/Lib/Data/Edu/classroommode.js +13 -0
- package/lib/src/Lib/Data/Edu/classroommode.js.map +1 -0
- package/lib/src/Lib/Data/Edu/code.d.ts +3 -0
- package/lib/src/Lib/Data/Edu/code.js +13 -0
- package/lib/src/Lib/Data/Edu/code.js.map +1 -0
- package/lib/src/Lib/Data/Edu/gamerule.d.ts +3 -0
- package/lib/src/Lib/Data/Edu/gamerule.js +35 -0
- package/lib/src/Lib/Data/Edu/gamerule.js.map +1 -0
- package/lib/src/Lib/Data/Edu/immutableworld.d.ts +3 -0
- package/lib/src/Lib/Data/Edu/immutableworld.js +16 -0
- package/lib/src/Lib/Data/Edu/immutableworld.js.map +1 -0
- package/lib/src/Lib/Data/Vanilla/alwaysday.js +3 -3
- package/lib/src/Lib/Data/Vanilla/alwaysday.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/camerashake.js +10 -10
- package/lib/src/Lib/Data/Vanilla/camerashake.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/clear.js +6 -6
- package/lib/src/Lib/Data/Vanilla/clear.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/clearspawnpoint.js +3 -3
- package/lib/src/Lib/Data/Vanilla/clearspawnpoint.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/clone.js +41 -41
- package/lib/src/Lib/Data/Vanilla/clone.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/damage.js +11 -11
- package/lib/src/Lib/Data/Vanilla/damage.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/daylock.js +3 -3
- package/lib/src/Lib/Data/Vanilla/daylock.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/deop.js +3 -3
- package/lib/src/Lib/Data/Vanilla/deop.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/dialogue.js +11 -11
- package/lib/src/Lib/Data/Vanilla/dialogue.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/difficulty.js +3 -3
- package/lib/src/Lib/Data/Vanilla/difficulty.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/effect.js +10 -10
- package/lib/src/Lib/Data/Vanilla/effect.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/enchant.js +9 -9
- package/lib/src/Lib/Data/Vanilla/enchant.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/event.js +5 -5
- package/lib/src/Lib/Data/Vanilla/event.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/execute.js +19 -19
- package/lib/src/Lib/Data/Vanilla/execute.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/fill.js +47 -47
- package/lib/src/Lib/Data/Vanilla/fill.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/fog.js +14 -14
- package/lib/src/Lib/Data/Vanilla/fog.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/function.js +3 -3
- package/lib/src/Lib/Data/Vanilla/function.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/gamemode.js +4 -4
- package/lib/src/Lib/Data/Vanilla/gamemode.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/gamerule.js +91 -91
- package/lib/src/Lib/Data/Vanilla/gamerule.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/give.js +7 -7
- package/lib/src/Lib/Data/Vanilla/give.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/kick.js +3 -3
- package/lib/src/Lib/Data/Vanilla/kick.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/kill.js +3 -3
- package/lib/src/Lib/Data/Vanilla/kill.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/locate.js +3 -3
- package/lib/src/Lib/Data/Vanilla/locate.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/loot.js +257 -257
- package/lib/src/Lib/Data/Vanilla/loot.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/me.js +3 -3
- package/lib/src/Lib/Data/Vanilla/me.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/msg.js +4 -4
- package/lib/src/Lib/Data/Vanilla/msg.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/music.js +19 -19
- package/lib/src/Lib/Data/Vanilla/music.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/op.js +3 -3
- package/lib/src/Lib/Data/Vanilla/op.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/particle.js +6 -6
- package/lib/src/Lib/Data/Vanilla/particle.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/playanimation.js +7 -7
- package/lib/src/Lib/Data/Vanilla/playanimation.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/playsound.js +10 -10
- package/lib/src/Lib/Data/Vanilla/playsound.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/replaceitem.js +43 -43
- package/lib/src/Lib/Data/Vanilla/replaceitem.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/ride.js +26 -26
- package/lib/src/Lib/Data/Vanilla/ride.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/say.js +3 -3
- package/lib/src/Lib/Data/Vanilla/say.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/schedule.js +26 -26
- package/lib/src/Lib/Data/Vanilla/schedule.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/scoreboard.js +92 -92
- package/lib/src/Lib/Data/Vanilla/scoreboard.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/setblock.js +15 -15
- package/lib/src/Lib/Data/Vanilla/setblock.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/setmaxplayers.js +3 -3
- package/lib/src/Lib/Data/Vanilla/setmaxplayers.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/setworldspawn.js +5 -5
- package/lib/src/Lib/Data/Vanilla/setworldspawn.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/spawnpoint.js +6 -6
- package/lib/src/Lib/Data/Vanilla/spawnpoint.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/spreadplayers.js +7 -7
- package/lib/src/Lib/Data/Vanilla/spreadplayers.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/stopsound.js +4 -4
- package/lib/src/Lib/Data/Vanilla/stopsound.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/structure.js +54 -54
- package/lib/src/Lib/Data/Vanilla/structure.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/summon.js +14 -14
- package/lib/src/Lib/Data/Vanilla/summon.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/tag.js +12 -12
- package/lib/src/Lib/Data/Vanilla/tag.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/teleport.js +106 -106
- package/lib/src/Lib/Data/Vanilla/teleport.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/tell.js +4 -4
- package/lib/src/Lib/Data/Vanilla/tell.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/tellraw.js +4 -4
- package/lib/src/Lib/Data/Vanilla/tellraw.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/testfor.js +3 -3
- package/lib/src/Lib/Data/Vanilla/testfor.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/testforblock.js +39 -39
- package/lib/src/Lib/Data/Vanilla/testforblock.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/tickingarea.js +31 -31
- package/lib/src/Lib/Data/Vanilla/tickingarea.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/time.js +19 -19
- package/lib/src/Lib/Data/Vanilla/time.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/title.js +25 -25
- package/lib/src/Lib/Data/Vanilla/title.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/titleraw.js +25 -25
- package/lib/src/Lib/Data/Vanilla/titleraw.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/toggledownfall.js +2 -2
- package/lib/src/Lib/Data/Vanilla/toggledownfall.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/w.js +4 -4
- package/lib/src/Lib/Data/Vanilla/w.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/weather.js +10 -10
- package/lib/src/Lib/Data/Vanilla/weather.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/xp.js +7 -7
- package/lib/src/Lib/Data/Vanilla/xp.js.map +1 -1
- package/lib/src/Lib/Data/index.d.ts +0 -2
- package/lib/src/Lib/Data/index.js +0 -2
- package/lib/src/Lib/Data/index.js.map +1 -1
- package/lib/src/Lib/Types/Command/Command.d.ts +6 -6
- package/lib/src/Lib/Types/Command/Command.js +9 -9
- package/lib/src/Lib/Types/Command/Command.js.map +1 -1
- package/lib/src/Lib/Types/Command/Functions.d.ts +4 -4
- package/lib/src/Lib/Types/Command/Functions.js +11 -12
- package/lib/src/Lib/Types/Command/Functions.js.map +1 -1
- package/lib/src/Lib/Types/Command/Parameter.d.ts +1 -1
- package/lib/src/Lib/Types/Command/Parameter.js +1 -1
- package/lib/src/Lib/Types/Command/Parse.js +17 -17
- package/lib/src/Lib/Types/ParameterType.d.ts +2 -2
- package/lib/src/Lib/Types/ParameterType.js +2 -2
- package/lib/src/Lib/Types/ParameterType.js.map +1 -1
- package/package.json +1 -1
- package/lib/src/Lib/Data/Edu.d.ts +0 -2
- package/lib/src/Lib/Data/Edu.js +0 -110
- package/lib/src/Lib/Data/Edu.js.map +0 -1
- package/lib/src/Lib/Data/Vanilla/index.d.ts +0 -58
- package/lib/src/Lib/Data/Vanilla/index.js +0 -76
- package/lib/src/Lib/Data/Vanilla/index.js.map +0 -1
- package/lib/src/Lib/Data/Vanilla.js.map +0 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.give = void 0;
|
|
4
|
-
const
|
|
4
|
+
const ParameterType_1 = require("../../Types/ParameterType");
|
|
5
5
|
/**The give command */
|
|
6
6
|
exports.give = [
|
|
7
7
|
{
|
|
8
8
|
name: "give",
|
|
9
9
|
documentation: "Gives an item to a player.",
|
|
10
10
|
parameters: [
|
|
11
|
-
{ text: "give", type:
|
|
11
|
+
{ text: "give", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
12
12
|
{
|
|
13
13
|
text: "player",
|
|
14
|
-
type:
|
|
14
|
+
type: ParameterType_1.ParameterType.selector,
|
|
15
15
|
required: true,
|
|
16
16
|
options: { playerOnly: true },
|
|
17
17
|
},
|
|
18
|
-
{ text: "item name", type:
|
|
19
|
-
{ text: "amount", type:
|
|
20
|
-
{ text: "data", type:
|
|
21
|
-
{ text: "components", type:
|
|
18
|
+
{ text: "item name", type: ParameterType_1.ParameterType.item, required: true },
|
|
19
|
+
{ text: "amount", type: ParameterType_1.ParameterType.integer, required: false },
|
|
20
|
+
{ text: "data", type: ParameterType_1.ParameterType.integer, required: false },
|
|
21
|
+
{ text: "components", type: ParameterType_1.ParameterType.jsonItem, required: false },
|
|
22
22
|
],
|
|
23
23
|
},
|
|
24
24
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"give.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/give.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"give.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/give.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;AAG1D,sBAAsB;AACT,QAAA,IAAI,GAAkB;IACjC;QACE,IAAI,EAAE,MAAM;QACZ,aAAa,EAAE,4BAA4B;QAC3C,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,6BAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC7D;gBACE,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,6BAAa,CAAC,QAAQ;gBAC5B,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;aAC9B;YACD,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,6BAAa,CAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,6BAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;YAChE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,6BAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;YAC9D,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,6BAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;SACtE;KACF;CACF,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.kick = void 0;
|
|
4
|
-
const
|
|
4
|
+
const ParameterType_1 = require("../../Types/ParameterType");
|
|
5
5
|
/**The kick command */
|
|
6
6
|
exports.kick = [
|
|
7
7
|
{
|
|
8
8
|
name: "kick",
|
|
9
9
|
documentation: "Kicks the specified players.",
|
|
10
10
|
parameters: [
|
|
11
|
-
{ text: "kick", type:
|
|
11
|
+
{ text: "kick", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
12
12
|
{
|
|
13
13
|
text: "selector",
|
|
14
|
-
type:
|
|
14
|
+
type: ParameterType_1.ParameterType.selector,
|
|
15
15
|
required: false,
|
|
16
16
|
options: { playerOnly: true },
|
|
17
17
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kick.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/kick.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"kick.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/kick.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;AAG1D,sBAAsB;AACT,QAAA,IAAI,GAAkB;IACjC;QACE,IAAI,EAAE,MAAM;QACZ,aAAa,EAAE,8BAA8B;QAC7C,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,6BAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC7D;gBACE,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,6BAAa,CAAC,QAAQ;gBAC5B,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE;aAC9B;SACF;KACF;CACF,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.kill = void 0;
|
|
4
|
-
const
|
|
4
|
+
const ParameterType_1 = require("../../Types/ParameterType");
|
|
5
5
|
/**The kill command */
|
|
6
6
|
exports.kill = [
|
|
7
7
|
{
|
|
8
8
|
name: "kill",
|
|
9
9
|
documentation: "Kills entities (players, mobs, items, etc.).",
|
|
10
10
|
parameters: [
|
|
11
|
-
{ text: "kill", type:
|
|
12
|
-
{ text: "selector", type:
|
|
11
|
+
{ text: "kill", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "selector", type: ParameterType_1.ParameterType.selector, required: false },
|
|
13
13
|
],
|
|
14
14
|
},
|
|
15
15
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kill.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/kill.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"kill.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/kill.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;AAG1D,sBAAsB;AACT,QAAA,IAAI,GAAkB;IACjC;QACE,IAAI,EAAE,MAAM;QACZ,aAAa,EAAE,8CAA8C;QAC7D,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,6BAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC7D,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,6BAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE;SACpE;KACF;CACF,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.locate = void 0;
|
|
4
|
-
const
|
|
4
|
+
const ParameterType_1 = require("../../Types/ParameterType");
|
|
5
5
|
/**The locate command */
|
|
6
6
|
exports.locate = [
|
|
7
7
|
{
|
|
8
8
|
name: "locate",
|
|
9
9
|
documentation: "Displays the coordinates for the closest structure of a given type.",
|
|
10
10
|
parameters: [
|
|
11
|
-
{ text: "locate", type:
|
|
12
|
-
{ text: "feature", type:
|
|
11
|
+
{ text: "locate", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "feature", type: ParameterType_1.ParameterType.locateFeature, required: true },
|
|
13
13
|
],
|
|
14
14
|
},
|
|
15
15
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locate.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/locate.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"locate.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/locate.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;AAG1D,wBAAwB;AACX,QAAA,MAAM,GAAkB;IACnC;QACE,IAAI,EAAE,QAAQ;QACd,aAAa,EAAE,qEAAqE;QACpF,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,6BAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/D,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,6BAAa,CAAC,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE;SACvE;KACF;CACF,CAAC"}
|