@minecraft/debug-utilities 1.0.0-beta.1.26.0-preview.26 → 1.0.0-beta.1.26.0-preview.28

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
@@ -130,6 +130,14 @@ export class DebugLine extends DebugShape {
130
130
  */
131
131
  export class DebugShape {
132
132
  private constructor();
133
+ /**
134
+ * @remarks
135
+ * The entity this shape is attached to. When set, this shape
136
+ * will copy the root location of the attached entity and the
137
+ * shape's position will be used as an offset.
138
+ *
139
+ */
140
+ attachedTo?: minecraftserver.Entity;
133
141
  /**
134
142
  * @remarks
135
143
  * The color of the shape.
@@ -188,6 +196,13 @@ export class DebugShape {
188
196
  *
189
197
  */
190
198
  readonly totalTimeLeft?: number;
199
+ /**
200
+ * @remarks
201
+ * The list of players that this shape will be visible to. If
202
+ * left empty, the shape will be visible to all players.
203
+ *
204
+ */
205
+ visibleTo: minecraftserver.Player[];
191
206
  /**
192
207
  * @remarks
193
208
  * Removes this shape from the world. The shape can be re-added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/debug-utilities",
3
- "version": "1.0.0-beta.1.26.0-preview.26",
3
+ "version": "1.0.0-beta.1.26.0-preview.28",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {