mc-assets 0.2.6 → 0.2.8
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/README.MD +3 -3
- package/dist/assetsParser.js +5 -3
- package/dist/blockStatesModels.json +2131 -2131
- package/dist/blocksAtlasLatest.png +0 -0
- package/dist/blocksAtlases.json +26 -26
- package/dist/itemsRenderer.js +6 -3
- package/package.json +2 -2
package/README.MD
CHANGED
|
@@ -29,14 +29,12 @@ For contributing & building instructions see [building](#building) section.
|
|
|
29
29
|
|
|
30
30
|
All blockstates + models + all atlas textures for all versions bundled with rsbuild (uncompressed): 4.83 MB.
|
|
31
31
|
|
|
32
|
-
This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21.
|
|
32
|
+
This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1.
|
|
33
33
|
|
|
34
34
|
<details>
|
|
35
35
|
<summary>Included Block Entities (Additional Block Models) (132):</summary>
|
|
36
36
|
|
|
37
37
|
- ✅ item_frame
|
|
38
|
-
- ✅ sign
|
|
39
|
-
- ✅ wall_sign
|
|
40
38
|
- ✅ acacia_sign
|
|
41
39
|
- ✅ acacia_wall_sign
|
|
42
40
|
- ✅ birch_sign
|
|
@@ -166,6 +164,8 @@ This packages includes versions for: 1.7.10, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.
|
|
|
166
164
|
- ✅ yellow_wall_banner
|
|
167
165
|
- ✅ zombie_head
|
|
168
166
|
- ✅ zombie_wall_head
|
|
167
|
+
- ✅ sign
|
|
168
|
+
- ✅ wall_sign
|
|
169
169
|
- ❌ black_glazed_terracotta
|
|
170
170
|
- ❌ blue_glazed_terracotta
|
|
171
171
|
- ❌ brown_glazed_terracotta
|
package/dist/assetsParser.js
CHANGED
|
@@ -153,9 +153,11 @@ export class AssetsParser {
|
|
|
153
153
|
if (model.textures) {
|
|
154
154
|
this.resolvedModel.textures ??= {};
|
|
155
155
|
for (let [key, value] of Object.entries(model.textures)) {
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
if (value.includes('#')) {
|
|
157
|
+
const key = value.split('/').at(-1).slice(1);
|
|
158
|
+
if (this.resolvedModel.textures[key]) {
|
|
159
|
+
value = this.resolvedModel.textures[key];
|
|
160
|
+
}
|
|
159
161
|
}
|
|
160
162
|
this.resolvedModel.textures[key] = value;
|
|
161
163
|
}
|