How can I change vanilla mob’s behavior

Started by PiglinMiguel on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I change vanilla mob’s behavior

I did a tag to all mobs that can’t be attacked by the warden.
I just need to change the warden’s AI to not attack those mobs, but how do I do that?

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
probably a procedure…
Fri, 01/17/2025 - 21:57

probably a procedure targetting the entity

I will base my response on a custom drop procedure of a vanilla mob:

Global trigger: entity spawns/jumps

Procedure:

IF - is entity a sub/type &mob name&

IF(inside) - Sees entity &mob name&

DO - idk here, maybe just stare at the mob part