@minecraft/server-editor 0.1.0-beta.1.20.30-preview.21 → 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 +20 -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.21"
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)
@@ -2153,6 +2153,12 @@ export interface IPropertyItemOptionsVector3 extends IPropertyItemOptions {
2153
2153
  * controls.
2154
2154
  */
2155
2155
  export interface IPropertyPane {
2156
+ /**
2157
+ * @remarks
2158
+ * Pane state for being expanded or collapsed.
2159
+ *
2160
+ */
2161
+ collapsed: boolean;
2156
2162
  /**
2157
2163
  * @remarks
2158
2164
  * Unique ID for the property pane.
@@ -2270,6 +2276,12 @@ export interface IPropertyPane {
2270
2276
  property: Prop,
2271
2277
  options?: IPropertyItemOptionsVector3,
2272
2278
  ): IPropertyItem<T, Prop>;
2279
+ /**
2280
+ * @remarks
2281
+ * Collapse the pane.
2282
+ *
2283
+ */
2284
+ collapse(): void;
2273
2285
  /**
2274
2286
  * @remarks
2275
2287
  * Creates an internal sub panel that is presented inside a
@@ -2277,6 +2289,12 @@ export interface IPropertyPane {
2277
2289
  *
2278
2290
  */
2279
2291
  createPropertyPane(options: IPropertyPaneOptions): IPropertyPane;
2292
+ /**
2293
+ * @remarks
2294
+ * Expand the pane.
2295
+ *
2296
+ */
2297
+ expand(): void;
2280
2298
  /**
2281
2299
  * @remarks
2282
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.21",
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.21"
16
+ "@minecraft/server": "^1.6.0-beta.1.20.30-preview.22"
17
17
  },
18
18
  "license": "MIT"
19
19
  }