November 9, 20195 yr Author 1 minute ago, diesieben07 said: Yes, the variant "age" does not exist in your block state. Neither does "normal" or "inventory". "inventory" is a special case, which would load an item model directly, without going to the block state, but that does not exist either. How would I have it dynamically load based on the age value in the blockstate? I have 4 different age variants in each blockstate json.
November 9, 20195 yr Author Just now, diesieben07 said: This is an item model. Items do not have a blockstate. What method would I need to use to register block models? The itemblock models don't load either.
November 10, 20195 yr Author 12 hours ago, diesieben07 said: Blocks do not need to register their models. The block state is mapped to a variant (just a string) using a StateMapper. The default state mapper creates a comma-separated list of key-value pairs ("age=3,direction=north", for example). ItemBlock models are nothing special. They are item models like all others and not related to block models. They are not based on a block state. Interesting. The code's changed quite a bit since last time I modded, it's been years. How would I go about properly setting this? I've not been able to find any suitable tutorials or working mods for it.
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.