bc-minecraft-bedrock-types 1.19.40-1 → 1.19.73-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.
@@ -75,13 +75,13 @@ var Block;
75
75
  */
76
76
  function getStates(blockDescription) {
77
77
  const out = [];
78
- let startindex = blockDescription.indexOf("[");
79
- if (startindex > -1) {
80
- startindex++;
81
- let endindex = blockDescription.indexOf("]", startindex + 1);
82
- if (endindex < startindex)
83
- endindex = blockDescription.length;
84
- const parts = blockDescription.slice(startindex, endindex).split(",");
78
+ let startIndex = blockDescription.indexOf("[");
79
+ if (startIndex > -1) {
80
+ startIndex++;
81
+ let endIndex = blockDescription.indexOf("]", startIndex + 1);
82
+ if (endIndex < startIndex)
83
+ endIndex = blockDescription.length;
84
+ const parts = blockDescription.slice(startIndex, endIndex).split(",");
85
85
  for (var I = 0; I < parts.length; I++) {
86
86
  const b = BlockState.parse(parts[I]);
87
87
  if (b)
@@ -100,14 +100,14 @@ var Block;
100
100
  Loc = Location_1.Location.empty();
101
101
  const out = [];
102
102
  let id;
103
- let startindex = blockDescription.indexOf("[");
104
- if (startindex > -1) {
105
- id = blockDescription.slice(0, startindex);
106
- startindex++;
107
- let endindex = blockDescription.indexOf("]", startindex + 1);
108
- if (endindex < startindex)
109
- endindex = blockDescription.length;
110
- const parts = blockDescription.slice(startindex, endindex).split(",");
103
+ let startIndex = blockDescription.indexOf("[");
104
+ if (startIndex > -1) {
105
+ id = blockDescription.slice(0, startIndex);
106
+ startIndex++;
107
+ let endIndex = blockDescription.indexOf("]", startIndex + 1);
108
+ if (endIndex < startIndex)
109
+ endIndex = blockDescription.length;
110
+ const parts = blockDescription.slice(startIndex, endIndex).split(",");
111
111
  for (var I = 0; I < parts.length; I++) {
112
112
  const b = BlockState.parse(parts[I]);
113
113
  if (b)
@@ -1,6 +1,6 @@
1
- export declare type Component = any;
2
- export declare type ComponentContainer = Record<string, Component>;
3
- export declare type ComponentGroups = Record<string, ComponentContainer>;
1
+ export type Component = any;
2
+ export type ComponentContainer = Record<string, Component>;
3
+ export type ComponentGroups = Record<string, ComponentContainer>;
4
4
  export interface ComponentBehavior {
5
5
  component_groups?: ComponentGroups;
6
6
  components?: ComponentContainer;
@@ -1,5 +1,5 @@
1
1
  /** The type of domain */
2
- export declare type DomainType = "any" | "armor" | "feet" | "hand" | "head" | "leg" | "torso";
2
+ export type DomainType = "any" | "armor" | "feet" | "hand" | "head" | "leg" | "torso";
3
3
  export declare namespace DomainType {
4
4
  function parse(text: string): DomainType;
5
5
  }
@@ -26,8 +26,8 @@ export interface FilterContainerType {
26
26
  /** any filters to be false */
27
27
  none_of?: FilterItemType;
28
28
  }
29
- export declare type FilterType = FilterItemType | FilterItemType[];
30
- export declare type FilterItemType = FilterContainerType | Filter;
29
+ export type FilterType = FilterItemType | FilterItemType[];
30
+ export type FilterItemType = FilterContainerType | Filter;
31
31
  /**
32
32
  *
33
33
  */
@@ -1,5 +1,5 @@
1
1
  /** The operator type */
2
- export declare type OperatorType = "!=" | "<" | "<=" | "<>" | "=" | "==" | ">" | ">=" | "equals" | "not";
2
+ export type OperatorType = "!=" | "<" | "<=" | "<>" | "=" | "==" | ">" | ">=" | "equals" | "not";
3
3
  /** The operator type */
4
4
  export declare namespace OperatorType {
5
5
  /**
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  *
3
3
  */
4
- export declare type SubjectType = "block" | "damager" | "other" | "parent" | "player" | "self" | "target";
4
+ export type SubjectType = "block" | "damager" | "other" | "parent" | "player" | "self" | "target";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  *
3
3
  */
4
- export declare type TestType = "clock_time" | "distance_to_nearest_player" | "has_ability" | "has_biome_tag" | "has_component" | "has_container_open" | "has_damage" | "has_equipment" | "has_mob_effect" | "has_nametag" | "has_ranged_weapon" | "has_silk_touch" | "has_tag" | "has_target" | "has_trade_supply" | "hourly_clock_time" | "in_block" | "in_caravan" | "in_clouds" | "in_contact_with_water" | "in_lava" | "in_nether" | "in_water" | "in_water_or_rain" | "inactivity_timer" | "is_altitude" | "is_avoiding_mobs" | "is_biome" | "is_block" | "is_brightness" | "is_climbing" | "is_color" | "is_daytime" | "is_difficulty" | "is_family" | "is_game_rule" | "is_humid" | "is_immobile" | "is_in_village" | "is_leashed" | "is_leashed_to" | "is_mark_variant" | "is_missing_health" | "is_moving" | "is_owner" | "is_persistent" | "is_riding" | "is_skin_id" | "is_sleeping" | "is_sneaking" | "is_snow_covered" | "is_target" | "is_temperature_type" | "is_temperature_value" | "is_underground" | "is_underwater" | "is_variant" | "is_visible" | "is_waterlogged" | "is_weather" | "light_level" | "moon_intensity" | "moon_phase" | "on_ground" | "on_ladder" | "random_chance" | "rider_count" | "surface_mob" | "trusts" | "weather" | "weather_at_position";
4
+ export type TestType = "clock_time" | "distance_to_nearest_player" | "has_ability" | "has_biome_tag" | "has_component" | "has_container_open" | "has_damage" | "has_equipment" | "has_mob_effect" | "has_nametag" | "has_ranged_weapon" | "has_silk_touch" | "has_tag" | "has_target" | "has_trade_supply" | "hourly_clock_time" | "in_block" | "in_caravan" | "in_clouds" | "in_contact_with_water" | "in_lava" | "in_nether" | "in_water" | "in_water_or_rain" | "inactivity_timer" | "is_altitude" | "is_avoiding_mobs" | "is_biome" | "is_block" | "is_brightness" | "is_climbing" | "is_color" | "is_daytime" | "is_difficulty" | "is_family" | "is_game_rule" | "is_humid" | "is_immobile" | "is_in_village" | "is_leashed" | "is_leashed_to" | "is_mark_variant" | "is_missing_health" | "is_moving" | "is_owner" | "is_persistent" | "is_riding" | "is_skin_id" | "is_sleeping" | "is_sneaking" | "is_snow_covered" | "is_target" | "is_temperature_type" | "is_temperature_value" | "is_underground" | "is_underwater" | "is_variant" | "is_visible" | "is_waterlogged" | "is_weather" | "light_level" | "moon_intensity" | "moon_phase" | "on_ground" | "on_ladder" | "random_chance" | "rider_count" | "surface_mob" | "trusts" | "weather" | "weather_at_position";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  *
3
3
  */
4
- export declare type SelectorType = "@a" | "@e" | "@p" | "@r" | "@s" | "@v" | "@initiator";
4
+ export type SelectorType = "@a" | "@e" | "@p" | "@r" | "@s" | "@v" | "@initiator";
@@ -0,0 +1,3 @@
1
+ import { ModeCollection } from "./ModeCollection";
2
+ /** */
3
+ export declare const DimensionMode: ModeCollection;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DimensionMode = void 0;
4
+ /** */
5
+ exports.DimensionMode = {
6
+ name: "Dimension",
7
+ modes: [
8
+ { name: "nether", documentation: "The nether dimension" },
9
+ { name: "overworld", documentation: "The overworld dimension" },
10
+ { name: "the_end", documentation: "The end dimension" },
11
+ ],
12
+ };
13
+ //# sourceMappingURL=Dimension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dimension.js","sourceRoot":"","sources":["../../../src/Modes/Dimension.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,aAAa,GAAmB;IAC3C,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAE,sBAAsB,EAAE;QACzD,EAAE,IAAI,EAAE,WAAW,EAAE,aAAa,EAAE,yBAAyB,EAAE;QAC/D,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,mBAAmB,EAAE;KACxD;CACF,CAAC"}
@@ -9,6 +9,8 @@ export declare namespace Modes {
9
9
  const Clone: ModeHandler;
10
10
  /** The mode: Difficulty **/
11
11
  const Difficulty: ModeHandler;
12
+ /** The mode: Dimension **/
13
+ const Dimension: ModeHandler;
12
14
  /** The mode: Fill **/
13
15
  const Fill: ModeHandler;
14
16
  /** The mode: Gamemode **/
@@ -27,6 +29,10 @@ export declare namespace Modes {
27
29
  const OldBlock: ModeHandler;
28
30
  /** The mode: Operation **/
29
31
  const Operation: ModeHandler;
32
+ /** The mode: Permission **/
33
+ const Permission: ModeHandler;
34
+ /** The mode: Permission State **/
35
+ const PermissionState: ModeHandler;
30
36
  /** The mode: Replace **/
31
37
  const Replace: ModeHandler;
32
38
  /** The mode: RideFill **/
@@ -37,6 +43,8 @@ export declare namespace Modes {
37
43
  const Rotation: ModeHandler;
38
44
  /** The mode: Save **/
39
45
  const Save: ModeHandler;
46
+ /** The mode: Scan **/
47
+ const Scan: ModeHandler;
40
48
  /** The mode: Selector Attribute **/
41
49
  const SelectorAttribute: ModeHandler;
42
50
  /** The mode: Selector Type **/
@@ -2,8 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Modes = void 0;
4
4
  const CameraShake_1 = require("./CameraShake");
5
+ const CauseType_1 = require("./CauseType");
5
6
  const Clone_1 = require("./Clone");
6
7
  const Difficulty_1 = require("./Difficulty");
8
+ const Dimension_1 = require("./Dimension");
7
9
  const Fill_1 = require("./Fill");
8
10
  const GameMode_1 = require("./GameMode");
9
11
  const HandType_1 = require("./HandType");
@@ -14,18 +16,19 @@ const ModeHandler_1 = require("./ModeHandler");
14
16
  const MusicRepeat_1 = require("./MusicRepeat");
15
17
  const OldBlock_1 = require("./OldBlock");
16
18
  const Operation_1 = require("./Operation");
19
+ const Permissions_1 = require("./Permissions");
17
20
  const Replace_1 = require("./Replace");
18
21
  const RideFill_1 = require("./RideFill");
19
22
  const RideRules_1 = require("./RideRules");
20
23
  const Rotation_1 = require("./Rotation");
21
24
  const Save_1 = require("./Save");
25
+ const Scan_1 = require("./Scan");
22
26
  const SelectorAttribute_1 = require("./SelectorAttribute");
23
27
  const SelectorType_1 = require("./SelectorType");
24
28
  const SlotType_1 = require("./SlotType");
25
29
  const StructureAnimation_1 = require("./StructureAnimation");
26
30
  const TeleportRules_1 = require("./TeleportRules");
27
31
  const Time_1 = require("./Time");
28
- const CauseType_1 = require("./CauseType");
29
32
  /**The collection of modes for minecraft */
30
33
  var Modes;
31
34
  (function (Modes) {
@@ -37,6 +40,8 @@ var Modes;
37
40
  Modes.Clone = new ModeHandler_1.ModeHandler(Clone_1.CloneMode);
38
41
  /** The mode: Difficulty **/
39
42
  Modes.Difficulty = new ModeHandler_1.ModeHandler(Difficulty_1.DifficultyMode);
43
+ /** The mode: Dimension **/
44
+ Modes.Dimension = new ModeHandler_1.ModeHandler(Dimension_1.DimensionMode);
40
45
  /** The mode: Fill **/
41
46
  Modes.Fill = new ModeHandler_1.ModeHandler(Fill_1.FillMode);
42
47
  /** The mode: Gamemode **/
@@ -55,6 +60,10 @@ var Modes;
55
60
  Modes.OldBlock = new ModeHandler_1.ModeHandler(OldBlock_1.OldBlockMode);
56
61
  /** The mode: Operation **/
57
62
  Modes.Operation = new ModeHandler_1.ModeHandler(Operation_1.OperationMode);
63
+ /** The mode: Permission **/
64
+ Modes.Permission = new ModeHandler_1.ModeHandler(Permissions_1.PermissionMode);
65
+ /** The mode: Permission State **/
66
+ Modes.PermissionState = new ModeHandler_1.ModeHandler(Permissions_1.PermissionStateMode);
58
67
  /** The mode: Replace **/
59
68
  Modes.Replace = new ModeHandler_1.ModeHandler(Replace_1.ReplaceMode);
60
69
  /** The mode: RideFill **/
@@ -65,6 +74,8 @@ var Modes;
65
74
  Modes.Rotation = new ModeHandler_1.ModeHandler(Rotation_1.RotationMode);
66
75
  /** The mode: Save **/
67
76
  Modes.Save = new ModeHandler_1.ModeHandler(Save_1.SaveMode);
77
+ /** The mode: Scan **/
78
+ Modes.Scan = new ModeHandler_1.ModeHandler(Scan_1.ScanMode);
68
79
  /** The mode: Selector Attribute **/
69
80
  Modes.SelectorAttribute = new ModeHandler_1.ModeHandler(SelectorAttribute_1.SelectorAttributeMode);
70
81
  /** The mode: Selector Type **/
@@ -1 +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,yCAA0C;AAC1C,mDAAoD;AACpD,iCAAkC;AAClC,qCAAs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AAC,4BAAc,CAAC,CAAC;IAC1D,kCAAkC;IACrB,qBAAe,GAAG,IAAI,yBAAW,CAAC,iCAAmB,CAAC,CAAC;IACpE,yBAAyB;IACZ,aAAO,GAAG,IAAI,yBAAW,CAAC,qBAAW,CAAC,CAAC;IACpD,0BAA0B;IACb,cAAQ,GAAG,IAAI,yBAAW,CAAC,uBAAY,CAAC,CAAC;IACtD,2BAA2B;IACd,eAAS,GAAG,IAAI,yBAAW,CAAC,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,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;IAChE,sBAAsB;IACT,UAAI,GAAG,IAAI,yBAAW,CAAC,eAAQ,CAAC,CAAC;AAChD,CAAC,EAzDgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAyDrB"}
@@ -0,0 +1,4 @@
1
+ import { ModeCollection } from "./ModeCollection";
2
+ /** */
3
+ export declare const PermissionMode: ModeCollection;
4
+ export declare const PermissionStateMode: ModeCollection;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PermissionStateMode = exports.PermissionMode = void 0;
4
+ /** */
5
+ exports.PermissionMode = {
6
+ name: "Permission",
7
+ modes: [
8
+ { name: "camera", documentation: "The permission that enables/disables the player can use the camera view" },
9
+ { name: "movement", documentation: "The permission that enables/disables the players movement." },
10
+ ],
11
+ };
12
+ exports.PermissionStateMode = {
13
+ name: "Permission State",
14
+ modes: [
15
+ { name: "enabled", documentation: "Enables the permission" },
16
+ { name: "disenabled", documentation: "Disables the permission" },
17
+ ],
18
+ };
19
+ //# sourceMappingURL=Permissions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Permissions.js","sourceRoot":"","sources":["../../../src/Modes/Permissions.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,cAAc,GAAmB;IAC5C,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAE,yEAAyE,EAAE;QAC5G,EAAE,IAAI,EAAE,UAAU,EAAE,aAAa,EAAE,4DAA4D,EAAE;KAClG;CACF,CAAC;AAEW,QAAA,mBAAmB,GAAmB;IACjD,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,wBAAwB,EAAE;QAC5D,EAAE,IAAI,EAAE,YAAY,EAAE,aAAa,EAAE,yBAAyB,EAAE;KACjE;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ModeCollection } from "./ModeCollection";
2
+ /** */
3
+ export declare const ScanMode: ModeCollection;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ScanMode = void 0;
4
+ /** */
5
+ exports.ScanMode = {
6
+ name: "Scan",
7
+ modes: [
8
+ { name: "all", documentation: "Scans all blocks" },
9
+ { name: "masked", documentation: "Scans all blocks that match the mask" },
10
+ ],
11
+ };
12
+ //# sourceMappingURL=Scan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Scan.js","sourceRoot":"","sources":["../../../src/Modes/Scan.ts"],"names":[],"mappings":";;;AAEA,MAAM;AACO,QAAA,QAAQ,GAAmB;IACtC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE;QACL,EAAE,IAAI,EAAE,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE;QAClD,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAE,sCAAsC,EAAE;KAC1E;CACF,CAAC"}
@@ -3,9 +3,9 @@ import { OffsetWord } from './OffsetWord';
3
3
  import { Position } from "./Position";
4
4
  import { Range } from "./Range";
5
5
  /**The type of a document location */
6
- export declare type DocumentLocation = Position | OffsetWord | JsonPath | number;
6
+ export type DocumentLocation = Position | OffsetWord | JsonPath | number;
7
7
  /** */
8
- export declare type TextOrDoc = string | {
8
+ export type TextOrDoc = string | {
9
9
  getText(): string;
10
10
  };
11
11
  /**
@@ -1,5 +1,5 @@
1
1
  /** */
2
- export declare type JsonPath = string;
2
+ export type JsonPath = string;
3
3
  /** */
4
4
  export declare namespace JsonPath {
5
5
  const seperator = "/";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bc-minecraft-bedrock-types",
3
- "version": "1.19.40-1",
3
+ "version": "1.19.73-0",
4
4
  "description": "The typescript library that provides default types for minecraft bedrock",
5
5
  "main": "./lib/src/main.js",
6
6
  "types": "./lib/src/main.d.ts",
@@ -43,6 +43,7 @@
43
43
  "@types/node": "^18.6.5",
44
44
  "chai": "^4.3.6",
45
45
  "mocha": "^10.0.0",
46
+ "mocha-junit-reporter": "^2.2.0",
46
47
  "rimraf": "^3.0.2",
47
48
  "ts-node": "^10.9.1",
48
49
  "typescript": "^4.7.4"