Check for closest entity that's not of a specific type

Started by 91arrows on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check for closest entity that's not of a specific type

i wanna execute a procedure based on the entity closest to my custom entity

the problem is that the closest entity to my custom entity is the custom entity itself, so it executes the procedure based on the custom entity

i want to either be able to find the second closest entity, third closest entity etc., or be able to find the closest entity that's not my custom entity

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how did you find the closest…
Mon, 03/18/2024 - 18:33

how did you find the closest entity?