Help getting other entity of the triggered entity but same type of entity in area of x

Started by Themobgolbler69 on

Topic category: Help with MCreator software

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help getting other entity of the triggered entity but same type of entity in area of x

As the title says i cannot find a way to get the nearest entity of the same type but not the same exact entity.

if there is a way to compare one of the triggered entity to the nearest entity that is the same type but not the same entity that would be great.

example:
 

zombie1, zombie2, spider1, spider2 

zombie1 is of type zombie and is not spider and is not spider1 or spider2

 

if you cannot help these are some suggestions/updates that could be added to Mcreator.

get nearest other entity at x[ ] y [ ] z [ ] in square cube with side [  ] of type (Entity type) 

does nearest other entity exist at x[ ] y [ ] z [ ] in square cube with side [  ] of type (Entity type)

(other entity) would not pull any dependencies or there would be 2 added Minecraft Components:

1 = not source entity

2 = not event/target entity

any help would be amazing  thanks :)

 

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
While waiting for 2020.5,…
Sun, 10/18/2020 - 15:03

While waiting for 2020.5, maybe there's a way to do what you want with the tools we have currently. What do you want to do with the other entity?