how to get effect when you near to block?

Started by Vitalex on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to get effect when you near to block?

how to make it so that being near the block / entity, you get  an effect? Sorry for my english, i used Google Translate

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If block at x (entity x…
Sat, 03/28/2020 - 20:42

If block at x (entity x position +1) = specialblock, add potion with level...

If block at x (entity x position -1) = specialblock, add potion with level...

if block ... z (entity z position +1) ...

if block ... z (entity z position -1) ...

 

 

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what trigger should I set…
Sun, 03/29/2020 - 06:56

what trigger should I set and do I need it?

Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm sorry, I made a mistake…
Sun, 03/29/2020 - 07:07

I'm sorry, I made a mistake. I need the effect to go to the nearest mob