Trigger on Village Creation

Started by skellitor301 on

Topic category: Help with modding (Java Edition)

Last seen on 20:27, 3. Dec 2019
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trigger on Village Creation
Sun, 11/24/2019 - 09:30 (edited)

I'm fairly new to MCreator and I've got a solid mod idea that requires a procedure to trigger upon the creation of a village; i.e. when a village spawns in the world. The procedure I'm trying to create will upon creation of a village will give the village an ID, each villager an ID tied to their village ID, the number of villagers tied to the village ID, and the player "reputation" in relation to that village largely based on trades. I've tried searching the wiki and forums to see if such triggers and elements exist and I'm not finding any. Is this procedure possible or is custom code required to do this? If it is required can someone help me understand the code required to pull this off?

Edited by skellitor301 on Sun, 11/24/2019 - 09:30
Last seen on 15:38, 1. Dec 2022
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's possible with custom…
Tue, 11/26/2019 - 17:23

It's possible with custom code. I tried to search dis, but I couldn't find it.

Last seen on 20:27, 3. Dec 2019
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can someone help me with…
Wed, 11/27/2019 - 21:08

Can someone help me with that then? I dont know how to code very well