Detect entity in range

Started by ZwarteWolf on

Topic category: Advanced modding

Last seen on 08:21, 5. Jun 2021
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect entity in range

i am working on a mod for a roleplay server. the idea is that we have a bunch of flowers with certain powers that make the owners the lords of the lands.

so when i was working on this i wanted to make a flower that makes a choice about the nearby player if he is worthy or not, and then add an effect on that player either good or bad depending on the choice the flower made. but i cant seem to be able to detect any player in the range of the flower no matter what i try.

can anyone help me figure this out??

im using the code block system as i dont know java script

 

- Snow