Jump to content

[1.13.2] Blockstate/model extended from minecraft:cube_all


LTNightshade

Recommended Posts

Logfile:

 

[21Feb2019 12:27:04.911] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'minecraft:cube_all' referenced from: nimox:test#inventory: java.io.FileNotFoundException: minecraft:models/cube_all.json
[21Feb2019 12:27:05.146] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:05.146] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:05.146] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:05.146] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:05.147] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:05.147] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:05.147] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:05.243] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #down in minecraft:block/cube_all
[21Feb2019 12:27:05.244] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #up in minecraft:block/cube_all
[21Feb2019 12:27:05.244] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #north in minecraft:block/cube_all
[21Feb2019 12:27:05.244] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #south in minecraft:block/cube_all
[21Feb2019 12:27:05.244] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #west in minecraft:block/cube_all
[21Feb2019 12:27:05.244] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #east in minecraft:block/cube_all
[21Feb2019 12:27:05.312] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384
[21Feb2019 12:27:06.542] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas
[21Feb2019 12:27:07.370] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:07.370] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:07.370] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:07.371] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:07.371] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:07.371] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:27:07.371] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all

 

src\main\resources\assets\nimox\blockstates\test.json:

 

{
  "forge_marker": 1,
  "defaults": {
    "model": "cube_all",
    "textures": {
      "all": "nimox:block/ore_copper"
    }
  },
  "variants": {
    "": {
      "model": "cube_all"
    }
  }
}

 

src\main\resources\assets\nimox\models\item\test.json:

 

{
  "parent": "cube_all"
}

 

texture is in : src\main\resources\assets\nimox\textures\block\ore_copper.png

 

Why doesn't it find the parent file ? or what am i doing wrong ?

 

Link to comment
Share on other sites

Change the parent in your item model to:

block/cube_all

.

Edited by DavidM
Referred to the wrong file.
  • Like 1

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

get even worse :

(same result with : "minecraft:block/cube_all" or "minecraft:cube_all" or "block/cube_all")

[21Feb2019 12:50:58.671] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Sound engine started
[21Feb2019 12:51:01.241] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'minecraft:block/block/cube_all' referenced from: nimox:test#: java.io.FileNotFoundException: minecraft:models/block/block/cube_all.json
[21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:01.927] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #down in nimox:item/test
[21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #up in nimox:item/test
[21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #north in nimox:item/test
[21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #south in nimox:item/test
[21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #west in nimox:item/test
[21Feb2019 12:51:01.992] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #east in nimox:item/test
[21Feb2019 12:51:02.057] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384
[21Feb2019 12:51:03.288] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas
[21Feb2019 12:51:04.141] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:04.141] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:04.141] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:04.141] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:04.142] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:04.142] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:51:04.142] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 12:53:49.765] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to load model: 'minecraft:cube_all' referenced from: nimox:test#inventory: java.io.FileNotFoundException: minecraft:models/cube_all.json
<Rest is the same>

 

Edited by LTNightshade
Link to comment
Share on other sites

Change your blockstate for your block to something like:

{
    "parent": "block/cube_all",
    "textures": {
        "all": "modid:block/copperore"
    }
}

 

Edited by DavidM

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

[21Feb2019 13:18:40.780] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager/SOUNDS]: Sound engine started
[21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.980] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.981] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:43.987] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:44.071] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #down in minecraft:block/cube_all
[21Feb2019 13:18:44.071] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #up in minecraft:block/cube_all
[21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #north in minecraft:block/cube_all
[21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #south in minecraft:block/cube_all
[21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #west in minecraft:block/cube_all
[21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #east in minecraft:block/cube_all
[21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #down in nimox:item/test
[21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #up in nimox:item/test
[21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #north in nimox:item/test
[21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #south in nimox:item/test
[21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #west in nimox:item/test
[21Feb2019 13:18:44.072] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #east in nimox:item/test
[21Feb2019 13:18:44.139] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384
[21Feb2019 13:18:45.344] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas
[21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.192] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:46.207] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:18:49.182] [modloading-worker-1/INFO] [de.madone.nimox.nimox/]: Got IMC

 

blockstate:

{
  "forge_marker": 1,
  "defaults": {
    "model": "minecraft:cube_all",
    "textures": {
      "all": "nimox:block/ore_copper"
    }
  },
  "variants": {
    "": {
      "model": "minecraft:cube_all"
    }
  }
}

 

models/item:

{
  "parent": "block/cube_all"
}

No more "file not found error", but still not working (pink/black texture).

 

Link to comment
Share on other sites

Check my previous post. Add a "textures" under "variants"/"".

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

{
  "parent": "block/cube_all",
  "textures": {
    "all": "nimox:block/ore_copper"
  }
}

results into -> 

[21Feb2019 13:41:23.194] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'nimox:blockstates/test.json' in resourcepack: 'main': Neither 'variants' nor 'multipart' found

 

Directly out of the forge-docs :)

{
  "forge_marker": 1,
  "defaults": {
    "textures": {
      "all": "nimox:block/ore_copper"
    },
    "model": "cube_all"
  },
  "variants": {
    "normal": [{}]
  }
}

results into -> 

[21Feb2019 13:45:28.091] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'nimox:blockstates/test.json' in resourcepack: 'main' for variant: 'normal': Unknown blockstate property: 'normal'

 

And again

{
  "forge_marker": 1,
  "defaults": {
    "textures": {
      "all": "nimox:block/ore_copper"
    },
    "model": "cube_all"
  },
  "variants": {
    "": [{}]
  }
}

results into -> 

[21Feb2019 13:46:53.605] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:53.606] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:53.733] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #down in minecraft:block/cube_all
[21Feb2019 13:46:53.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #up in minecraft:block/cube_all
[21Feb2019 13:46:53.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #north in minecraft:block/cube_all
[21Feb2019 13:46:53.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #south in minecraft:block/cube_all
[21Feb2019 13:46:53.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #west in minecraft:block/cube_all
[21Feb2019 13:46:53.734] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Unable to resolve texture reference: #east in minecraft:block/cube_all
[21Feb2019 13:46:53.796] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Max texture size: 16384
[21Feb2019 13:46:55.056] [Client thread/INFO] [net.minecraft.client.renderer.texture.TextureMap/]: Created: 512x512 textures-atlas
[21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all
[21Feb2019 13:46:55.824] [Client thread/WARN] [net.minecraft.client.renderer.model.ModelBlock/]: Unable to resolve texture due to upward reference: #all in minecraft:block/cube_all

 

 

Update:

with models/item/test.json like:

{
  "parent": "block/cube_all",
  "textures": {
    "all": "nimox:block/ore_copper"
  }
}

 

the itemblock in inventory is fine, but the block in the world itself still no texture.

 

Edited by LTNightshade
Link to comment
Share on other sites

Ok. Solved, but it should have work like tried above, doesn't it ?

 

Blockstate

{
  "forge_marker": 1,
  "defaults": {
    "textures": {
      "all": "nimox:block/ore_copper"
    },
    "model": "nimox:test"
  },
  "variants": {
    "": [{}]
  }
}

 

models/item/test.json AND models/block/test.json
 

{
  "parent": "block/cube_all",
  "textures": {
    "all": "nimox:block/ore_copper"
  }
}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.