so I understand a fair amount of the blockstate file. The only things i don't understand are the "OR" and the "side | up". at first I thought "OR" might be like an or statement but the parameters didn't seem to match up properly so I have no idea what its function is and the same with the "side | up" I don't know what that does either. I'm putting this in resource pack help because I need this file for redstone retexturing. Can anyone explain the two things to me?
This is in the redstone_wire blockstate, "when" defines a blockstate, or several states, which when true will apply a model, "OR" defines multiple blockstates when any of these are true the model defined in "apply" will be applied.
Redstone has four states which can have one of three values, "north", "east", "south", "west" these can be:
"side" - this is when a redstone component that redstone dust can be attached to is next to redstone dust in the specified direction
"up" - this is when a redstone dust is up one block in the specified direction
"none" - there is no redstone component in the specfied direction
"north": "side|up" will be true when redstone dust has the blockstate "north": "side" OR "north": "up"
I hope that makes sense.
Rollback Post to RevisionRollBack
I do tutorials all about values encountered within block modelling on my website