#Warden pacifying

1 messages · Page 1 of 1 (latest)

wheat plume
#

How do I make a warden completely harmless toward a player with commands (Such as that it won't be able to use its sonic boom)?

glass lavaBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1724976232:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

wheat plume
#

I'm trying to find the right nbt, but I can't find a reliable documentation.

opal spire
#

u could use teams?

wheat plume
#

what are teams

opal spire
#

if u are on the same team as a mob then the mob wont attack u

naive nymph
#

The Warden is notoriously difficult to control with commands

#

It has a very sophisticated AI, and won't always behave as expected when told to do or not do a specific thing

opal spire
#

so ur saying teams dont work??

#

hmm thats interesting

naive nymph
#

I haven't tested for sure, I would imagine they do prevent the Warden from attacking the player

#

But that may have other side effects

opal spire
#

js tested it

#

yea it works

wheat plume
#

So I would only need to pacify it until the dialogue is over

naive nymph
#

Ok

opal spire
#

modify the warden so has the NoAI:1 nbt

#

and then js remove it

wheat plume
#

like naturally

#

not be frozen

#

so ill just give it movement speed 0

#

i was just worried about the sonic boom

dapper island
#

well you can make a mob ride the warden, then the warden will have the AI of the mob riding it

#

I have only tested it for neutral mobs tho

jovial lion
#

maybe mob follow range:0

#

should work maybe?

wheat plume
#

I got it to work, but i'm' trying to use "data merge entity" to make it invulnerable after 134 ticks which I;m using a soreboard for

#

For some reason, when the command runs after 134 ticks, the warden dissappears when I don't look at it directly

#

And sometimes it works and sometimes it doesnt

naive nymph
#

Yeah that's the Warden for ya

#

You could try data modify instead for a more targeted adjustment, but it may still produce the same result

dapper island
#

Oh also I accidently found out that if you use any data modify command regularly onto the warden, he never dissapears but also never gets angry

wheat plume
naive nymph
#

data modify entity <target selector> Invulnerable ...

wheat plume
#

how about to not make it invulnerable anymore

naive nymph
#

Same thing?

wheat plume
#

Ok yeah I figured it out It works now

#

I tried to change its data too early when it was doing the digging animation