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.
@@ -2736,6 +2736,8 @@ var Entities = class {
2736
2736
  if (textureKey) {
2737
2737
  const path2 = isAssetKey(textureKey) ? textureKey.getFullPath() : textureKey.path;
2738
2738
  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);
2739
+ } else if (layer.textureLocation !== void 0) {
2740
+ texture = AssetKey.parse("textures", layer.textureLocation.replace(/^([^:]+:)?textures\//, "$1"));
2739
2741
  } else {
2740
2742
  texture = await this.resolveTexture(modelKey);
2741
2743
  }