get nearest entity flexibility?

Started by AxoMcreator on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
get nearest entity flexibility?
Mon, 06/23/2025 - 17:31 (edited)

if the entity is exactly in the location it works perfectly, but if theres the slightest offset the game crashes, this also happens if theres no entity at all but that i fixed

Edited by AxoMcreator on Mon, 06/23/2025 - 17:31
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to first check if…
Mon, 06/23/2025 - 13:11

You need to first check if there is the specified entity type in the area. There is a procedure block that can do it easily.

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i think the problem is that…
Mon, 06/23/2025 - 13:50

i think the problem is that the are isnt large enough, how do i increase it

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i already mentioned, i need…
Mon, 06/23/2025 - 15:45

i already mentioned, i need to change it so its not exactly the cordinates but approximatly

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
changed up some things,…
Mon, 06/23/2025 - 18:22

changed up some things, still doesnt work