pw-js-api 0.2.9-dev.043b9e9 → 0.2.9
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/browser/pw.dev.js +1 -1
- package/browser/pw.prod.js +1 -1
- package/cm/gen/world_pb.d.ts +74 -30
- package/cm/gen/world_pb.js +53 -43
- package/esm/gen/world_pb.d.ts +74 -30
- package/esm/gen/world_pb.js +51 -41
- package/esm/types/api.d.ts +15 -9
- package/package.json +1 -1
package/esm/types/api.d.ts
CHANGED
|
@@ -142,13 +142,17 @@ export interface ListBlockResult {
|
|
|
142
142
|
*/
|
|
143
143
|
Id: number;
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
145
|
+
* Useful for mapping, allows you to identify the block in case the numeric ID changes.
|
|
146
|
+
*
|
|
147
|
+
* This is what they refer to as block name for some reason.
|
|
148
|
+
*
|
|
149
|
+
* NOTE: There may still be an occasion where the block's name is changed, for eg due to a typo.
|
|
146
150
|
*/
|
|
147
|
-
|
|
151
|
+
PaletteId: string;
|
|
148
152
|
/**
|
|
149
|
-
*
|
|
153
|
+
* 0 for Background, 1 for Foreground.
|
|
150
154
|
*/
|
|
151
|
-
|
|
155
|
+
Layer: number;
|
|
152
156
|
/**
|
|
153
157
|
* Unsigned 32 bit integer.
|
|
154
158
|
*
|
|
@@ -156,13 +160,15 @@ export interface ListBlockResult {
|
|
|
156
160
|
*/
|
|
157
161
|
MinimapColor?: number;
|
|
158
162
|
/**
|
|
159
|
-
*
|
|
163
|
+
* List of type of arg this block has.
|
|
160
164
|
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
* NOTE: There may still be an occasion where the block's name is changed, for eg due to a typo.
|
|
165
|
+
* For eg if it's a sign, it will be [0] where 0 indicates it's a String.
|
|
164
166
|
*/
|
|
165
|
-
|
|
167
|
+
BlockDataArgs?: number[];
|
|
168
|
+
/**
|
|
169
|
+
* EELVL ID.
|
|
170
|
+
*/
|
|
171
|
+
LegacyId: number;
|
|
166
172
|
/**
|
|
167
173
|
* EELVL block arguments.
|
|
168
174
|
*
|