@minecraft/server-editor 0.1.0-beta.1.20.30-preview.20 → 0.1.0-beta.1.20.30-preview.22

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.
Files changed (2) hide show
  1. package/index.d.ts +21 -2
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -14,7 +14,7 @@
14
14
  * ```json
15
15
  * {
16
16
  * "module_name": "@minecraft/server-editor",
17
- * "version": "0.1.0-beta.1.20.30-preview.20"
17
+ * "version": "0.1.0-beta.1.20.30-preview.22"
18
18
  * }
19
19
  * ```
20
20
  *
@@ -553,7 +553,7 @@ export declare class BedrockEventSubscriptionCache {
553
553
  | ((arg: minecraftserver.EntityHitBlockAfterEvent) => void)
554
554
  | ((arg: minecraftserver.EntityHitEntityAfterEvent) => void)
555
555
  | ((arg: minecraftserver.EntityHurtAfterEvent) => void)
556
- | ((arg: minecraftserver.EntityRemovedAfterEvent) => void)
556
+ | ((arg: minecraftserver.EntityRemoveAfterEvent) => void)
557
557
  | ((arg: minecraftserver.ExplosionAfterEvent) => void)
558
558
  | ((arg: minecraftserver.ItemCompleteUseAfterEvent) => void)
559
559
  | ((arg: minecraftserver.ItemDefinitionTriggeredAfterEvent) => void)
@@ -1038,6 +1038,7 @@ export class MinecraftEditor {
1038
1038
  * messages sent to this instance will be broadcast to all
1039
1039
  * connected editor client sessions
1040
1040
  *
1041
+ * @throws This property can throw when used.
1041
1042
  */
1042
1043
  readonly log: Logger;
1043
1044
  /**
@@ -2152,6 +2153,12 @@ export interface IPropertyItemOptionsVector3 extends IPropertyItemOptions {
2152
2153
  * controls.
2153
2154
  */
2154
2155
  export interface IPropertyPane {
2156
+ /**
2157
+ * @remarks
2158
+ * Pane state for being expanded or collapsed.
2159
+ *
2160
+ */
2161
+ collapsed: boolean;
2155
2162
  /**
2156
2163
  * @remarks
2157
2164
  * Unique ID for the property pane.
@@ -2269,6 +2276,12 @@ export interface IPropertyPane {
2269
2276
  property: Prop,
2270
2277
  options?: IPropertyItemOptionsVector3,
2271
2278
  ): IPropertyItem<T, Prop>;
2279
+ /**
2280
+ * @remarks
2281
+ * Collapse the pane.
2282
+ *
2283
+ */
2284
+ collapse(): void;
2272
2285
  /**
2273
2286
  * @remarks
2274
2287
  * Creates an internal sub panel that is presented inside a
@@ -2276,6 +2289,12 @@ export interface IPropertyPane {
2276
2289
  *
2277
2290
  */
2278
2291
  createPropertyPane(options: IPropertyPaneOptions): IPropertyPane;
2292
+ /**
2293
+ * @remarks
2294
+ * Expand the pane.
2295
+ *
2296
+ */
2297
+ expand(): void;
2279
2298
  /**
2280
2299
  * @remarks
2281
2300
  * Hide the pane.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server-editor",
3
- "version": "0.1.0-beta.1.20.30-preview.20",
3
+ "version": "0.1.0-beta.1.20.30-preview.22",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {
@@ -13,7 +13,7 @@
13
13
  }
14
14
  ],
15
15
  "dependencies": {
16
- "@minecraft/server": "^1.6.0-beta.1.20.30-preview.20"
16
+ "@minecraft/server": "^1.6.0-beta.1.20.30-preview.22"
17
17
  },
18
18
  "license": "MIT"
19
19
  }