Plant that blooms at certain time, random tick not working

Started by Ovations on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Plant that blooms at certain time, random tick not working

I want to make a special flower that blooms at sunset (between times 11500-12500). On its update tick, I made it detect if it is sunset, and if so to change the plant to its blooming variant, and to its closed variant for when it's not sunset. I had a problem with plants ticking before so I set it to a block that behaves like a plant, so it would tick. However, the force ticking doesn't work with naturally generated blocks, for lag reasons. When I set it to random tick, either the ticking is too slow to tick during the timeframe, or it doesn't tick at all because I didn't see any changes. I would really like to add a plant like this, so any advice is helpful.

 

Thanks in advance.

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the block menu click on…
Mon, 06/19/2023 - 14:29

In the block menu click on Advanced properties on the bottom, and enable Tick randomly (Advanced block properties 2nd counting from top).

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But the problem is that the…
Mon, 06/19/2023 - 15:32

But the problem is that the random ticking is too slow, like I said, and it doesn't update fast enough, at least when I tested it.