(RESOLVED) Attempting to give entities within a certain radius an effect crashes the game

Started by scarfcrow on

Topic category: Help with modding (Java Edition)

Last seen on 21:44, 1. May 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(RESOLVED) Attempting to give entities within a certain radius an effect crashes the game
Tue, 04/23/2024 - 20:46 (edited)

I have a boss monster in my mod which I want to give mining fatigue to any nearby players (Like the Elder Guardian).

I made a procedure under "Entity Tick Update" using the "Add Potion" block to "Nearest Player Within Square Cube Size". Even trying to make it fire by chance crashes the game.

How do I make this work?

Edited by scarfcrow on Tue, 04/23/2024 - 20:46
Last seen on 21:44, 1. May 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I fixed it, thank you!
Tue, 04/23/2024 - 20:46

I fixed it, thank you!