Help! I want to make a crop with random final growth states

Started by Neoelfeo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help! I want to make a crop with random final growth states

Hello, I try to make custom crops, similar to pumpkin and watermelon, but before it reach the end of their growth have a 33% chance of staying as just grass, like the stem.

But I have no idea how to do it with on the new procedures.

I know it can be done using regular blocks, and some tick update, but beyond that i'm in blank.

I leave a reference illustration:

Crop

You would need to use a…
Tue, 04/13/2021 - 09:25

You would need to use a random tick update procedure and using a random chance, replace your current block with another one.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei