Started by
GustavoLank9236
on
Topic category: Help with Minecraft modding (Java Edition)
I want to make a trunk, but I do not know how to do the rotations, I did not find any updated tutorial.
Edited by GustavoLank9236 on Fri, 09/28/2018 - 22:46
This will require you to do some code editing and java knowlege.
You need to create PropertyDirection property, new Blockstate container, edit onBlockAdded method and edit the blockstate .json file.
You can look into my rotatable block which I have created, you should be able to figure out how it is working. I have somewhere easier code for this, but propably not uploaded online.
https://github.com/Toma1O6/pubgmc/blob/master/src/main/java/com/toma/puβ¦