Topic category: General discussion
Hi there,
I have been finding a solution for a rotating custom plant and found the solution in adjusting the Blockstate of custom plants such as going into src>resources>assets>MODNAME>blockstates
However every time i change something with my mod i get the customization in the blockstates for all my changes reset and i don't want to lock all my code to my plants. A simple option is to add a blockstate option for the custom plant option such as y axis rotation. an example is below.
{
"variants": {
"": [
{
"model": "minecraft_dungeons_plants:block/blue_nethershroom"
},
{
"model": "minecraft_dungeons_plants:block/blue_nethershroom",
"y": 90
},
{
"model": "minecraft_dungeons_plants:block/blue_nethershroom",
"y": 180
},
{
"model": "minecraft_dungeons_plants:block/blue_nethershroom",
"y": 270
}
]
}
}