How do I make a custom crop grow in villages?

Started by bananarang_mods on Wed, 08/26/2020 - 07:07

Topic category: Help with modding (Java Edition)

Last seen on 11:22, 30. Oct 2020
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a custom crop grow in villages?
Wed, 08/26/2020 - 07:07

Hi I made a custom crop and I wanna know how do I make it spawn in villages and allow villagers to plant my crop?

Last seen on 03:14, 28. Oct 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Without custom code, and…
Wed, 08/26/2020 - 07:22

Without custom code, and possibly modifying the village generation code (as well as villager), this won't currently be possible using MCreator's built-in procedures or elements.

Last seen on 03:14, 28. Oct 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Now that I think about it,…
Wed, 08/26/2020 - 07:50

Now that I think about it, it could be possible to use very specific spawn conditions in your procedure to check for villages nearby/farmland to generate the plants on, but I'm not too sure how well it would work out. But as for the villagers, you would need custom code.