1
Forge doesn't like Stone Variants
Does anyone else have a problem with Forge displaying textures for stone variants? All my variants display correctly without or without Forge except for stone which displays fine without Forge, but doesn't display at all with Forge. I'm not sure, but I think it has to do with block state JSONs.
My sand/sandstone block variants work fine using the following block state code JSON:
No image shows for any stone texture using Forge with this block state JSON code:
So, I changed the stone JSON to match the sand JSON:
This results in the game reverting back to the default resource pack. Obviously, I don't know what I'm doing. I'd very much appreciate any help you could throw my way. Thanks!
P.S.
Grass variants also display correctly with or without Forge using the following block state JSON:
My sand/sandstone block variants work fine using the following block state code JSON:
{
"variants": {
"normal": [
{ "model": "sand", "weight": 33 },
{ "model": "sand1", "weight": 33 },
{ "model": "sand2", "weight": 33 }
]
}
}
No image shows for any stone texture using Forge with this block state JSON code:
{
"variants": {
"normal": [
{ "model": "stone" },
{ "model": "stoneyflipped" },
{ "model": "stone", "y": 180 },
{ "model": "stoneyflipped", "y": 180 },
{ "model": "stone2" },
{ "model": "stoneyflipped2" },
{ "model": "stone2", "y": 180 },
{ "model": "stoneyflipped2", "y": 180 },
{ "model": "stone3" },
{ "model": "stoneyflipped3" },
{ "model": "stone3", "y": 180 },
{ "model": "stoneyflipped3", "y": 180 },
{ "model": "stone4" },
{ "model": "stoneyflipped4" },
{ "model": "stone4", "y": 180 },
{ "model": "stoneyflipped4", "y": 180 },
{ "model": "stone5" },
{ "model": "stoneyflipped5" },
{ "model": "stone5", "y": 180 },
{ "model": "stoneyflipped5", "y": 180 }
]
}
}
So, I changed the stone JSON to match the sand JSON:
{
"variants": {
"normal": [
{ "model": "stone", "weight": 10 },
{ "model": "stoneyflipped", "weight": 10 },
{ "model": "stone2", "weight": 10 },
{ "model": "stoneyflipped2", "weight": 10 },
{ "model": "stone3", "weight": 10 },
{ "model": "stoneyflipped3", "weight": 10 },
{ "model": "stone4", "weight": 10 },
{ "model": "stoneyflipped4", "weight": 10 },
{ "model": "stone5", "weight": 10 },
{ "model": "stoneyflipped5", "weight": 10 },
]
}
}
This results in the game reverting back to the default resource pack. Obviously, I don't know what I'm doing. I'd very much appreciate any help you could throw my way. Thanks!
P.S.
Grass variants also display correctly with or without Forge using the following block state JSON:
{
"variants": {
"snowy=false": [
{ "model": "grass_normal" },
{ "model": "grass_normal", "y": 90 },
{ "model": "grass_normal", "y": 180 },
{ "model": "grass_normal", "y": 270 }
,
{ "model": "grass_normal2" },
{ "model": "grass_normal2", "y": 90 },
{ "model": "grass_normal2", "y": 180 },
{ "model": "grass_normal2", "y": 270 }
,
{ "model": "grass_normal3" },
{ "model": "grass_normal3", "y": 90 },
{ "model": "grass_normal3", "y": 180 },
{ "model": "grass_normal3", "y": 270 },
{ "model": "grass_normal4" },
{ "model": "grass_normal4", "y": 90 },
{ "model": "grass_normal4", "y": 180 },
{ "model": "grass_normal4", "y": 270 }
],
"snowy=true":
{ "model": "grass_snowed" }
}
}
Create an account or sign in to comment.
2
1
You probably just had an inconsistency with your blockstate and model files. Specifying, say, models 1, 2, and 3 in the blockstate file but then only having 1 and 2 in the models would result in pink blocks with forge. But with the vanilla game, it just skips over missing models and uses the one available.
1
For anyone who stumbles across this, apparently, this is the code that works:
{
"variants": {
"normal": [
{ "model": "stone", "weight": 20 },
{ "model": "stone2", "weight": 20 },
{ "model": "stone3", "weight": 20 },
{ "model": "stone4", "weight": 20 },
{ "model": "stone5", "weight": 20 },
{ "model": "stone_mirrored" },
{ "model": "stone", "y": 180 },
{ "model": "stone_mirrored", "y": 180 }
]
}
}