@minecraft/debug-utilities 1.0.0-beta.1.21.110-preview.26 → 1.0.0-beta.1.21.120-preview.20
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.
- package/index.d.ts +11 -11
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export class DebugArrow extends DebugLine {
|
|
|
46
46
|
*
|
|
47
47
|
*/
|
|
48
48
|
headSegments: number;
|
|
49
|
-
constructor(location:
|
|
49
|
+
constructor(location: minecraftserverbindings.Vector3, endLocation: minecraftserverbindings.Vector3);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/**
|
|
@@ -60,8 +60,8 @@ export class DebugBox extends DebugShape {
|
|
|
60
60
|
* bound multiplied by the shape's scale.
|
|
61
61
|
*
|
|
62
62
|
*/
|
|
63
|
-
bound:
|
|
64
|
-
constructor(location:
|
|
63
|
+
bound: minecraftserverbindings.Vector3;
|
|
64
|
+
constructor(location: minecraftserverbindings.Vector3);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/**
|
|
@@ -69,7 +69,7 @@ export class DebugBox extends DebugShape {
|
|
|
69
69
|
*/
|
|
70
70
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
71
71
|
export class DebugCircle extends DebugShape {
|
|
72
|
-
constructor(location:
|
|
72
|
+
constructor(location: minecraftserverbindings.Vector3);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/**
|
|
@@ -114,8 +114,8 @@ export class DebugLine extends DebugShape {
|
|
|
114
114
|
* spawn between location and endLocation.
|
|
115
115
|
*
|
|
116
116
|
*/
|
|
117
|
-
endLocation:
|
|
118
|
-
constructor(location:
|
|
117
|
+
endLocation: minecraftserverbindings.Vector3;
|
|
118
|
+
constructor(location: minecraftserverbindings.Vector3, endLocation: minecraftserverbindings.Vector3);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
/**
|
|
@@ -129,7 +129,7 @@ export class DebugShape {
|
|
|
129
129
|
* The color of the shape.
|
|
130
130
|
*
|
|
131
131
|
*/
|
|
132
|
-
color:
|
|
132
|
+
color: minecraftserverbindings.RGB;
|
|
133
133
|
/**
|
|
134
134
|
* @remarks
|
|
135
135
|
* Returns true if the shape has a limited time span before
|
|
@@ -144,14 +144,14 @@ export class DebugShape {
|
|
|
144
144
|
* this represents the start point of the line.
|
|
145
145
|
*
|
|
146
146
|
*/
|
|
147
|
-
location:
|
|
147
|
+
location: minecraftserverbindings.Vector3;
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
150
|
* The rotation of the shape (Euler angles - [Pitch, Yaw,
|
|
151
151
|
* Roll]).
|
|
152
152
|
*
|
|
153
153
|
*/
|
|
154
|
-
rotation:
|
|
154
|
+
rotation: minecraftserverbindings.Vector3;
|
|
155
155
|
/**
|
|
156
156
|
* @remarks
|
|
157
157
|
* The scale of the shape. This does not apply to DebugLine or
|
|
@@ -189,7 +189,7 @@ export class DebugShape {
|
|
|
189
189
|
*/
|
|
190
190
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
191
191
|
export class DebugSphere extends DebugShape {
|
|
192
|
-
constructor(location:
|
|
192
|
+
constructor(location: minecraftserverbindings.Vector3);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
/**
|
|
@@ -204,7 +204,7 @@ export class DebugText extends DebugShape {
|
|
|
204
204
|
*
|
|
205
205
|
*/
|
|
206
206
|
text: string;
|
|
207
|
-
constructor(location:
|
|
207
|
+
constructor(location: minecraftserverbindings.Vector3, text: string);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
export interface HandleCounts {
|