modist
本帖最后由 zjx475 于 2020-11-4 21:28 编辑

forge版本1.12.方块模型文件:
{
    "parent": "block/cube_all",
    "textures": {
        "all": "renju:a"
    }
}
在assets/renju/textures下,有a.png.
同时还有下列模型文件:
{
    "parent": "block/cube_all",
    "textures": {
        "all": "renju:blocks/chess_piece_texture_white"
    }
}
在assets/renju/textures/blocks下,有chess_piece_texture_white.png.
游戏中方块为紫黑块,无字,运行时报错:
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: The following texture errors were found.
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:   DOMAIN renju
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: --------------------------------------------------
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:   domain renju is missing 2 textures
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:     domain renju has 1 location:
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:       mod renju resources at D:\DESKTOP\BlockDiy1.12\bin
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:     The missing resources for domain renju are:
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:       textures/blocks/chess_piece_texture_white.png
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:       textures/a.png
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:     No other errors exist for domain renju
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
图片:

(好吧,我知道这是个很愚蠢的问题,但我真的尝试了几个小时而无法解决,希望大家帮助!)







2021.12 数据,可能有更多内容forge版本1.12.方块模型文件:
{
    "parent": "block/cube_all",
    "textures": {
  "all": "renju:a"
    }
}
在assets/renju/textures下,有a.png.
同时还有下列模型文件:
{
    "parent": "block/cube_all",
    "textures": {
  "all": "renju:blocks/chess_piece_texture_white"
    }
}
在assets/renju/textures/blocks下,有chess_piece_texture_white.png.
游戏中方块为紫黑块,无字,运行时报错:
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: The following texture errors were found.
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:   DOMAIN renju
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: --------------------------------------------------
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:   domain renju is missing 2 textures
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:  domain renju has 1 location:
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:    mod renju resources at D:\DESKTOP\BlockDiy1.12\bin
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:  The missing resources for domain renju are:
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:    textures/blocks/chess_piece_texture_white.png
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:    textures/a.png
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]:  No other errors exist for domain renju
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================
[21:04:23] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
图片:

(好吧,我知道这是个很愚蠢的问题,但我真的尝试了几个小时而无法解决,希望大家帮助!)



modist
本帖最后由 zjx475 于 2020-11-5 17:48 编辑

折腾了很久,大概发现:因为我的电脑只能创建bmp图片,我创建后直接将其改为png形式,这时候材质就识别不出来了?实在是很奇妙。


糖果sweet
zjx475 发表于 2020-11-5 17:46
折腾了很久,大概发现:因为我的电脑只能创建bmp图片,我创建后直接将其改为png形式,这时候材质就识别不出 ...

你应该用图片格式转换工具转换,不然肯定是不行了

Monus
        MCBBS有你更精彩~

第一页 上一页 下一页 最后一页