Entity Tags and Attack Conditions

Started by BreakerOfFourthWall on

Topic category: Help with modding (Java Edition)

Last seen on 03:57, 1. Aug 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity Tags and Attack Conditions

I’m trying to make an entity that attacks every mob that has the custom entity tag “humanoid” using the attack conditions. Through this I’ve run into a few problems

  1. I can’t seem to get the entity that the mob is wanting to attack for the condition
  2. Any attempt at trying to get the mob to do it either crashes the game, makes it attack all mobs including its own kind, or it becomes completely passive

One additional note: I’m using version 2022.3 with the 1.16.5 generator so I can’t using any blocks added later than that. Please, someone at the very least tell me if it is or is not possible.