Missing model ingame when using multiple blockstate variants
See original GitHub issueWhen i use multiple blockstate variants, i can see the model with texture in inventory, but when i place the block, there is only a purple and black checkerboard.
My blockstate file:
{
"variants": {
"facing=east": { "model": "testmod:road_block" },
"facing=south": { "model": "testmod:road_block", "y": 90 },
"facing=west": { "model": "testmod:road_block", "y": 180 },
"facing=north": { "model": "testmod:road_block", "y": 270 }
}
}
Also, how to make a crafting recipe? I tried putting a minecraft recipe file to src/main/resources/assets/modid/recipes/
but it did not work.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to fix "loading model for blockstate variant '#normal ...
What I am getting: The game starts and in-game the block can be placed, but is completely untextured (missing textures texutre) in both...
Read more >Forge 1.18.2 Blockstates "Missing model for variant: " error
Hello! I've been using MCreator for a tad bit, but left it recently due to the restrictive nature of blocks, I'm currently trying...
Read more >Tried adding blockstates but i get no texture - MCreator
This is in my blockstate file for the block im using. { "variants": { ... missing model for variant: 'better_mc:copperwire#'
Read more >Coding expert anyone? on adding block variants : r/Minecraft
Hello im currently adding variants of blocks to my resource pack and I thought I has sussed it. But I altered the model...
Read more >Block Variation & Random Textures in Minecraft - YouTube
Block Variation & Random Textures in Minecraft - Blockstate Tutorial #1 - How to code .json files. Watch later. Share. Copy link.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s unlikely this is a Fabric API issue. Have you tried the support channels in the Fabric Discord.
If you believe it is a Fabric issue, please provide steps/code to reproduce: block state JSON, model JSON, folder structure, block registration code, logs, etc. We can’t do anything but guess with what is given.
Just tried that and it still doesn’t work.