The Warden setting stops natural Warden summoning and the Sculk Shrieker actions that lead to it, and it removes Wardens that already exist. Like the Ancient City setting, it is saved per world, starts off, and is changed from the pause-menu settings screen.
When the setting is off, the mod removes Wardens that already exist: on world load, and immediately when you turn the setting off. It does not block other ways to spawn Wardens such as commands while a session is running, but command-spawned Wardens are removed on the next world load while the setting is off.
#What the setting does
| Aspect | Behavior |
|---|---|
| Name in the menu | Warden |
| Where it is stored | World save (ApocalypseState) |
| Default | Off |
| Stops summoning | Yes |
| Stops shrieking | Yes |
| Removes existing Wardens | Yes (on world load, and when turned off) |
| Who can change it | World owner or server operators |
When off, three Shrieker actions are intercepted and cancelled:
| Method | Effect |
|---|---|
trySummonWarden |
Returns false instead of summoning. |
tryRespond |
Cancels the Shrieker response. |
tryShriek |
Cancels the shriek entirely. |
In addition, when the setting is off the mod scans all loaded entities and discards any Wardens. This runs on world load and whenever the setting is switched off.
#What it does not do
- It does not stop Wardens spawned with
/summonduring a session; those are removed on the next world load while the setting is off. - It does not change mob-spawning rules outside the Shrieker path.
- It is not a config-file toggle; it is world state.
With the setting off, existing Wardens are removed automatically. If a Warden is spawned with a command during play, it will be removed on the next world load while the setting is off, or you can remove it immediately with /kill @e[type=minecraft:warden].
#Changing the value
- Open the pause menu in the Overworld.
- Click The Last Sun Settings.
- Toggle Warden.
- Click Save.
#Technical details
| Item | Value |
|---|---|
| Mixin target | SculkShriekerBlockEntity |
| Runtime source | WorldSettingsState.isWardenEnabledRuntime() |
| Injected methods | trySummonWarden, tryRespond, tryShriek |
| Existing Warden removal | WardenControl.removeExistingWardens() on world load and when the setting is turned off |
| Default from config | worldSettingsDefaults.wardenEnabled = false |
#Related pages
- Ancient City — the related generation toggle.
- World Settings — how to change the value.
- World Data Persistence — where the value is saved.
- Troubleshooting — if the toggle does not apply.