Jump to content

Forge 1.18.2 Blockstates "Missing model for variant: " error


ThisMight

Recommended Posts

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 to add a couple of blockstate variants to my block, but I don't seem to understand what I'm doing wrong here.

My log, cut, but showing everything about the warnings I'm receiving. (Full log: [using mcreator to run, the full transition isn't done yet. but the files are the same both in IntelliJ and MCreator] https://gist.github.com/ThisMight/8657a0a5875b64dfb577bbb012afe3dd)

09:01.06 [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Found status: UP_TO_DATE Current: 40.1.0 Target: null 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=9' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=8' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=1' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=0' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=3' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=2' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=5' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=4' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=10' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=7' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' missing model for variant: 'gempierience:fusion_altar_block#gemindex=6' 
09:01.09 [Worker-Main-16/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'gempierience:blockstates/fusion_altar_block.json' in resourcepack: 'Mod Resources': Missing model, expected to find a string

The model is "misssing", yet is perfectly fine inside the files  (yes, the modid has a typo, but I've gotten used to writing it this way) (gempierience/blockstates/X state)

with blockstates like this I've tried to use "parent" with the base model, which yields the same results, the Json for the blockstates:
the block model Json:
https://gist.github.com/ThisMight/09d13120a82fe621cf4a4be5be3b5f5d

The blockstates Json:
https://gist.github.com/ThisMight/f78db276d9fed817809560770e47898e


One of the variants "fusionaltar_empty" (made using blockbench)
https://gist.github.com/ThisMight/6714e4719b12e81c772df1058674ca9b
 

the block code itself:
https://gist.github.com/ThisMight/7eb52bc5dafe3e4ede6ccff3fe4af1a7


If any other files, or code is necessary to check if something else is wrong, be sure to let me know. Any help is appreciated

Link to comment
Share on other sites

11 minutes ago, diesieben07 said:
  • forge_marker has no effect anymore.
  • Your blockstate JSON does not follow the blockstate JSON format. I recommend checking the Minecraft wiki for its format or using data generation.

Thank you!
Rookie mistake, I know.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.