Started by
Oxxxygen
on
Topic category: Help with Minecraft modding (Java Edition)
I am creating a mod with custom trees. As a result, I encountered the problem of my foliage blocks decay if I set these blocks as a normal blocks. At the same time, the random tick procedure works, but the foliage does not decay if I cut down a tree. It just hangs in the air. At the same time, if I set a block as foliage, then the foliage begins to decay, and the block behaves like a foliage block (even quickly disappears if the mod Falling Tree is connected), but the random tick procedure does not work, which is necessary for the implementation of foliage growth stages. How can I fix the random tick procedure and at the same time make the foliage block behave like a foliage block?
You can use the Leaves block base and add your log blocks to the minecraft:logs blocks tag.