@minecraft/server 1.0.0-preview.1.19.50.22 → 1.0.0-preview.1.19.50.24

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 +2 -24
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -15,7 +15,7 @@
15
15
  * ```json
16
16
  * {
17
17
  * "module_name": "@minecraft/server",
18
- * "version": "1.1.0-internal.preview.1.19.50.22"
18
+ * "version": "1.1.0-internal.preview.1.19.50.24"
19
19
  * }
20
20
  * ```
21
21
  *
@@ -65,11 +65,6 @@ export class Dimension {
65
65
  */
66
66
  export class Entity {
67
67
  protected constructor();
68
- /**
69
- * Dimension that the entity is currently within.
70
- * @throws This property can throw when used.
71
- */
72
- readonly dimension: Dimension;
73
68
  /**
74
69
  * Unique identifier of the entity. This identifier is intended
75
70
  * to be consistent across loads of a world instance. No
@@ -138,11 +133,6 @@ export class MinecraftDimensionTypes {
138
133
  */
139
134
  export class Player extends Entity {
140
135
  protected constructor();
141
- /**
142
- * Dimension that the entity is currently within.
143
- * @throws This property can throw when used.
144
- */
145
- readonly dimension: Dimension;
146
136
  /**
147
137
  * Unique identifier of the player. This identifier is intended
148
138
  * to be consistent across loads of a world instance. No
@@ -182,10 +172,6 @@ export class Player extends Entity {
182
172
  */
183
173
  export class System {
184
174
  protected constructor();
185
- /**
186
- * Represents the current world tick of the server.
187
- */
188
- readonly currentTick: number;
189
175
  /**
190
176
  * @remarks
191
177
  * Runs a specified function at a future time. This is
@@ -194,19 +180,11 @@ export class System {
194
180
  * @param callback
195
181
  * Function callback to run when the tickDelay time criteria is
196
182
  * met.
197
- * @param tickDelay
198
- * Number of ticks to wait before running this function. 1
199
- * means this function will run on the next tick. A value of 20
200
- * means that this function will run in 20 ticks (or
201
- * approximately one second). When the value of '0' is used
202
- * within an event handler, this funtion will run later within
203
- * the tick frame. Using the value of '0' within a System.run
204
- * function is not supported.
205
183
  * @returns
206
184
  * An opaque identifier that can be used with the `clearRun`
207
185
  * function to cancel the execution of this run.
208
186
  */
209
- run(callback: () => void, tickDelay?: number): number;
187
+ run(callback: () => void): number;
210
188
  }
211
189
  /**
212
190
  * A class that wraps the state of a world - a set of
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "1.0.0-preview.1.19.50.22",
3
+ "version": "1.0.0-preview.1.19.50.24",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {