bc-minecraft-bedrock-types 1.2.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/LICENSE +29 -0
- package/README.md +7 -0
- package/lib/src/General/Boolean.d.ts +11 -0
- package/lib/src/General/Boolean.js +37 -0
- package/lib/src/General/Boolean.js.map +1 -0
- package/lib/src/General/Float.d.ts +11 -0
- package/lib/src/General/Float.js +19 -0
- package/lib/src/General/Float.js.map +1 -0
- package/lib/src/General/Integer.d.ts +9 -0
- package/lib/src/General/Integer.js +17 -0
- package/lib/src/General/Integer.js.map +1 -0
- package/lib/src/General/Json.d.ts +11 -0
- package/lib/src/General/Json.js +26 -0
- package/lib/src/General/Json.js.map +1 -0
- package/lib/src/General/String.d.ts +7 -0
- package/lib/src/General/String.js +20 -0
- package/lib/src/General/String.js.map +1 -0
- package/lib/src/General/include.d.ts +5 -0
- package/lib/src/General/include.js +19 -0
- package/lib/src/General/include.js.map +1 -0
- package/lib/src/Minecraft/Block.d.ts +70 -0
- package/lib/src/Minecraft/Block.js +126 -0
- package/lib/src/Minecraft/Block.js.map +1 -0
- package/lib/src/Minecraft/Coordinate.d.ts +9 -0
- package/lib/src/Minecraft/Coordinate.js +17 -0
- package/lib/src/Minecraft/Coordinate.js.map +1 -0
- package/lib/src/Minecraft/Selector.d.ts +126 -0
- package/lib/src/Minecraft/Selector.js +278 -0
- package/lib/src/Minecraft/Selector.js.map +1 -0
- package/lib/src/Minecraft/Xp.d.ts +16 -0
- package/lib/src/Minecraft/Xp.js +33 -0
- package/lib/src/Minecraft/Xp.js.map +1 -0
- package/lib/src/Minecraft/include.d.ts +4 -0
- package/lib/src/Minecraft/include.js +18 -0
- package/lib/src/Minecraft/include.js.map +1 -0
- package/lib/src/Modes/CameraShake.d.ts +3 -0
- package/lib/src/Modes/CameraShake.js +12 -0
- package/lib/src/Modes/CameraShake.js.map +1 -0
- package/lib/src/Modes/Clone.d.ts +3 -0
- package/lib/src/Modes/Clone.js +16 -0
- package/lib/src/Modes/Clone.js.map +1 -0
- package/lib/src/Modes/Difficulty.d.ts +3 -0
- package/lib/src/Modes/Difficulty.js +22 -0
- package/lib/src/Modes/Difficulty.js.map +1 -0
- package/lib/src/Modes/Fill.d.ts +3 -0
- package/lib/src/Modes/Fill.js +15 -0
- package/lib/src/Modes/Fill.js.map +1 -0
- package/lib/src/Modes/GameMode.d.ts +3 -0
- package/lib/src/Modes/GameMode.js +19 -0
- package/lib/src/Modes/GameMode.js.map +1 -0
- package/lib/src/Modes/LocateFeature.d.ts +3 -0
- package/lib/src/Modes/LocateFeature.js +24 -0
- package/lib/src/Modes/LocateFeature.js.map +1 -0
- package/lib/src/Modes/Mask.d.ts +3 -0
- package/lib/src/Modes/Mask.js +13 -0
- package/lib/src/Modes/Mask.js.map +1 -0
- package/lib/src/Modes/Mirror.d.ts +3 -0
- package/lib/src/Modes/Mirror.js +14 -0
- package/lib/src/Modes/Mirror.js.map +1 -0
- package/lib/src/Modes/ModeCollection.d.ts +44 -0
- package/lib/src/Modes/ModeCollection.js +71 -0
- package/lib/src/Modes/ModeCollection.js.map +1 -0
- package/lib/src/Modes/ModeHandler.d.ts +30 -0
- package/lib/src/Modes/ModeHandler.js +40 -0
- package/lib/src/Modes/ModeHandler.js.map +1 -0
- package/lib/src/Modes/Modes.d.ts +46 -0
- package/lib/src/Modes/Modes.js +72 -0
- package/lib/src/Modes/Modes.js.map +1 -0
- package/lib/src/Modes/MusicRepeat.d.ts +3 -0
- package/lib/src/Modes/MusicRepeat.js +12 -0
- package/lib/src/Modes/MusicRepeat.js.map +1 -0
- package/lib/src/Modes/OldBlock.d.ts +3 -0
- package/lib/src/Modes/OldBlock.js +13 -0
- package/lib/src/Modes/OldBlock.js.map +1 -0
- package/lib/src/Modes/Operation.d.ts +3 -0
- package/lib/src/Modes/Operation.js +19 -0
- package/lib/src/Modes/Operation.js.map +1 -0
- package/lib/src/Modes/Replace.d.ts +3 -0
- package/lib/src/Modes/Replace.js +12 -0
- package/lib/src/Modes/Replace.js.map +1 -0
- package/lib/src/Modes/RideFill.d.ts +3 -0
- package/lib/src/Modes/RideFill.js +12 -0
- package/lib/src/Modes/RideFill.js.map +1 -0
- package/lib/src/Modes/RideRules.d.ts +3 -0
- package/lib/src/Modes/RideRules.js +13 -0
- package/lib/src/Modes/RideRules.js.map +1 -0
- package/lib/src/Modes/Rotation.d.ts +3 -0
- package/lib/src/Modes/Rotation.js +14 -0
- package/lib/src/Modes/Rotation.js.map +1 -0
- package/lib/src/Modes/Save.d.ts +3 -0
- package/lib/src/Modes/Save.js +12 -0
- package/lib/src/Modes/Save.js.map +1 -0
- package/lib/src/Modes/SelectorAttribute.d.ts +3 -0
- package/lib/src/Modes/SelectorAttribute.js +30 -0
- package/lib/src/Modes/SelectorAttribute.js.map +1 -0
- package/lib/src/Modes/SelectorType.d.ts +3 -0
- package/lib/src/Modes/SelectorType.js +18 -0
- package/lib/src/Modes/SelectorType.js.map +1 -0
- package/lib/src/Modes/SlotType.d.ts +18 -0
- package/lib/src/Modes/SlotType.js +22 -0
- package/lib/src/Modes/SlotType.js.map +1 -0
- package/lib/src/Modes/StructureAnimation.d.ts +3 -0
- package/lib/src/Modes/StructureAnimation.js +12 -0
- package/lib/src/Modes/StructureAnimation.js.map +1 -0
- package/lib/src/Modes/TeleportRules.d.ts +3 -0
- package/lib/src/Modes/TeleportRules.js +12 -0
- package/lib/src/Modes/TeleportRules.js.map +1 -0
- package/lib/src/Types/Conditional.d.ts +28 -0
- package/lib/src/Types/Conditional.js +58 -0
- package/lib/src/Types/Conditional.js.map +1 -0
- package/lib/src/Types/Definition.d.ts +42 -0
- package/lib/src/Types/Definition.js +73 -0
- package/lib/src/Types/Definition.js.map +1 -0
- package/lib/src/Types/DocumentLocation.d.ts +36 -0
- package/lib/src/Types/DocumentLocation.js +73 -0
- package/lib/src/Types/DocumentLocation.js.map +1 -0
- package/lib/src/Types/Documentated.d.ts +16 -0
- package/lib/src/Types/Documentated.js +30 -0
- package/lib/src/Types/Documentated.js.map +1 -0
- package/lib/src/Types/Identifiable.d.ts +34 -0
- package/lib/src/Types/Identifiable.js +60 -0
- package/lib/src/Types/Identifiable.js.map +1 -0
- package/lib/src/Types/JsonPath.d.ts +26 -0
- package/lib/src/Types/JsonPath.js +48 -0
- package/lib/src/Types/JsonPath.js.map +1 -0
- package/lib/src/Types/Locatable.d.ts +20 -0
- package/lib/src/Types/Locatable.js +31 -0
- package/lib/src/Types/Locatable.js.map +1 -0
- package/lib/src/Types/Location.d.ts +29 -0
- package/lib/src/Types/Location.js +39 -0
- package/lib/src/Types/Location.js.map +1 -0
- package/lib/src/Types/Position.d.ts +40 -0
- package/lib/src/Types/Position.js +78 -0
- package/lib/src/Types/Position.js.map +1 -0
- package/lib/src/Types/Range.d.ts +31 -0
- package/lib/src/Types/Range.js +40 -0
- package/lib/src/Types/Range.js.map +1 -0
- package/lib/src/Types/include.d.ts +10 -0
- package/lib/src/Types/include.js +24 -0
- package/lib/src/Types/include.js.map +1 -0
- package/lib/src/main.d.ts +4 -0
- package/lib/src/main.js +18 -0
- package/lib/src/main.js.map +1 -0
- package/package.json +50 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Mode = exports.ModeCollection = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
var ModeCollection;
|
|
6
|
+
(function (ModeCollection) {
|
|
7
|
+
/**Checks if the given object is implements ModeCollection
|
|
8
|
+
* @param value
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
function is(value) {
|
|
12
|
+
if (value) {
|
|
13
|
+
const temp = value;
|
|
14
|
+
if (temp.name && temp.modes && Array.isArray(value.modes))
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
ModeCollection.is = is;
|
|
20
|
+
/**TODO add documentation
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
function isValue(Collection, value) {
|
|
24
|
+
const M = Collection.modes;
|
|
25
|
+
for (var I = 0; I < M.length; I++) {
|
|
26
|
+
const elemt = M[I];
|
|
27
|
+
if (elemt.name === value)
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
ModeCollection.isValue = isValue;
|
|
33
|
+
/**TODO add documentation
|
|
34
|
+
*
|
|
35
|
+
* @param Collection
|
|
36
|
+
* @param index
|
|
37
|
+
* @returns
|
|
38
|
+
*/
|
|
39
|
+
function get(Collection, index) {
|
|
40
|
+
if (typeof index === "string") {
|
|
41
|
+
const M = Collection.modes;
|
|
42
|
+
for (var I = 0; I < M.length; I++) {
|
|
43
|
+
const elemt = M[I];
|
|
44
|
+
if (elemt.name === index)
|
|
45
|
+
return elemt;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
return Collection.modes[index];
|
|
50
|
+
}
|
|
51
|
+
return undefined;
|
|
52
|
+
}
|
|
53
|
+
ModeCollection.get = get;
|
|
54
|
+
})(ModeCollection = exports.ModeCollection || (exports.ModeCollection = {}));
|
|
55
|
+
/** */
|
|
56
|
+
var Mode;
|
|
57
|
+
(function (Mode) {
|
|
58
|
+
/**TODO add documentation
|
|
59
|
+
*
|
|
60
|
+
* @param value
|
|
61
|
+
* @returns
|
|
62
|
+
*/
|
|
63
|
+
function is(value) {
|
|
64
|
+
if (typeof value === "object" && typeof value.name === "string" && typeof value.documentation === "string") {
|
|
65
|
+
return true;
|
|
66
|
+
}
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
69
|
+
Mode.is = is;
|
|
70
|
+
})(Mode = exports.Mode || (exports.Mode = {}));
|
|
71
|
+
//# sourceMappingURL=ModeCollection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModeCollection.js","sourceRoot":"","sources":["../../../src/Modes/ModeCollection.ts"],"names":[],"mappings":";;;AAkBA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AAC;IAde,kBAAG,MAclB,CAAA;AACH,CAAC,EAnDgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAmD9B;AAED,MAAM;AACN,IAAiB,IAAI,CAapB;AAbD,WAAiB,IAAI;IACnB;;;;OAIG;IACH,SAAgB,EAAE,CAAC,KAAU;QAC3B,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,aAAa,KAAK,QAAQ,EAAE;YAC1G,OAAO,IAAI,CAAC;SACb;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IANe,OAAE,KAMjB,CAAA;AACH,CAAC,EAbgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAapB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Mode, ModeCollection } from "./ModeCollection";
|
|
2
|
+
/**TODO add documentation
|
|
3
|
+
*
|
|
4
|
+
*/
|
|
5
|
+
export declare class ModeHandler implements ModeCollection {
|
|
6
|
+
/**The collection of different modes*/
|
|
7
|
+
modes: Mode[];
|
|
8
|
+
/**The name of the collection*/
|
|
9
|
+
name: string;
|
|
10
|
+
constructor(collection: ModeCollection);
|
|
11
|
+
/**TODO add documentation
|
|
12
|
+
*
|
|
13
|
+
* @param value
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
isValue(value: string): boolean;
|
|
17
|
+
/**TODO add documentation
|
|
18
|
+
*
|
|
19
|
+
* @param index
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
get(index: string | number): Mode | undefined;
|
|
23
|
+
/**TODO add documentation
|
|
24
|
+
*
|
|
25
|
+
* @param callbackfn
|
|
26
|
+
* @param thisArg
|
|
27
|
+
* @returns
|
|
28
|
+
*/
|
|
29
|
+
foreach(callbackfn: (value: Mode, index: number, array: Mode[]) => void, thisArg?: any): void;
|
|
30
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ModeHandler = void 0;
|
|
4
|
+
const ModeCollection_1 = require("./ModeCollection");
|
|
5
|
+
/**TODO add documentation
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
class ModeHandler {
|
|
9
|
+
constructor(collection) {
|
|
10
|
+
this.modes = collection.modes;
|
|
11
|
+
this.name = collection.name;
|
|
12
|
+
}
|
|
13
|
+
/**TODO add documentation
|
|
14
|
+
*
|
|
15
|
+
* @param value
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
isValue(value) {
|
|
19
|
+
return ModeCollection_1.ModeCollection.isValue(this, value);
|
|
20
|
+
}
|
|
21
|
+
/**TODO add documentation
|
|
22
|
+
*
|
|
23
|
+
* @param index
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
get(index) {
|
|
27
|
+
return ModeCollection_1.ModeCollection.get(this, index);
|
|
28
|
+
}
|
|
29
|
+
/**TODO add documentation
|
|
30
|
+
*
|
|
31
|
+
* @param callbackfn
|
|
32
|
+
* @param thisArg
|
|
33
|
+
* @returns
|
|
34
|
+
*/
|
|
35
|
+
foreach(callbackfn, thisArg) {
|
|
36
|
+
return this.modes.forEach(callbackfn, thisArg);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.ModeHandler = ModeHandler;
|
|
40
|
+
//# sourceMappingURL=ModeHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModeHandler.js","sourceRoot":"","sources":["../../../src/Modes/ModeHandler.ts"],"names":[],"mappings":";;;AAAA,qDAAwD;AAExD;;GAEG;AACH,MAAa,WAAW;IAMtB,YAAY,UAA0B;QACpC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC;QAC9B,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC;IAC9B,CAAC;IAED;;;;OAIG;IACH,OAAO,CAAC,KAAa;QACnB,OAAO,+BAAc,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC7C,CAAC;IAED;;;;OAIG;IACH,GAAG,CAAC,KAAsB;QACxB,OAAO,+BAAc,CAAC,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IAED;;;;;OAKG;IACH,OAAO,CAAC,UAA+D,EAAE,OAAa;QACpF,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACjD,CAAC;CACF;AAtCD,kCAsCC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ModeHandler } from "./ModeHandler";
|
|
2
|
+
/**The collection of modes for minecraft */
|
|
3
|
+
export declare namespace Modes {
|
|
4
|
+
/** The mode: CameraShake **/
|
|
5
|
+
const CameraShake: ModeHandler;
|
|
6
|
+
/** The mode: Clone **/
|
|
7
|
+
const Clone: ModeHandler;
|
|
8
|
+
/** The mode: Difficulty **/
|
|
9
|
+
const Difficulty: ModeHandler;
|
|
10
|
+
/** The mode: Fill **/
|
|
11
|
+
const Fill: ModeHandler;
|
|
12
|
+
/** The mode: Gamemode **/
|
|
13
|
+
const Gamemode: ModeHandler;
|
|
14
|
+
/** The mode: LocateFeature **/
|
|
15
|
+
const LocateFeature: ModeHandler;
|
|
16
|
+
/** The mode: Mask **/
|
|
17
|
+
const Mask: ModeHandler;
|
|
18
|
+
/** The mode: Mirror **/
|
|
19
|
+
const Mirror: ModeHandler;
|
|
20
|
+
/** The mode: MusicRepeat **/
|
|
21
|
+
const MusicRepeat: ModeHandler;
|
|
22
|
+
/** The mode: OldBlock **/
|
|
23
|
+
const OldBlock: ModeHandler;
|
|
24
|
+
/** The mode: Operation **/
|
|
25
|
+
const Operation: ModeHandler;
|
|
26
|
+
/** The mode: Replace **/
|
|
27
|
+
const Replace: ModeHandler;
|
|
28
|
+
/** The mode: RideFill **/
|
|
29
|
+
const RideFill: ModeHandler;
|
|
30
|
+
/** The mode: RideRules **/
|
|
31
|
+
const RideRules: ModeHandler;
|
|
32
|
+
/** The mode: Rotation **/
|
|
33
|
+
const Rotation: ModeHandler;
|
|
34
|
+
/** The mode: Save **/
|
|
35
|
+
const Save: ModeHandler;
|
|
36
|
+
/** The mode: Selector Attribute **/
|
|
37
|
+
const SelectorAttribute: ModeHandler;
|
|
38
|
+
/** The mode: Selector Type **/
|
|
39
|
+
const SelectorType: ModeHandler;
|
|
40
|
+
/** The mode: Selector Type **/
|
|
41
|
+
const SlotType: ModeHandler;
|
|
42
|
+
/** The mode: StructureAnimation **/
|
|
43
|
+
const StructureAnimation: ModeHandler;
|
|
44
|
+
/** The mode: TeleportRules **/
|
|
45
|
+
const TeleportRules: ModeHandler;
|
|
46
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Modes = void 0;
|
|
4
|
+
const CameraShake_1 = require("./CameraShake");
|
|
5
|
+
const Clone_1 = require("./Clone");
|
|
6
|
+
const Difficulty_1 = require("./Difficulty");
|
|
7
|
+
const Fill_1 = require("./Fill");
|
|
8
|
+
const GameMode_1 = require("./GameMode");
|
|
9
|
+
const LocateFeature_1 = require("./LocateFeature");
|
|
10
|
+
const Mask_1 = require("./Mask");
|
|
11
|
+
const Mirror_1 = require("./Mirror");
|
|
12
|
+
const ModeHandler_1 = require("./ModeHandler");
|
|
13
|
+
const MusicRepeat_1 = require("./MusicRepeat");
|
|
14
|
+
const OldBlock_1 = require("./OldBlock");
|
|
15
|
+
const Operation_1 = require("./Operation");
|
|
16
|
+
const Replace_1 = require("./Replace");
|
|
17
|
+
const RideFill_1 = require("./RideFill");
|
|
18
|
+
const RideRules_1 = require("./RideRules");
|
|
19
|
+
const Rotation_1 = require("./Rotation");
|
|
20
|
+
const Save_1 = require("./Save");
|
|
21
|
+
const SelectorAttribute_1 = require("./SelectorAttribute");
|
|
22
|
+
const SelectorType_1 = require("./SelectorType");
|
|
23
|
+
const SlotType_1 = require("./SlotType");
|
|
24
|
+
const StructureAnimation_1 = require("./StructureAnimation");
|
|
25
|
+
const TeleportRules_1 = require("./TeleportRules");
|
|
26
|
+
/**The collection of modes for minecraft */
|
|
27
|
+
var Modes;
|
|
28
|
+
(function (Modes) {
|
|
29
|
+
/** The mode: CameraShake **/
|
|
30
|
+
Modes.CameraShake = new ModeHandler_1.ModeHandler(CameraShake_1.CameraShakeMode);
|
|
31
|
+
/** The mode: Clone **/
|
|
32
|
+
Modes.Clone = new ModeHandler_1.ModeHandler(Clone_1.CloneMode);
|
|
33
|
+
/** The mode: Difficulty **/
|
|
34
|
+
Modes.Difficulty = new ModeHandler_1.ModeHandler(Difficulty_1.DifficultyMode);
|
|
35
|
+
/** The mode: Fill **/
|
|
36
|
+
Modes.Fill = new ModeHandler_1.ModeHandler(Fill_1.FillMode);
|
|
37
|
+
/** The mode: Gamemode **/
|
|
38
|
+
Modes.Gamemode = new ModeHandler_1.ModeHandler(GameMode_1.GameMode);
|
|
39
|
+
/** The mode: LocateFeature **/
|
|
40
|
+
Modes.LocateFeature = new ModeHandler_1.ModeHandler(LocateFeature_1.LocateFeatureMode);
|
|
41
|
+
/** The mode: Mask **/
|
|
42
|
+
Modes.Mask = new ModeHandler_1.ModeHandler(Mask_1.MaskMode);
|
|
43
|
+
/** The mode: Mirror **/
|
|
44
|
+
Modes.Mirror = new ModeHandler_1.ModeHandler(Mirror_1.MirrorMode);
|
|
45
|
+
/** The mode: MusicRepeat **/
|
|
46
|
+
Modes.MusicRepeat = new ModeHandler_1.ModeHandler(MusicRepeat_1.MusicRepeatMode);
|
|
47
|
+
/** The mode: OldBlock **/
|
|
48
|
+
Modes.OldBlock = new ModeHandler_1.ModeHandler(OldBlock_1.OldBlockMode);
|
|
49
|
+
/** The mode: Operation **/
|
|
50
|
+
Modes.Operation = new ModeHandler_1.ModeHandler(Operation_1.OperationMode);
|
|
51
|
+
/** The mode: Replace **/
|
|
52
|
+
Modes.Replace = new ModeHandler_1.ModeHandler(Replace_1.ReplaceMode);
|
|
53
|
+
/** The mode: RideFill **/
|
|
54
|
+
Modes.RideFill = new ModeHandler_1.ModeHandler(RideFill_1.RideFillMode);
|
|
55
|
+
/** The mode: RideRules **/
|
|
56
|
+
Modes.RideRules = new ModeHandler_1.ModeHandler(RideRules_1.RideRulesMode);
|
|
57
|
+
/** The mode: Rotation **/
|
|
58
|
+
Modes.Rotation = new ModeHandler_1.ModeHandler(Rotation_1.RotationMode);
|
|
59
|
+
/** The mode: Save **/
|
|
60
|
+
Modes.Save = new ModeHandler_1.ModeHandler(Save_1.SaveMode);
|
|
61
|
+
/** The mode: Selector Attribute **/
|
|
62
|
+
Modes.SelectorAttribute = new ModeHandler_1.ModeHandler(SelectorAttribute_1.SelectorAttributeMode);
|
|
63
|
+
/** The mode: Selector Type **/
|
|
64
|
+
Modes.SelectorType = new ModeHandler_1.ModeHandler(SelectorType_1.SelectorTypeMode);
|
|
65
|
+
/** The mode: Selector Type **/
|
|
66
|
+
Modes.SlotType = new ModeHandler_1.ModeHandler(SlotType_1.SlotTypeModes);
|
|
67
|
+
/** The mode: StructureAnimation **/
|
|
68
|
+
Modes.StructureAnimation = new ModeHandler_1.ModeHandler(StructureAnimation_1.StructureAnimationMode);
|
|
69
|
+
/** The mode: TeleportRules **/
|
|
70
|
+
Modes.TeleportRules = new ModeHandler_1.ModeHandler(TeleportRules_1.TeleportRulesMode);
|
|
71
|
+
})(Modes = exports.Modes || (exports.Modes = {}));
|
|
72
|
+
//# sourceMappingURL=Modes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modes.js","sourceRoot":"","sources":["../../../src/Modes/Modes.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,mCAAoC;AACpC,6CAA8C;AAC9C,iCAAkC;AAClC,yCAAsC;AACtC,mDAAoD;AACpD,iCAAkC;AAClC,qCAAsC;AACtC,+CAA4C;AAC5C,+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C,yBAAa,CAAC,CAAC;IACxD,0BAA0B;IACb,cAAQ,GAAG,IAAI,yBAAW,CAAC,uBAAY,CAAC,CAAC;IACtD,sBAAsB;IACT,UAAI,GAAG,IAAI,yBAAW,CAAC,eAAQ,CAAC,CAAC;IAC9C,oCAAoC;IACvB,uBAAiB,GAAG,IAAI,yBAAW,CAAC,yCAAqB,CAAC,CAAC;IACxE,+BAA+B;IAClB,kBAAY,GAAG,IAAI,yBAAW,CAAC,+BAAgB,CAAC,CAAC;IAC9D,+BAA+B;IAClB,cAAQ,GAAG,IAAI,yBAAW,CAAC,wBAAa,CAAC,CAAC;IACvD,oCAAoC;IACvB,wBAAkB,GAAG,IAAI,yBAAW,CAAC,2CAAsB,CAAC,CAAC;IAC1E,+BAA+B;IAClB,mBAAa,GAAG,IAAI,yBAAW,CAAC,iCAAiB,CAAC,CAAC;AAClE,CAAC,EA3CgB,KAAK,GAAL,aAAK,KAAL,aAAK,QA2CrB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MusicRepeatMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.MusicRepeatMode = {
|
|
6
|
+
name: "Music Repeat",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "loop", documentation: "Loops the given track" },
|
|
9
|
+
{ name: "play_once", documentation: "Only plays the given track once" },
|
|
10
|
+
],
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=MusicRepeat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MusicRepeat.js","sourceRoot":"","sources":["../../../src/Modes/MusicRepeat.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,eAAe,GAAmB;IAC7C,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,uBAAuB,EAAE;QACxD,EAAE,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,iCAAiC,EAAE;KACxE;CACF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OldBlockMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.OldBlockMode = {
|
|
6
|
+
name: "Old Block",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "destroy", documentation: "Destroys the old block" },
|
|
9
|
+
{ name: "replace", documentation: "Replaces the old block without destroying it" },
|
|
10
|
+
{ name: "keep", documentation: "Keeps the old block if its not air" },
|
|
11
|
+
],
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=OldBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OldBlock.js","sourceRoot":"","sources":["../../../src/Modes/OldBlock.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,YAAY,GAAmB;IAC1C,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,wBAAwB,EAAE;QAC5D,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,8CAA8C,EAAE;QAClF,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,oCAAoC,EAAE;KACtE;CACF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OperationMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.OperationMode = {
|
|
6
|
+
name: "Operation",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "=", documentation: "Assigns the targets score to that of the source" },
|
|
9
|
+
{ name: ">", documentation: "Calculates the maximum value of the sources and the target and stores it in the target" },
|
|
10
|
+
{ name: "<", documentation: "Calculates the minimum value of the sources and the target" },
|
|
11
|
+
{ name: "><", documentation: "Swaps the scores between the given source and the target" },
|
|
12
|
+
{ name: "+=", documentation: "Adds the sources score to the target" },
|
|
13
|
+
{ name: "-=", documentation: "Substracts the sources score to the target" },
|
|
14
|
+
{ name: "*=", documentation: "Multiplies the sources score to the target" },
|
|
15
|
+
{ name: "%=", documentation: "Modulus divide target's score by source's score, and use the remainder to set the target score" },
|
|
16
|
+
{ name: "/=", documentation: "Divides the source score to the target" },
|
|
17
|
+
],
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=Operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Operation.js","sourceRoot":"","sources":["../../../src/Modes/Operation.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,aAAa,GAAmB;IAC3C,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,GAAG,EAAE,aAAa,EAAE,iDAAiD,EAAE;QAC/E,EAAE,IAAI,EAAE,GAAG,EAAE,aAAa,EAAE,wFAAwF,EAAE;QACtH,EAAE,IAAI,EAAE,GAAG,EAAE,aAAa,EAAE,4DAA4D,EAAE;QAC1F,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,0DAA0D,EAAE;QACzF,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,sCAAsC,EAAE;QACrE,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,4CAA4C,EAAE;QAC3E,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,4CAA4C,EAAE;QAC3E,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,gGAAgG,EAAE;QAC/H,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,wCAAwC,EAAE;KACxE;CACF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReplaceMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.ReplaceMode = {
|
|
6
|
+
name: "Replace",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "destroy", documentation: "Destroy the old" },
|
|
9
|
+
{ name: "keep", documentation: "Keeps the old if there is any" },
|
|
10
|
+
],
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=Replace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Replace.js","sourceRoot":"","sources":["../../../src/Modes/Replace.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,WAAW,GAAmB;IACzC,IAAI,EAAE,SAAS;IACf,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,iBAAiB,EAAE;QACrD,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,+BAA+B,EAAE;KACjE;CACF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RideFillMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.RideFillMode = {
|
|
6
|
+
name: "Ride Fill",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "if_group_fits", documentation: "If the entity fits then its placed" },
|
|
9
|
+
{ name: "until_full", documentation: "Keep adding entities until full" },
|
|
10
|
+
],
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=RideFill.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RideFill.js","sourceRoot":"","sources":["../../../src/Modes/RideFill.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,YAAY,GAAmB;IAC1C,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,eAAe,EAAE,aAAa,EAAE,oCAAoC,EAAE;QAC9E,EAAE,IAAI,EAAE,YAAY,EAAE,aAAa,EAAE,iCAAiC,EAAE;KACzE;CACF,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RideRulesMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.RideRulesMode = {
|
|
6
|
+
name: "Ride Rules",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "no_ride_change", documentation: "Does not change riders positions" },
|
|
9
|
+
{ name: "reassign_rides", documentation: "Does change riders positions" },
|
|
10
|
+
{ name: "skip_riders", documentation: "Skips riders" },
|
|
11
|
+
],
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=RideRules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RideRules.js","sourceRoot":"","sources":["../../../src/Modes/RideRules.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,aAAa,GAAmB;IAC3C,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE,kCAAkC,EAAE;QAC7E,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE,8BAA8B,EAAE;QACzE,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE;KACvD;CACF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RotationMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.RotationMode = {
|
|
6
|
+
name: "Rotation",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "0_degrees", documentation: "Do not rotate the structure" },
|
|
9
|
+
{ name: "90_degrees", documentation: "Rotates the structure clockwise 90 degrees" },
|
|
10
|
+
{ name: "180_degrees", documentation: "Rotates the structure clockwise 180 degrees" },
|
|
11
|
+
{ name: "270_degrees", documentation: "Rotates the structure clockwise 270 degrees" },
|
|
12
|
+
],
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=Rotation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rotation.js","sourceRoot":"","sources":["../../../src/Modes/Rotation.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,YAAY,GAAmB;IAC1C,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,6BAA6B,EAAE;QACnE,EAAE,IAAI,EAAE,YAAY,EAAE,aAAa,EAAE,4CAA4C,EAAE;QACnF,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,6CAA6C,EAAE;QACrF,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,6CAA6C,EAAE;KACtF;CACF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SaveMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.SaveMode = {
|
|
6
|
+
name: "Save",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "disk", documentation: "Saves to the disk" },
|
|
9
|
+
{ name: "memory", documentation: "Saves to memory" },
|
|
10
|
+
],
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=Save.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Save.js","sourceRoot":"","sources":["../../../src/Modes/Save.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,QAAQ,GAAmB;IACtC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,mBAAmB,EAAE;QACpD,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAE,iBAAiB,EAAE;KACrD;CACF,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectorAttributeMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.SelectorAttributeMode = {
|
|
6
|
+
name: "Selector Attribute",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "c", documentation: "limits the amount of entities/player to be targeted" },
|
|
9
|
+
{ name: "dx", documentation: "The length of the box over the axis X" },
|
|
10
|
+
{ name: "dy", documentation: "The length of the box over the axis Y" },
|
|
11
|
+
{ name: "dz", documentation: "The length of the box over the axis Z" },
|
|
12
|
+
{ name: "family", documentation: "Tests whether or not the target has a given family type. Can be either string or single word" },
|
|
13
|
+
{ name: "l", documentation: "The maximum amount of XP the target has" },
|
|
14
|
+
{ name: "lm", documentation: "The minimum amount of XP the target has" },
|
|
15
|
+
{ name: "m", documentation: "The gamemode of the player" },
|
|
16
|
+
{ name: "name", documentation: "Tests whether or not the target has a given name. Can be either string or single word" },
|
|
17
|
+
{ name: "r", documentation: "The maximum distance to the target" },
|
|
18
|
+
{ name: "rm", documentation: "The minimum distance to the target" },
|
|
19
|
+
{ name: "rx", documentation: "The maximum vertical rotation" },
|
|
20
|
+
{ name: "rxm", documentation: "The minimum vertical rotation" },
|
|
21
|
+
{ name: "ry", documentation: "The maximum horizontal rotation" },
|
|
22
|
+
{ name: "rym", documentation: "The minimum horizontal rotation" },
|
|
23
|
+
{ name: "scores", documentation: "The testing of scores" },
|
|
24
|
+
{ name: "tag", documentation: "Tests if the target has or does not have the specified tag" },
|
|
25
|
+
{ name: "x", documentation: "The x coordinate this selector works from, can be relative, but not local" },
|
|
26
|
+
{ name: "y", documentation: "The y coordinate this selector works from, can be relative, but not local" },
|
|
27
|
+
{ name: "y", documentation: "The z coordinate this selector works from, can be relative, but not local" },
|
|
28
|
+
],
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=SelectorAttribute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectorAttribute.js","sourceRoot":"","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EAAE,aAAa,EAAE,2EAA2E,EAAE;QACzG,EAAE,IAAI,EAAE,GAAG,EAAE,aAAa,EAAE,2EAA2E,EAAE;QACzG,EAAE,IAAI,EAAE,GAAG,EAAE,aAAa,EAAE,2EAA2E,EAAE;KAC1G;CACF,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectorTypeMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.SelectorTypeMode = {
|
|
6
|
+
name: "selector Type",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "@a", documentation: "Targets all players" },
|
|
9
|
+
{ name: "@e", documentation: "Targets all entities" },
|
|
10
|
+
{ name: "@s", documentation: "Targets the executing entity" },
|
|
11
|
+
{ name: "@r", documentation: "Targets random players, or if specified, random types" },
|
|
12
|
+
{ name: "@p", documentation: "Targets the nearest player" },
|
|
13
|
+
{ name: "@initiator", documentation: "Target the initiating entity" },
|
|
14
|
+
{ name: "@c", documentation: "Targets the executing players agent", eduOnly: true },
|
|
15
|
+
{ name: "@v", documentation: "Targets all agents", eduOnly: true },
|
|
16
|
+
],
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=SelectorType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectorType.js","sourceRoot":"","sources":["../../../src/Modes/SelectorType.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,gBAAgB,GAAmB;IAC9C,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,qBAAqB,EAAE;QACpD,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,sBAAsB,EAAE;QACrD,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,8BAA8B,EAAE;QAC7D,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,uDAAuD,EAAE;QACtF,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,4BAA4B,EAAE;QAC3D,EAAE,IAAI,EAAE,YAAY,EAAE,aAAa,EAAE,8BAA8B,EAAE;QAErE,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,qCAAqC,EAAE,OAAO,EAAE,IAAI,EAAE;QACnF,EAAE,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,oBAAoB,EAAE,OAAO,EAAE,IAAI,EAAE;KACnE;CACF,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Mode, ModeCollection } from "./ModeCollection";
|
|
2
|
+
/** */
|
|
3
|
+
export interface SlotTypeModeCollection extends ModeCollection {
|
|
4
|
+
/** */
|
|
5
|
+
modes: SlotTypeMode[];
|
|
6
|
+
}
|
|
7
|
+
/** */
|
|
8
|
+
export interface SlotTypeMode extends Mode {
|
|
9
|
+
/** */
|
|
10
|
+
range?: {
|
|
11
|
+
/** */
|
|
12
|
+
min: number;
|
|
13
|
+
/** */
|
|
14
|
+
max: number;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
/** */
|
|
18
|
+
export declare const SlotTypeModes: SlotTypeModeCollection;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SlotTypeModes = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.SlotTypeModes = {
|
|
6
|
+
name: "Slot Type",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "slot.armor.chest", documentation: "The slot that targets the chest area of armor" },
|
|
9
|
+
{ name: "slot.armor.feet", documentation: "The slot that targets the feet area of armor" },
|
|
10
|
+
{ name: "slot.armor.head", documentation: "The slot that targets the helemt/head area of armor" },
|
|
11
|
+
{ name: "slot.armor.legs", documentation: "The slot that targets the legs/leggings area of armor" },
|
|
12
|
+
{ name: "slot.chest", documentation: "The slot that targets the chest, such as on donkeys", range: { min: 0, max: 14 } },
|
|
13
|
+
{ name: "slot.container", documentation: "Only used for /replaceitem block", range: { min: 0, max: 53 } },
|
|
14
|
+
{ name: "slot.enderchest", documentation: "", range: { min: 0, max: 26 } },
|
|
15
|
+
{ name: "slot.hotbar", documentation: "", range: { min: 0, max: 8 } },
|
|
16
|
+
{ name: "slot.inventory", documentation: "", range: { min: 0, max: 26 } },
|
|
17
|
+
{ name: "slot.saddle", documentation: "" },
|
|
18
|
+
{ name: "slot.weapon.mainhand", documentation: "" },
|
|
19
|
+
{ name: "slot.weapon.offhand", documentation: "" },
|
|
20
|
+
],
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=SlotType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SlotType.js","sourceRoot":"","sources":["../../../src/Modes/SlotType.ts"],"names":[],"mappings":";;;AAmBA,MAAM;AACO,QAAA,aAAa,GAA2B;IACnD,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,kBAAkB,EAAE,aAAa,EAAE,+CAA+C,EAAE;QAC5F,EAAE,IAAI,EAAE,iBAAiB,EAAE,aAAa,EAAE,8CAA8C,EAAE;QAC1F,EAAE,IAAI,EAAE,iBAAiB,EAAE,aAAa,EAAE,qDAAqD,EAAE;QACjG,EAAE,IAAI,EAAE,iBAAiB,EAAE,aAAa,EAAE,uDAAuD,EAAE;QACnG,EAAE,IAAI,EAAE,YAAY,EAAE,aAAa,EAAE,qDAAqD,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE;QACxH,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE,kCAAkC,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE;QACzG,EAAE,IAAI,EAAE,iBAAiB,EAAE,aAAa,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE;QAC1E,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE;QACrE,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE;QACzE,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,EAAE,EAAE;QAC1C,EAAE,IAAI,EAAE,sBAAsB,EAAE,aAAa,EAAE,EAAE,EAAE;QACnD,EAAE,IAAI,EAAE,qBAAqB,EAAE,aAAa,EAAE,EAAE,EAAE;KACnD;CACF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StructureAnimationMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.StructureAnimationMode = {
|
|
6
|
+
name: "Structure Animation",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "block_by_block", documentation: "Animate the whole process block by block" },
|
|
9
|
+
{ name: "layer_by_layer", documentation: "Animate the whole process layer by layer" },
|
|
10
|
+
],
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=StructureAnimation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructureAnimation.js","sourceRoot":"","sources":["../../../src/Modes/StructureAnimation.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,sBAAsB,GAAmB;IACpD,IAAI,EAAE,qBAAqB;IAC3B,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE,0CAA0C,EAAE;QACrF,EAAE,IAAI,EAAE,gBAAgB,EAAE,aAAa,EAAE,0CAA0C,EAAE;KACtF;CACF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TeleportRulesMode = void 0;
|
|
4
|
+
/** */
|
|
5
|
+
exports.TeleportRulesMode = {
|
|
6
|
+
name: "Teleport Rules",
|
|
7
|
+
modes: [
|
|
8
|
+
{ name: "teleport_ride", documentation: "Teleports the ride to the rider" },
|
|
9
|
+
{ name: "teleport_rider", documentation: "Teleports the rider to the ride" },
|
|
10
|
+
],
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=TeleportRules.js.map
|