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

Started by Kyoukster on

Topic category: Feature requests and ideas for MCreator

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add procedure block *(entity) is targeting other entity*

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*

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Sep 2020
Points:

User statistics:

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

img

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Mar 2019
Points:

User statistics:

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

tag. i mean DETECT

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
anyone found a way?  
Tue, 12/20/2022 - 08:51

anyone found a way?

 

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes plz add, the existence…
Tue, 08/15/2023 - 14:05

yes plz add, the existence of this block is ridiculous. I just want to manually make my mob sprint :\

Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in case someone just cames…
Wed, 10/04/2023 - 05:42

in case someone just cames here, there is the solution

IF  NOT get entity (event/target entity) is targetting = NO ENTITY works as a verification
NO ENTITY locates on advanced, 

so it will look if the target exist before proceding, the NOT allows this, otherwise it will check if there is no target