Block as leaves and random ticks

Started by Oxxxygen on

Topic category: Help with Minecraft modding (Java Edition)

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?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use the Leaves block…
Tue, 10/01/2024 - 16:18

You can use the Leaves block base and add your log blocks to the minecraft:logs blocks tag.