minerender 2.1.0-alpha.25 → 2.1.0-alpha.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.
- package/dist/browser/index.d.mts +1 -0
- package/dist/browser/index.d.ts +1 -0
- package/dist/browser/index.js +2 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.mjs +2 -0
- package/dist/browser/index.mjs.map +1 -1
- package/dist/bundle.js +2 -0
- package/dist/bundle.js.map +1 -1
- package/dist/node/index.d.mts +1 -0
- package/dist/node/index.d.ts +1 -0
- package/dist/node/index.js +2 -0
- package/dist/node/index.js.map +1 -1
- package/dist/node/index.mjs +2 -0
- package/dist/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -78302,6 +78302,8 @@ return ${compiler2.callType("value", tagType)}
|
|
|
78302
78302
|
if (textureKey) {
|
|
78303
78303
|
const path2 = isAssetKey(textureKey) ? textureKey.getFullPath() : textureKey.path;
|
|
78304
78304
|
texture = isAssetKey(textureKey) && textureKey.assetType === "textures" && path2.startsWith("entity/") ? textureKey : new AssetKey(textureKey.namespace, path2, "textures", "entity", "assets", ".png", isAssetKey(textureKey) ? textureKey.root : void 0);
|
|
78305
|
+
} else if (layer.textureLocation !== void 0) {
|
|
78306
|
+
texture = AssetKey.parse("textures", layer.textureLocation.replace(/^([^:]+:)?textures\//, "$1"));
|
|
78305
78307
|
} else {
|
|
78306
78308
|
texture = await this.resolveTexture(modelKey);
|
|
78307
78309
|
}
|