Is it in any way possible to pass down variables and somehow add conditions to JSON (I am aware that JSON is notation only language).
In order to further explain this, let's take Induction Smelter from Thermal Expansion for example.
Induction Smelter has custom states for each side (I/O) also, custom states for rotation, and let's say Team CoFH decided they wan't do display how much energy it has stored on the block.
It would take a huge json blockstate file to support this.
I started writing something similar:
All of that "code" is what it takes to add support for just power display and rotation, now, we would need to copy - paste this 256 times which would result in 10240 lines of text and creation of 256 files.
So, just out of curiosity, is there a way to avoid this? Is there a way of doing the checking in Java? How much would this impact the game performance and loading time?