how to get effect when you near to block?

Started by Vitalex on Sat, 03/28/2020 - 20:03

Topic category: Help with modding (Java Edition)

Last seen on 11:35, 3. Jun 2021
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how to get effect when you near to block?
Sat, 03/28/2020 - 20:03

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

Last seen on 17:02, 24. Jan 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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) ...

 

 

Last seen on 11:35, 3. Jun 2021
Joined May 2018
Points:

User statistics:

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

what trigger should I set and do I need it?

Last seen on 11:35, 3. Jun 2021
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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