Check for at least one entity in a certain area

Started by Maxsteelbro on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check for at least one entity in a certain area
Fri, 11/24/2023 - 04:07 (edited)

So, lets say for example I want to check for at least one entity with regeneration in an area of 6 blocks, I tried using the "for each entity iterator..." block but in the case of multiple entities, if one of them doesnt have the potion effect, it will return false even if theres an entity that meets the requirement, is there any way to solve this using what is currently in MCreator?

Edited by Maxsteelbro on Fri, 11/24/2023 - 04:07