Started by
dinnerwithacapitald
on
Topic category: Feature requests and ideas for MCreator
Now I've wanted to add a new metal type with torches and lanterns but if I just modeled one in blockbench they would just be one block and not account for side torches or non floor lanterns. Support for signs boats and hanging signs was added in the latest update so seeing more of those would be cool. Thank you for your time. Please add this if possible.
So you make multiple models and use blockstates.
I could do that but blockstates confuse me I cant lie
Blockstates are just seperate models and/or textures for the same block. You use the custom properties in order to set the blockstate. The value provider being the condition to change the blockstate. You can also use nbt if you need different conditions to change the blockstate.
You make the different models for wall torches or hanging lanterns. Then you use a tick update to either check which face the torch was placed and set a custom property to true. This property switches the blockstate. For the lantern you do the same but check if the trigger face was on the bottom of a block and do the same.