Using custom blocks to grant effects

Started by 12moon on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Feb 2024
Points:
119

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
Using custom blocks to grant effects

I'm currently making a mod that contains a craftable nuclear bomb, and I was wondering if I could make the bomb give off an effect within a radius upon explosion.

For example, I have an effect titled Radiation Sickness that I want applied upon detonation. When the bomb explodes, the effect is supposed to be applied to all entities within a 150 block radius of the explosion site every 3 seconds for 5 minutes. Is there any way I could do this?

Thanks.