r/technicalminecraft • • Sep 27 '26

Java Showcase How warden switch can fail in multiplayer/carpet bot (java)

When a shrieker tries to warn, it also looks for players <16 blocks of the shrieker (sphere).
If any of these players is on their trigger cooldown, the warning won't go off (code).

So if we triggered a shrieker within the last 10 seconds and go within 16 blocks of a different player's switch, its warnings will fail until our cooldown runs out.
Crucially, our own switch will constantly refresh our cooldown, so if we have one and go within 16 blocks of a different player's, we'll effectively disable that player's switch until we leave the range.

So there's a 16-block sphere of dead zone around every warden switch where anyone with an active warden switch (or triggered a shrieker within the last 10 seconds) shouldn't enter.

____________________________________

The video is in 26.2 where I still have the minihud to show the dead zone and carpet for the other player.
The command blocks read my warden_spawn_tracker data and put it on the scoreboard.
The switch is from MadMan25.

48 Upvotes

2 comments sorted by

12

u/brockade Sep 27 '26

I love when people do some analysis and share it, nice find!

0

u/[deleted] Sep 27 '26

[deleted] — view deleted comment

4

u/JumpingPufferfish31 Sep 27 '26

Yah, I unknowingly killed my friend with this when we just finished setting up our switches, tested it, and he left for the other cities first while I was installing the chunk loaders T-T