Add procedure block *(entity) is targeting other entity*

Started by Kyoukster on Tue, 04/12/2022 - 00:07

Topic category: Feature requests and ideas for MCreator

Last seen on 00:47, 25. Jun 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Add procedure block *(entity) is targeting other entity*
Tue, 04/12/2022 - 00:07

so in mcreator all NULL: blocks that are used to replace the components event/target or source entity blocks

come with an extra procedure block to verify that it exist on the first place

like. *NULL : Nearest entity of type (entity) in X radius* comes with an *Entity of type (entity) in X radius* exist

otherwise not using this ends in a free crash since entity doesn't exist

 

But the NULL block Get entity is targeting for attack doesn't have one to verify that entity even exist one

so basically using the block in a procedure will end in a free crash. since most of the time an idle entity will have no target

or if the player is in creative it will also crash since creative players can not be targeted

 

so to using this NULL block correctly. 

a complementary one. *entity is targeting other entity*

Last seen on 18:47, 22. Jun 2022
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
That's true, I can't make a…
Sun, 05/29/2022 - 09:16

That's true, I can't make a boss if it's crashing all the time, and there is also no method that does the function

Last seen on 03:27, 19. Jun 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
(No subject)
Sat, 06/04/2022 - 16:55

img

Last seen on 00:47, 25. Jun 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
that could work. as long as…
Sat, 06/04/2022 - 23:11

that could work. as long as it can also tag whenever entity have no more a target (gets too far/kills the target)

it will work a lot

Last seen on 00:47, 25. Jun 2022
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
tag. i mean DETECT
Sat, 06/04/2022 - 23:11

tag. i mean DETECT