I'm trying to generate a BlockState where each model depends on three properties: horizontal facing, if the block is powered (on or off) and the amount of power (0-10).
I'm currently trying to generate one custom model (not cube) for each resulting block state (22 ignoring rotation) where the only difference is one texture that depends on "powered" and "power", but I can't figure out how to modify my existing model that I've created in Blockbench. Anyone know how I can do this?
I have already got it to work by manually creating the BlockState and models but would like to do it by data generation for similar blocks.
If there are other better ways to achieve what I'm trying to do I'm open to suggestions!
Any help is greatly appreciated!