/warden_spawn_tracker

This feature is exclusive to Java Edition.
 
This feature is intended for debugging purposes only, and should not be used during normal play. It might cause crashes and corrupt world saves.
/warden_spawn_tracker
Permission level
required

2

Restrictions

-DMC_DEBUG_DEV_COMMANDS debug property

/warden_spawn_tracker is a command that can be enabled with the debug property -DMC_DEBUG_DEV_COMMANDS. It sets how many warnings a sculk shrieker gives before spawning a warden.

Syntax

warden_spawn_tracker clear

Clears the player's warnings.

warden_spawn_tracker set <warning_level>

Sets the player's warnings to the specified number.

Arguments

<warning_level>: integer

Specifies the level to set the player's warnings to.
Must be a [Int]32-bit integer number (from -2147483648 (-231) to 2147483647 (231-1) ). And it must be between 0 and 4 (inclusive).

Result

CommandTriggerJava Edition
AnyThe command is incomplete, or any argument is not specified correctly. Unparseable
The executor is not a player. Failed
OtherwiseSuccessful

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
AnyJava EditionOn fail000
Java EditionOn success111

History

Java Edition
1.19Deep Dark Experimental Snapshot 1Added /warden_spawn_tracker.
22w11a/warden_spawn_tracker is no longer accessible through normal gameplay.
1.20.323w43a/warden_spawn_tracker is now accessible when the game is run in an IDE.
1.21.9Pre-Release 1Added debug property -DMC_DEBUG_DEV_COMMANDS, making the command accessible in the vanilla game again.

Navigation