bc-minecraft-bedrock-command 1.19.41-4 → 1.19.42-0
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 +5 -2
- package/lib/src/Lib/Data/CommandData.js +133 -3
- package/lib/src/Lib/Data/CommandData.js.map +1 -1
- package/lib/src/Lib/Data/Vanilla/tp.d.ts +3 -0
- package/lib/src/Lib/Data/Vanilla/tp.js +369 -0
- package/lib/src/Lib/Data/Vanilla/tp.js.map +1 -0
- package/lib/src/Lib/Types/Command/Functions.js +7 -7
- package/lib/src/Lib/Types/Command/Functions.js.map +1 -1
- package/package.json +2 -2
- package/lib/src/Lib/Data/Commands.d.ts +0 -7
- package/lib/src/Lib/Data/Commands.js +0 -138
- package/lib/src/Lib/Data/Commands.js.map +0 -1
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { CommandContainer } from "./CommandContainer";
|
|
1
2
|
/** The minecraft command data set */
|
|
2
3
|
export declare namespace CommandData {
|
|
3
4
|
/** The edu command data set */
|
|
4
|
-
const Edu:
|
|
5
|
+
const Edu: CommandContainer;
|
|
5
6
|
/** The vanilla command data set */
|
|
6
|
-
const Vanilla:
|
|
7
|
+
const Vanilla: CommandContainer;
|
|
8
|
+
const VanillaCommands: string[];
|
|
9
|
+
const EduCommands: string[];
|
|
7
10
|
}
|
|
@@ -1,13 +1,143 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CommandData = void 0;
|
|
4
|
-
const
|
|
4
|
+
const ability_1 = require("./Edu/ability");
|
|
5
|
+
const alwaysday_1 = require("./Vanilla/alwaysday");
|
|
6
|
+
const camerashake_1 = require("./Vanilla/camerashake");
|
|
7
|
+
const classroommode_1 = require("./Edu/classroommode");
|
|
8
|
+
const clear_1 = require("./Vanilla/clear");
|
|
9
|
+
const clearspawnpoint_1 = require("./Vanilla/clearspawnpoint");
|
|
10
|
+
const clone_1 = require("./Vanilla/clone");
|
|
11
|
+
const code_1 = require("./Edu/code");
|
|
12
|
+
const damage_1 = require("./Vanilla/damage");
|
|
13
|
+
const daylock_1 = require("./Vanilla/daylock");
|
|
14
|
+
const deop_1 = require("./Vanilla/deop");
|
|
15
|
+
const dialogue_1 = require("./Vanilla/dialogue");
|
|
16
|
+
const difficulty_1 = require("./Vanilla/difficulty");
|
|
17
|
+
const effect_1 = require("./Vanilla/effect");
|
|
18
|
+
const enchant_1 = require("./Vanilla/enchant");
|
|
19
|
+
const event_1 = require("./Vanilla/event");
|
|
20
|
+
const execute_1 = require("./Vanilla/execute");
|
|
21
|
+
const fill_1 = require("./Vanilla/fill");
|
|
22
|
+
const fog_1 = require("./Vanilla/fog");
|
|
23
|
+
const function_1 = require("./Vanilla/function");
|
|
24
|
+
const gamemode_1 = require("./Vanilla/gamemode");
|
|
25
|
+
const gamerule_1 = require("./Vanilla/gamerule");
|
|
26
|
+
const give_1 = require("./Vanilla/give");
|
|
27
|
+
const immutableworld_1 = require("./Edu/immutableworld");
|
|
28
|
+
const kick_1 = require("./Vanilla/kick");
|
|
29
|
+
const kill_1 = require("./Vanilla/kill");
|
|
30
|
+
const locate_1 = require("./Vanilla/locate");
|
|
31
|
+
const loot_1 = require("./Vanilla/loot");
|
|
32
|
+
const me_1 = require("./Vanilla/me");
|
|
33
|
+
const msg_1 = require("./Vanilla/msg");
|
|
34
|
+
const music_1 = require("./Vanilla/music");
|
|
35
|
+
const op_1 = require("./Vanilla/op");
|
|
36
|
+
const particle_1 = require("./Vanilla/particle");
|
|
37
|
+
const playanimation_1 = require("./Vanilla/playanimation");
|
|
38
|
+
const playsound_1 = require("./Vanilla/playsound");
|
|
39
|
+
const replaceitem_1 = require("./Vanilla/replaceitem");
|
|
40
|
+
const ride_1 = require("./Vanilla/ride");
|
|
41
|
+
const say_1 = require("./Vanilla/say");
|
|
42
|
+
const schedule_1 = require("./Vanilla/schedule");
|
|
43
|
+
const scoreboard_1 = require("./Vanilla/scoreboard");
|
|
44
|
+
const setblock_1 = require("./Vanilla/setblock");
|
|
45
|
+
const setmaxplayers_1 = require("./Vanilla/setmaxplayers");
|
|
46
|
+
const setworldspawn_1 = require("./Vanilla/setworldspawn");
|
|
47
|
+
const spawnpoint_1 = require("./Vanilla/spawnpoint");
|
|
48
|
+
const spreadplayers_1 = require("./Vanilla/spreadplayers");
|
|
49
|
+
const stopsound_1 = require("./Vanilla/stopsound");
|
|
50
|
+
const structure_1 = require("./Vanilla/structure");
|
|
51
|
+
const summon_1 = require("./Vanilla/summon");
|
|
52
|
+
const tag_1 = require("./Vanilla/tag");
|
|
53
|
+
const teleport_1 = require("./Vanilla/teleport");
|
|
54
|
+
const tell_1 = require("./Vanilla/tell");
|
|
55
|
+
const tellraw_1 = require("./Vanilla/tellraw");
|
|
56
|
+
const testfor_1 = require("./Vanilla/testfor");
|
|
57
|
+
const testforblock_1 = require("./Vanilla/testforblock");
|
|
58
|
+
const tickingarea_1 = require("./Vanilla/tickingarea");
|
|
59
|
+
const time_1 = require("./Vanilla/time");
|
|
60
|
+
const title_1 = require("./Vanilla/title");
|
|
61
|
+
const titleraw_1 = require("./Vanilla/titleraw");
|
|
62
|
+
const toggledownfall_1 = require("./Vanilla/toggledownfall");
|
|
63
|
+
const tp_1 = require("./Vanilla/tp");
|
|
64
|
+
const w_1 = require("./Vanilla/w");
|
|
65
|
+
const weather_1 = require("./Vanilla/weather");
|
|
66
|
+
const xp_1 = require("./Vanilla/xp");
|
|
5
67
|
/** The minecraft command data set */
|
|
6
68
|
var CommandData;
|
|
7
69
|
(function (CommandData) {
|
|
8
70
|
/** The edu command data set */
|
|
9
|
-
CommandData.Edu =
|
|
71
|
+
CommandData.Edu = {
|
|
72
|
+
ability: ability_1.ability,
|
|
73
|
+
classroommode: classroommode_1.classroommode,
|
|
74
|
+
code: code_1.code,
|
|
75
|
+
gamerule: gamerule_1.gamerule,
|
|
76
|
+
immutableworld: immutableworld_1.immutableworld,
|
|
77
|
+
};
|
|
10
78
|
/** The vanilla command data set */
|
|
11
|
-
CommandData.Vanilla =
|
|
79
|
+
CommandData.Vanilla = {
|
|
80
|
+
alwaysday: alwaysday_1.alwaysday,
|
|
81
|
+
camerashake: camerashake_1.camerashake,
|
|
82
|
+
clear: clear_1.clear,
|
|
83
|
+
clearspawnpoint: clearspawnpoint_1.clearspawnpoint,
|
|
84
|
+
clone: clone_1.clone,
|
|
85
|
+
damage: damage_1.damage,
|
|
86
|
+
daylock: daylock_1.daylock,
|
|
87
|
+
dialogue: dialogue_1.dialogue,
|
|
88
|
+
difficulty: difficulty_1.difficulty,
|
|
89
|
+
deop: deop_1.deop,
|
|
90
|
+
effect: effect_1.effect,
|
|
91
|
+
enchant: enchant_1.enchant,
|
|
92
|
+
event: event_1.event,
|
|
93
|
+
execute: execute_1.execute,
|
|
94
|
+
fill: fill_1.fill,
|
|
95
|
+
fog: fog_1.fog,
|
|
96
|
+
function: function_1.Function,
|
|
97
|
+
gamemode: gamemode_1.gamemode,
|
|
98
|
+
gamerule: gamerule_1.gamerule,
|
|
99
|
+
give: give_1.give,
|
|
100
|
+
kick: kick_1.kick,
|
|
101
|
+
kill: kill_1.kill,
|
|
102
|
+
locate: locate_1.locate,
|
|
103
|
+
loot: loot_1.loot,
|
|
104
|
+
me: me_1.me,
|
|
105
|
+
msg: msg_1.msg,
|
|
106
|
+
music: music_1.music,
|
|
107
|
+
op: op_1.op,
|
|
108
|
+
particle: particle_1.particle,
|
|
109
|
+
playsound: playsound_1.playsound,
|
|
110
|
+
playanimation: playanimation_1.playanimation,
|
|
111
|
+
replaceitem: replaceitem_1.replaceitem,
|
|
112
|
+
ride: ride_1.ride,
|
|
113
|
+
say: say_1.say,
|
|
114
|
+
schedule: schedule_1.schedule,
|
|
115
|
+
scoreboard: scoreboard_1.scoreboard,
|
|
116
|
+
setblock: setblock_1.setblock,
|
|
117
|
+
setworldspawn: setworldspawn_1.setworldspawn,
|
|
118
|
+
setmaxplayers: setmaxplayers_1.setmaxplayers,
|
|
119
|
+
spawnpoint: spawnpoint_1.spawnpoint,
|
|
120
|
+
spreadplayers: spreadplayers_1.spreadplayers,
|
|
121
|
+
stopsound: stopsound_1.stopsound,
|
|
122
|
+
structure: structure_1.structure,
|
|
123
|
+
summon: summon_1.summon,
|
|
124
|
+
tag: tag_1.tag,
|
|
125
|
+
tell: tell_1.tell,
|
|
126
|
+
tellraw: tellraw_1.tellraw,
|
|
127
|
+
testfor: testfor_1.testfor,
|
|
128
|
+
testforblock: testforblock_1.testforblock,
|
|
129
|
+
tickingarea: tickingarea_1.tickingarea,
|
|
130
|
+
time: time_1.time,
|
|
131
|
+
title: title_1.title,
|
|
132
|
+
titleraw: titleraw_1.titleraw,
|
|
133
|
+
toggledownfall: toggledownfall_1.toggledownfall,
|
|
134
|
+
tp: tp_1.tp,
|
|
135
|
+
teleport: teleport_1.teleport,
|
|
136
|
+
w: w_1.w,
|
|
137
|
+
weather: weather_1.weather,
|
|
138
|
+
xp: xp_1.xp,
|
|
139
|
+
};
|
|
140
|
+
CommandData.VanillaCommands = Object.keys(CommandData.Vanilla);
|
|
141
|
+
CommandData.EduCommands = Object.keys(CommandData.Edu);
|
|
12
142
|
})(CommandData = exports.CommandData || (exports.CommandData = {}));
|
|
13
143
|
//# sourceMappingURL=CommandData.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandData.js","sourceRoot":"","sources":["../../../../src/Lib/Data/CommandData.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"CommandData.js","sourceRoot":"","sources":["../../../../src/Lib/Data/CommandData.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AACxC,mDAAgD;AAChD,uDAAoD;AACpD,uDAAoD;AACpD,2CAAwC;AACxC,+DAA4D;AAC5D,2CAAwC;AACxC,qCAAkC;AAElC,6CAA0C;AAC1C,+CAA4C;AAC5C,yCAAsC;AACtC,iDAA8C;AAC9C,qDAAkD;AAClD,6CAA0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MAAM,CAAC,IAAI,CAAC,YAAA,OAAO,CAAC,CAAC;IACvC,uBAAW,GAAG,MAAM,CAAC,IAAI,CAAC,YAAA,GAAG,CAAC,CAAC;AAC9C,CAAC,EA3EgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QA2E3B"}
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.tp = void 0;
|
|
4
|
+
const ParameterType_1 = require("../../Types/ParameterType");
|
|
5
|
+
/**The teleport command */
|
|
6
|
+
exports.tp = [
|
|
7
|
+
{
|
|
8
|
+
name: "tp",
|
|
9
|
+
documentation: "Teleport Entities.",
|
|
10
|
+
parameters: [
|
|
11
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
12
|
+
{ text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
|
|
13
|
+
{
|
|
14
|
+
text: "check for blocks",
|
|
15
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
16
|
+
required: false,
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
name: "tp",
|
|
22
|
+
documentation: "Teleport Entities.",
|
|
23
|
+
parameters: [
|
|
24
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
25
|
+
{
|
|
26
|
+
text: "destination x",
|
|
27
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
28
|
+
required: true,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
text: "destination y",
|
|
32
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
text: "destination z",
|
|
37
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
38
|
+
required: true,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
text: "check for blocks",
|
|
42
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
43
|
+
required: false,
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "tp",
|
|
49
|
+
documentation: "Teleport Entities.",
|
|
50
|
+
parameters: [
|
|
51
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
52
|
+
{ text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
|
|
53
|
+
{ text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
|
|
54
|
+
{
|
|
55
|
+
text: "check for blocks",
|
|
56
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
57
|
+
required: false,
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: "tp",
|
|
63
|
+
documentation: "Teleport Entities.",
|
|
64
|
+
parameters: [
|
|
65
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
66
|
+
{ text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
|
|
67
|
+
{
|
|
68
|
+
text: "destination x",
|
|
69
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
70
|
+
required: true,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
text: "destination y",
|
|
74
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
75
|
+
required: true,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
text: "destination z",
|
|
79
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
80
|
+
required: true,
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
text: "check for blocks",
|
|
84
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
85
|
+
required: false,
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: "tp",
|
|
91
|
+
documentation: "Teleport Entities.",
|
|
92
|
+
parameters: [
|
|
93
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
94
|
+
{ text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
|
|
95
|
+
{ text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
|
|
96
|
+
{ text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
|
|
97
|
+
{
|
|
98
|
+
text: "check for blocks",
|
|
99
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
100
|
+
required: false,
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "tp",
|
|
106
|
+
documentation: "Teleport Entities.",
|
|
107
|
+
parameters: [
|
|
108
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
109
|
+
{
|
|
110
|
+
text: "destination x",
|
|
111
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
112
|
+
required: true,
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
text: "destination y",
|
|
116
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
117
|
+
required: true,
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
text: "destination z",
|
|
121
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
122
|
+
required: true,
|
|
123
|
+
},
|
|
124
|
+
{ text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
|
|
125
|
+
{ text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
|
|
126
|
+
{
|
|
127
|
+
text: "check for blocks",
|
|
128
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
129
|
+
required: false,
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: "tp",
|
|
135
|
+
documentation: "Teleport the entity to the destination with rotation.",
|
|
136
|
+
parameters: [
|
|
137
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
138
|
+
{ text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
|
|
139
|
+
{ text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
|
|
140
|
+
{ text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
141
|
+
{ text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
|
|
142
|
+
{ text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
|
|
143
|
+
{
|
|
144
|
+
text: "check for blocks",
|
|
145
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
146
|
+
required: false,
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: "tp",
|
|
152
|
+
documentation: "Teleport Entities.",
|
|
153
|
+
parameters: [
|
|
154
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
155
|
+
{ text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
|
|
156
|
+
{
|
|
157
|
+
text: "destination x",
|
|
158
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
159
|
+
required: true,
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
text: "destination y",
|
|
163
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
164
|
+
required: true,
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
text: "destination z",
|
|
168
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
169
|
+
required: true,
|
|
170
|
+
},
|
|
171
|
+
{ text: "yRot", type: ParameterType_1.ParameterType.coordinate, required: false },
|
|
172
|
+
{ text: "xRot", type: ParameterType_1.ParameterType.coordinate, required: false },
|
|
173
|
+
{
|
|
174
|
+
text: "check for blocks",
|
|
175
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
176
|
+
required: false,
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: "tp",
|
|
182
|
+
documentation: "Teleport Entities.",
|
|
183
|
+
parameters: [
|
|
184
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
185
|
+
{ text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
|
|
186
|
+
{ text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
187
|
+
{ text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
|
|
188
|
+
{
|
|
189
|
+
text: "check for blocks",
|
|
190
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
191
|
+
required: false,
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: "tp",
|
|
197
|
+
documentation: "Teleport Entities.",
|
|
198
|
+
parameters: [
|
|
199
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
200
|
+
{ text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
|
|
201
|
+
{ text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
202
|
+
{ text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
203
|
+
{ text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
204
|
+
{ text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
205
|
+
{
|
|
206
|
+
text: "check for blocks",
|
|
207
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
208
|
+
required: false,
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
name: "tp",
|
|
214
|
+
documentation: "Teleport Entities.",
|
|
215
|
+
parameters: [
|
|
216
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
217
|
+
{ text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
|
|
218
|
+
{ text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
|
|
219
|
+
{ text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
220
|
+
{ text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
|
|
221
|
+
{
|
|
222
|
+
text: "check for blocks",
|
|
223
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
224
|
+
required: false,
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: "tp",
|
|
230
|
+
documentation: "Teleport Entities.",
|
|
231
|
+
parameters: [
|
|
232
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
233
|
+
{ text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
|
|
234
|
+
{ text: "destination", type: ParameterType_1.ParameterType.selector, required: true },
|
|
235
|
+
{ text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
236
|
+
{ text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
237
|
+
{ text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
238
|
+
{ text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
239
|
+
{
|
|
240
|
+
text: "check for blocks",
|
|
241
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
242
|
+
required: false,
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: "tp",
|
|
248
|
+
documentation: "Teleport Entities.",
|
|
249
|
+
parameters: [
|
|
250
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
251
|
+
{
|
|
252
|
+
text: "destination x",
|
|
253
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
254
|
+
required: true,
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
text: "destination y",
|
|
258
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
259
|
+
required: true,
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
text: "destination z",
|
|
263
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
264
|
+
required: true,
|
|
265
|
+
},
|
|
266
|
+
{ text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
267
|
+
{ text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
|
|
268
|
+
{
|
|
269
|
+
text: "check for blocks",
|
|
270
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
271
|
+
required: false,
|
|
272
|
+
},
|
|
273
|
+
],
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
name: "tp",
|
|
277
|
+
documentation: "Teleport Entities.",
|
|
278
|
+
parameters: [
|
|
279
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
280
|
+
{
|
|
281
|
+
text: "destination x",
|
|
282
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
283
|
+
required: true,
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
text: "destination y",
|
|
287
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
288
|
+
required: true,
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
text: "destination z",
|
|
292
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
293
|
+
required: true,
|
|
294
|
+
},
|
|
295
|
+
{ text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
296
|
+
{ text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
297
|
+
{ text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
298
|
+
{ text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
299
|
+
{
|
|
300
|
+
text: "check for blocks",
|
|
301
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
302
|
+
required: false,
|
|
303
|
+
},
|
|
304
|
+
],
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: "tp",
|
|
308
|
+
documentation: "Teleport Entities.",
|
|
309
|
+
parameters: [
|
|
310
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
311
|
+
{ text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
|
|
312
|
+
{
|
|
313
|
+
text: "destination x",
|
|
314
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
315
|
+
required: true,
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
text: "destination y",
|
|
319
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
320
|
+
required: true,
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
text: "destination z",
|
|
324
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
325
|
+
required: true,
|
|
326
|
+
},
|
|
327
|
+
{ text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
328
|
+
{ text: "look at", type: ParameterType_1.ParameterType.selector, required: true },
|
|
329
|
+
{
|
|
330
|
+
text: "check for blocks",
|
|
331
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
332
|
+
required: false,
|
|
333
|
+
},
|
|
334
|
+
],
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
name: "tp",
|
|
338
|
+
documentation: "Teleport Entities.",
|
|
339
|
+
parameters: [
|
|
340
|
+
{ text: "tp", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
341
|
+
{ text: "victim", type: ParameterType_1.ParameterType.selector, required: true },
|
|
342
|
+
{
|
|
343
|
+
text: "destination x",
|
|
344
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
345
|
+
required: true,
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
text: "destination y",
|
|
349
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
350
|
+
required: true,
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
text: "destination z",
|
|
354
|
+
type: ParameterType_1.ParameterType.coordinate,
|
|
355
|
+
required: true,
|
|
356
|
+
},
|
|
357
|
+
{ text: "facing", type: ParameterType_1.ParameterType.keyword, required: true },
|
|
358
|
+
{ text: "look at x", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
359
|
+
{ text: "look at y", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
360
|
+
{ text: "look at z", type: ParameterType_1.ParameterType.coordinate, required: true },
|
|
361
|
+
{
|
|
362
|
+
text: "check for blocks",
|
|
363
|
+
type: ParameterType_1.ParameterType.boolean,
|
|
364
|
+
required: false,
|
|
365
|
+
},
|
|
366
|
+
],
|
|
367
|
+
},
|
|
368
|
+
];
|
|
369
|
+
//# sourceMappingURL=tp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tp.js","sourceRoot":"","sources":["../../../../../src/Lib/Data/Vanilla/tp.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;AAG1D,0BAA0B;AACb,QAAA,EAAE,GAAkB;IAC/B;QACE,IAAI,EAAE,IAAI;QACV,aAAa,EAAE,oBAAoB;QACnC,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,6BAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC3D,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,6BAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YACrE;gBACE,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,6BAAa,CAAC,OAAO;gBAC3B,QAAQ,EAAE,KAAK;aAChB;SACF;KACF;IACD;QACE,IAAI,EAAE,IAAI;QACV,aAAa,EAAE,oBAAoB;QACnC,UAAU,EAAE;YACV,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,6BAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC3D;gBACE,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,6BAAa,CAAC,UAAU;gBAC9B,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,6BAAa,CAAC,UAAU;gBAC9B,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,6BAAa,CAAC,UAAU;gBAC9B,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,6BAAa,CAAC,OAAO;gBAC3B,QAAQ,EAAE,KAAK;aAChB;SACF;KACF;IACD;QACE,IA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EAAE,IAAI,EAAE,IAAI,EAAE,6BAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC3D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,6BAAa,CAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;YAChE;gBACE,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,6BAAa,CAAC,UAAU;gBAC9B,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,6BAAa,CAAC,UAAU;gBAC9B,QAAQ,EAAE,IAAI;aACf;YACD;gBACE,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,6BAAa,CAAC,UAAU;gBAC9B,QAAQ,EAAE,IAAI;aACf;YACD,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,6BAAa,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE;YAC/D,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,6BAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;YACrE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,6BAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;YACrE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,6BAAa,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE;YACrE;gBACE,IAAI,EAAE,kBAAkB;gBACxB,IAAI,EAAE,6BAAa,CAAC,OAAO;gBAC3B,QAAQ,EAAE,KAAK;aAChB;SACF;KACF;CACF,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IsCommand = exports.hasCommandData = exports.getCommandData = exports.isMatch = exports.getBestMatches = void 0;
|
|
4
|
+
const Data_1 = require("../../Data");
|
|
4
5
|
const bc_minecraft_bedrock_types_1 = require("bc-minecraft-bedrock-types");
|
|
5
6
|
const ParameterType_1 = require("../ParameterType");
|
|
6
|
-
const Commands_1 = require("../../Data/Commands");
|
|
7
7
|
/**Gets the best matching commandinfo data, if multiple are returned, it unclear or somewhere not fully specified
|
|
8
8
|
* @param command The command to search through
|
|
9
9
|
* @param edu Whether or not to include education data
|
|
@@ -195,9 +195,9 @@ exports.isMatch = isMatch;
|
|
|
195
195
|
* @returns An array with commands info*/
|
|
196
196
|
function getCommandData(name, edu = false) {
|
|
197
197
|
const out = [];
|
|
198
|
-
Add(out,
|
|
198
|
+
Add(out, Data_1.CommandData.Vanilla[name]);
|
|
199
199
|
if (edu)
|
|
200
|
-
Add(out,
|
|
200
|
+
Add(out, Data_1.CommandData.Edu[name]);
|
|
201
201
|
return out;
|
|
202
202
|
}
|
|
203
203
|
exports.getCommandData = getCommandData;
|
|
@@ -206,9 +206,9 @@ exports.getCommandData = getCommandData;
|
|
|
206
206
|
* @param edu Whether or not to include education commands
|
|
207
207
|
* @returns An array with commands info*/
|
|
208
208
|
function hasCommandData(name, edu = false) {
|
|
209
|
-
if (
|
|
209
|
+
if (Data_1.CommandData.Vanilla[name])
|
|
210
210
|
return true;
|
|
211
|
-
if (edu &&
|
|
211
|
+
if (edu && Data_1.CommandData.Edu[name])
|
|
212
212
|
return true;
|
|
213
213
|
return false;
|
|
214
214
|
}
|
|
@@ -218,9 +218,9 @@ exports.hasCommandData = hasCommandData;
|
|
|
218
218
|
* @param edu Whether or not to include education commands
|
|
219
219
|
* @returns True or false*/
|
|
220
220
|
function IsCommand(command, edu = false) {
|
|
221
|
-
if (
|
|
221
|
+
if (Data_1.CommandData.Vanilla[command])
|
|
222
222
|
return true;
|
|
223
|
-
if (edu &&
|
|
223
|
+
if (edu && Data_1.CommandData.Edu[command])
|
|
224
224
|
return true;
|
|
225
225
|
return false;
|
|
226
226
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Functions.js","sourceRoot":"","sources":["../../../../../src/Lib/Types/Command/Functions.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Functions.js","sourceRoot":"","sources":["../../../../../src/Lib/Types/Command/Functions.ts"],"names":[],"mappings":";;;AACA,qCAAsD;AACtD,2EAAuE;AACvE,oDAAiD;AAEjD;;;yCAGyC;AACzC,SAAgB,cAAc,CAAC,OAAgB,EAAE,MAAe,KAAK;IACnE,MAAM,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAEtC,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,CAAC,CAAC;IAE7B,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;AACnD,CAAC;AAND,wCAMC;AAED;;;;mEAImE;AACnE,SAAgB,OAAO,CAAC,OAAgB,EAAE,IAAiB,EAAE,MAAe,KAAK;;IAC/E,IAAI,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;IAEnC,IAAI,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,EAAE;QACrC,KAAK,GAAG,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC;KACnC;IAED,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;QAC9B,MAAM,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QACzC,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC;QACpC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;QAElC,IAAI,MAAA,MAAA,MAAM,CAAC,OAAO,0CAAE,cAAc,0CAAE,QAAQ,CAAC,WAAW,CAAC,EAAE;YACzD,SAAS;SACV;QAED,QAAQ,MAAM,CAAC,IAAI,EAAE;YACnB,KAAK,6BAAa,CAAC,KAA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ACpE,IAAI,KAAK;QAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC;AACrC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bc-minecraft-bedrock-command",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.42-0",
|
|
4
4
|
"description": "A typescript package library that handles commands for minecraft bedrock",
|
|
5
5
|
"main": "./lib/src/main.js",
|
|
6
6
|
"types": "./lib/src/main.d.ts",
|
|
@@ -52,6 +52,6 @@
|
|
|
52
52
|
"typescript": "^4.7.4"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"bc-minecraft-bedrock-types": "^1.4.
|
|
55
|
+
"bc-minecraft-bedrock-types": "^1.4.11"
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CommandContainer } from "./CommandContainer";
|
|
2
|
-
/** Vanilla commands */
|
|
3
|
-
export declare const Vanilla: CommandContainer;
|
|
4
|
-
/** Edu commands */
|
|
5
|
-
export declare const Edu: CommandContainer;
|
|
6
|
-
export declare const VanillaCommands: string[];
|
|
7
|
-
export declare const EduCommands: string[];
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EduCommands = exports.VanillaCommands = exports.Edu = exports.Vanilla = void 0;
|
|
4
|
-
const alwaysday_1 = require("./Vanilla/alwaysday");
|
|
5
|
-
const camerashake_1 = require("./Vanilla/camerashake");
|
|
6
|
-
const clear_1 = require("./Vanilla/clear");
|
|
7
|
-
const clearspawnpoint_1 = require("./Vanilla/clearspawnpoint");
|
|
8
|
-
const clone_1 = require("./Vanilla/clone");
|
|
9
|
-
const damage_1 = require("./Vanilla/damage");
|
|
10
|
-
const daylock_1 = require("./Vanilla/daylock");
|
|
11
|
-
const deop_1 = require("./Vanilla/deop");
|
|
12
|
-
const dialogue_1 = require("./Vanilla/dialogue");
|
|
13
|
-
const difficulty_1 = require("./Vanilla/difficulty");
|
|
14
|
-
const effect_1 = require("./Vanilla/effect");
|
|
15
|
-
const event_1 = require("./Vanilla/event");
|
|
16
|
-
const enchant_1 = require("./Vanilla/enchant");
|
|
17
|
-
const execute_1 = require("./Vanilla/execute");
|
|
18
|
-
const fill_1 = require("./Vanilla/fill");
|
|
19
|
-
const function_1 = require("./Vanilla/function");
|
|
20
|
-
const fog_1 = require("./Vanilla/fog");
|
|
21
|
-
const gamemode_1 = require("./Vanilla/gamemode");
|
|
22
|
-
const gamerule_1 = require("./Vanilla/gamerule");
|
|
23
|
-
const give_1 = require("./Vanilla/give");
|
|
24
|
-
const kick_1 = require("./Vanilla/kick");
|
|
25
|
-
const kill_1 = require("./Vanilla/kill");
|
|
26
|
-
const locate_1 = require("./Vanilla/locate");
|
|
27
|
-
const loot_1 = require("./Vanilla/loot");
|
|
28
|
-
const me_1 = require("./Vanilla/me");
|
|
29
|
-
const msg_1 = require("./Vanilla/msg");
|
|
30
|
-
const music_1 = require("./Vanilla/music");
|
|
31
|
-
const op_1 = require("./Vanilla/op");
|
|
32
|
-
const particle_1 = require("./Vanilla/particle");
|
|
33
|
-
const playanimation_1 = require("./Vanilla/playanimation");
|
|
34
|
-
const playsound_1 = require("./Vanilla/playsound");
|
|
35
|
-
const replaceitem_1 = require("./Vanilla/replaceitem");
|
|
36
|
-
const ride_1 = require("./Vanilla/ride");
|
|
37
|
-
const say_1 = require("./Vanilla/say");
|
|
38
|
-
const schedule_1 = require("./Vanilla/schedule");
|
|
39
|
-
const scoreboard_1 = require("./Vanilla/scoreboard");
|
|
40
|
-
const setblock_1 = require("./Vanilla/setblock");
|
|
41
|
-
const setmaxplayers_1 = require("./Vanilla/setmaxplayers");
|
|
42
|
-
const setworldspawn_1 = require("./Vanilla/setworldspawn");
|
|
43
|
-
const spawnpoint_1 = require("./Vanilla/spawnpoint");
|
|
44
|
-
const spreadplayers_1 = require("./Vanilla/spreadplayers");
|
|
45
|
-
const stopsound_1 = require("./Vanilla/stopsound");
|
|
46
|
-
const structure_1 = require("./Vanilla/structure");
|
|
47
|
-
const summon_1 = require("./Vanilla/summon");
|
|
48
|
-
const tag_1 = require("./Vanilla/tag");
|
|
49
|
-
const teleport_1 = require("./Vanilla/teleport");
|
|
50
|
-
const tell_1 = require("./Vanilla/tell");
|
|
51
|
-
const tellraw_1 = require("./Vanilla/tellraw");
|
|
52
|
-
const testfor_1 = require("./Vanilla/testfor");
|
|
53
|
-
const testforblock_1 = require("./Vanilla/testforblock");
|
|
54
|
-
const tickingarea_1 = require("./Vanilla/tickingarea");
|
|
55
|
-
const time_1 = require("./Vanilla/time");
|
|
56
|
-
const title_1 = require("./Vanilla/title");
|
|
57
|
-
const titleraw_1 = require("./Vanilla/titleraw");
|
|
58
|
-
const toggledownfall_1 = require("./Vanilla/toggledownfall");
|
|
59
|
-
const w_1 = require("./Vanilla/w");
|
|
60
|
-
const weather_1 = require("./Vanilla/weather");
|
|
61
|
-
const xp_1 = require("./Vanilla/xp");
|
|
62
|
-
const ability_1 = require("./Edu/ability");
|
|
63
|
-
const classroommode_1 = require("./Edu/classroommode");
|
|
64
|
-
const code_1 = require("./Edu/code");
|
|
65
|
-
const immutableworld_1 = require("./Edu/immutableworld");
|
|
66
|
-
/** Vanilla commands */
|
|
67
|
-
exports.Vanilla = {
|
|
68
|
-
alwaysday: alwaysday_1.alwaysday,
|
|
69
|
-
camerashake: camerashake_1.camerashake,
|
|
70
|
-
clear: clear_1.clear,
|
|
71
|
-
clearspawnpoint: clearspawnpoint_1.clearspawnpoint,
|
|
72
|
-
clone: clone_1.clone,
|
|
73
|
-
damage: damage_1.damage,
|
|
74
|
-
daylock: daylock_1.daylock,
|
|
75
|
-
dialogue: dialogue_1.dialogue,
|
|
76
|
-
difficulty: difficulty_1.difficulty,
|
|
77
|
-
deop: deop_1.deop,
|
|
78
|
-
effect: effect_1.effect,
|
|
79
|
-
enchant: enchant_1.enchant,
|
|
80
|
-
event: event_1.event,
|
|
81
|
-
execute: execute_1.execute,
|
|
82
|
-
fill: fill_1.fill,
|
|
83
|
-
fog: fog_1.fog,
|
|
84
|
-
function: function_1.Function,
|
|
85
|
-
gamemode: gamemode_1.gamemode,
|
|
86
|
-
gamerule: gamerule_1.gamerule,
|
|
87
|
-
give: give_1.give,
|
|
88
|
-
kick: kick_1.kick,
|
|
89
|
-
kill: kill_1.kill,
|
|
90
|
-
locate: locate_1.locate,
|
|
91
|
-
loot: loot_1.loot,
|
|
92
|
-
me: me_1.me,
|
|
93
|
-
msg: msg_1.msg,
|
|
94
|
-
music: music_1.music,
|
|
95
|
-
op: op_1.op,
|
|
96
|
-
particle: particle_1.particle,
|
|
97
|
-
playsound: playsound_1.playsound,
|
|
98
|
-
playanimation: playanimation_1.playanimation,
|
|
99
|
-
replaceitem: replaceitem_1.replaceitem,
|
|
100
|
-
ride: ride_1.ride,
|
|
101
|
-
say: say_1.say,
|
|
102
|
-
schedule: schedule_1.schedule,
|
|
103
|
-
scoreboard: scoreboard_1.scoreboard,
|
|
104
|
-
setblock: setblock_1.setblock,
|
|
105
|
-
setworldspawn: setworldspawn_1.setworldspawn,
|
|
106
|
-
setmaxplayers: setmaxplayers_1.setmaxplayers,
|
|
107
|
-
spawnpoint: spawnpoint_1.spawnpoint,
|
|
108
|
-
spreadplayers: spreadplayers_1.spreadplayers,
|
|
109
|
-
stopsound: stopsound_1.stopsound,
|
|
110
|
-
structure: structure_1.structure,
|
|
111
|
-
summon: summon_1.summon,
|
|
112
|
-
tag: tag_1.tag,
|
|
113
|
-
tell: tell_1.tell,
|
|
114
|
-
tellraw: tellraw_1.tellraw,
|
|
115
|
-
testfor: testfor_1.testfor,
|
|
116
|
-
testforblock: testforblock_1.testforblock,
|
|
117
|
-
tickingarea: tickingarea_1.tickingarea,
|
|
118
|
-
time: time_1.time,
|
|
119
|
-
title: title_1.title,
|
|
120
|
-
titleraw: titleraw_1.titleraw,
|
|
121
|
-
toggledownfall: toggledownfall_1.toggledownfall,
|
|
122
|
-
tp: teleport_1.teleport,
|
|
123
|
-
teleport: teleport_1.teleport,
|
|
124
|
-
w: w_1.w,
|
|
125
|
-
weather: weather_1.weather,
|
|
126
|
-
xp: xp_1.xp,
|
|
127
|
-
};
|
|
128
|
-
/** Edu commands */
|
|
129
|
-
exports.Edu = {
|
|
130
|
-
ability: ability_1.ability,
|
|
131
|
-
classroommode: classroommode_1.classroommode,
|
|
132
|
-
code: code_1.code,
|
|
133
|
-
gamerule: gamerule_1.gamerule,
|
|
134
|
-
immutableworld: immutableworld_1.immutableworld,
|
|
135
|
-
};
|
|
136
|
-
exports.VanillaCommands = Object.keys(exports.Vanilla);
|
|
137
|
-
exports.EduCommands = Object.keys(exports.Edu);
|
|
138
|
-
//# sourceMappingURL=Commands.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Commands.js","sourceRoot":"","sources":["../../../../src/Lib/Data/Commands.ts"],"names":[],"mappings":";;;AACA,mDAAgD;AAChD,uDAAoD;AACpD,2CAAwC;AACxC,+DAA4D;AAC5D,2CAAwC;AACxC,6CAA0C;AAC1C,+CAA4C;AAC5C,yCAAsC;AACtC,iDAA8C;AAC9C,qDAAkD;AAClD,6CAA0C;AAC1C,2CAAwC;AACxC,+CAA4C;AAC5C,+CAA4C;AAC5C,yCAAsC;AACtC,iDAA8C;AAC9C,uCAAoC;AACpC,iDAA8C;AAC9C,iDAA8C;AAC9C,yCAAsC;AACtC,yCAAsC;AACtC,yCAAsC;AACtC,6CAA0C;AAC1C,yCAAsC;AACtC,qCAAkC;AAClC,uCAAoC;AACpC,2CAAwC;AACxC,qCAAkC;AAClC,iDAA8C;AAC9C,2DAAwD;AACxD,mDAAgD;AAChD,uDAAoD;AACpD,yCAAsC;AACtC,uCAAoC;AACpC,iDAA8C;AAC9C,qDAAkD;AAClD,iDAA8C;AAC9C,2DAAwD;AACxD,2DAAwD;AACxD,qDA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