我正在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"
}
答案 0 :(得分:0)
"chestadd:blocks/ChestOneBottom"