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)

Active 3 days ago
Joined Jan 2025
Points:
54

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
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.

Active 6 days ago
Joined Dec 2017
Points:
812

User statistics:

  • Modifications: 0
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 116
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.

Active 6 days ago
Joined Dec 2017
Points:
812

User statistics:

  • Modifications: 0
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 116
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

Active 3 days ago
Joined Jan 2025
Points:
54

User statistics:

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

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

Active 3 days ago
Joined Jan 2025
Points:
54

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
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?

Active 1 week ago
Joined Sep 2024
Points:
94

User statistics:

  • Modifications: 2
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 80
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.

 

Active 3 days ago
Joined Jan 2025
Points:
54

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
Ok, thanks
Tue, 02/18/2025 - 20:13

Ok, thanks

Active 3 days ago
Joined Jan 2025
Points:
54

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
Thanks!
Tue, 02/18/2025 - 20:17

Thanks!

Active 1 hour ago
Joined Dec 2022
Points:
390

User statistics:

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

kind of late, but I use Warden Immune

Active 3 days ago
Joined Jan 2025
Points:
54

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
What is that?
Wed, 02/26/2025 - 19:10

What is that?