锻造国防部块纹理1.12

时间:2018-09-09 10:11:45

标签: java minecraft forge minecraft-forge

我正在Minecraft中创建一个新块,但是在1.12中,这使我在加载纹理时遇到了新的错误

[12:00:20] [main/ERROR] [FML]: Exception loading model for variant 
chestadd:chestone#facing=west for blockstate 
"chestadd:chestone[facing=west]"
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: 
Exception loading model chestadd:chestone#facing=west with loader 
VariantLoader.INSTANCE, skipping
... 
Caused by: net.minecraft.client.renderer.block.model.
ModelBlockDefinition$MissingVariantException

我的资产。{MODID}。处于封锁状态

{
    "variants": {
        "normal": {
            "model": "chestadd:chestone"
        }
    }
}

我的资产。{MODID} .models.block

{
    "parent": "block/cube",
    "textures": {
        "down": "chestadd:blocks/ChestOneBottom",
        "up": "chestadd:blocks/ChestOneTop",
        "north": "chestadd:blocks/ChestOne1",
        "east": "chestadd:blocks/ChestOne2",
        "south": "chestadd:blocks/ChestOne3",
        "west": "chestadd:blocks/ChestOne4"
    }
}

还有我的资产。{MODID} .models.item

{
    "parent": "chestone:block/chestone"
}

1 个答案:

答案 0 :(得分:0)

"chestadd:blocks/ChestOneBottom"

资产必须全部为小写。