How can I make a mob appear when a block is broken?

Started by Thano on Sun, 12/26/2021 - 17:37

Topic category: Help with modding (Java Edition)

Last seen on 10:51, 27. Dec 2021
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can I make a mob appear when a block is broken?
Sun, 12/26/2021 - 17:37

I want to make it so when you break any log while in a roofed forest biome, a mob spawns somewhere near you and immediately attacks. How can this be done?

Last seen on 10:51, 27. Dec 2021
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I forgot to mention that Iā€¦
Sun, 12/26/2021 - 17:37

I forgot to mention that I am making a Forge mod for 1.16.5 with MCreator 2021.3