@minecraft/debug-utilities 1.0.0-beta.1.26.20-preview.22 → 1.0.0-beta.1.26.20-preview.26

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 +15 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -167,6 +167,16 @@ export class DebugShape {
167
167
  *
168
168
  */
169
169
  readonly location: minecraftserver.Vector3;
170
+ /**
171
+ * @remarks
172
+ * If defined, this distance will be used to determine how far
173
+ * away this shape will be rendered for each client. By default
174
+ * the distance will match the client's render distance
175
+ * setting.
176
+ *
177
+ * Minimum Value: 0
178
+ */
179
+ maximumRenderDistance?: number;
170
180
  /**
171
181
  * @remarks
172
182
  * The rotation of the shape (Euler angles - [Pitch, Yaw,
@@ -291,6 +301,11 @@ export class DebugText extends DebugShape {
291
301
  * @remarks
292
302
  * Sets the text to display.
293
303
  *
304
+ * @throws This function can throw errors.
305
+ *
306
+ * {@link minecraftcommon.ArgumentOutOfBoundsError}
307
+ *
308
+ * {@link minecraftserver.RawMessageError}
294
309
  */
295
310
  setText(text: minecraftserver.RawMessage | string): void;
296
311
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/debug-utilities",
3
- "version": "1.0.0-beta.1.26.20-preview.22",
3
+ "version": "1.0.0-beta.1.26.20-preview.26",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {