How can I create a mob that can’t be attacked by the warden?

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 create a mob that can’t be attacked by the warden?

I just need this for the caller, a new entity I’m working on.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom tage "warden_ignores"…
Tue, 01/14/2025 - 23:19

Custom tage "warden_ignores" and code to that alters the warden's behavior so that it wont attack or be triggered by sounds made from entities with that tag. I do not know how else this would be done as Warden's behavior is specific to sound and not entities.

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That or learn how minecraft…
Tue, 01/14/2025 - 23:21

That or learn how minecraft uses Game Event tags to deside what Wardens can and can't listen to/react to

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I change Warden’s…
Wed, 01/15/2025 - 08:54

How do I change Warden’s code, I’m new!

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey, I don’t understand how…
Wed, 01/15/2025 - 21:49

Hey, I don’t understand how do I just change the code of a vanilla mob, can you help me?

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
have an on entity tick…
Tue, 02/18/2025 - 17:47

have an on entity tick global trigger and check if it is a warden, if so then check what it is aggressive to, check if it is your mob/entity and if true, disable it's aggressiveness.

 

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
kind of late, but I use…
Tue, 02/18/2025 - 20:27

kind of late, but I use Warden Immune