How to detect the entity type with mcreator.

Started by NIJA on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to detect the entity type with mcreator.

How to detect the type of entity, (for example how to differentiate an enderman, form a skeletons or any other entity) with mcreator.

Setting the scene: 
I would like the Enderman and only the Enderman is some probability to drop a special ender pearl.
 
Problem:
I don't know how to tell the difference between a specific type of creature (on MCcreator) 

 

Which has already been done: 
I know how to make an event with certain probability, I also know how to make the item appear. But I don't know how to differentiate between a specific type of creature (on MCcreator), detect that the entity killing is an Enderman and not another entity. 

I did some research and I think I found a solution. This solution is to use the tags, thanks to this solution I found how to detect the entity of type "minecraft:skeletons" but I still do not know how to detect the entity of type Enderman.  

 

I hope you could help me, thank you in advance for the help and in any case thank you for answering me. 

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Klemen i have the same…
Sat, 06/04/2022 - 20:21

@Klemen i have the same problem and do not see the entity subtype block can you help?

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's hidden in the LOGIC tab…
Sat, 06/04/2022 - 21:28

It's hidden in the LOGIC tab, last entry.

     is [Event/target entity] (sub)type of [         ]

 

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank You, Valirane!
Sat, 11/25/2023 - 10:00

Thank You, Valirane!