retaliate only on specific target

Started by TheDragon'sSon on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
retaliate only on specific target

So, I want a mob ([custom_mob]) that retaliate on every creatures except some that are in a tag (forge:[team]). I've created these procedure but no one work. Can someone help me ?

My MCreator is in french language so I have made an approximate translation. Hope it's understandable.

Retaliate start condition:
	If event/target entity is the same than [Custom_mob]
		return false
	return true
Retaliate start condition:
	If event/target entity is tagged as "forge:[team]" 
		return false
	return true