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

Started by scarfcrow on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 day ago
Joined Feb 2024
Points:
114

User statistics:

  • Modifications: 1
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 28
(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
Active 1 day ago
Joined Feb 2024
Points:
114

User statistics:

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

I fixed it, thank you!