Started by
Way2Rushed
on
Topic category: Help with MCreator software
I need to identify the mob when it attacks the player, so far it can identify the player but not the attacking mob.
I am using the entity attacked procedure.
and I can't find a "is mob" block or something and i can't think of something else I can use.
For the "entity attacked" trigger, your (event/target entity) would be the entity that is hurt/being attacked. You can use (source entity) to get the entity that is causing the trigger/attacking the other entity. These blocks should be located under the "Minecraft components" in a procedure
I know about source entity block, but what I need is something that will identify the mob.
like a "source entity = cow" or something.
Oh, I found a block, " Is source entity (sub)type"
To determine the exact entity type there is a block under the "logic" tab that says something like "is (event/target entity) of type [drop down menue]"
You can change out event/target entity for source entity