Block as leaves and random ticks

Started by Oxxxygen on

Topic category: Help with modding (Java Edition)

Last seen on 13:08, 26. Sep 2024
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block as leaves and random ticks

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?