Compared with 1.21.10: 1 command added, 0 removed and 2 with a changed syntax. Measured by comparing the command trees that the two game versions generate.
Minecraft Java Edition 1.21.11 brings several updates to the command system compared to version 1.21.10. There are now 90 total commands found in the game files.
This update introduces one new command and changes how two existing commands work.
/stopwatch/stopwatch directly in the command system./execute/execute if stopwatch <id> <range> and /execute unless stopwatch <id> <range>./gameruleallowEnteringNetherUsingPortals, allowFireTicksAwayFromPlayer, announceAdvancements, blockExplosionDropDecay, and commandBlockOutput. Five new underscore-formatted rules were added, such as /gamerule advance_time [<value>], advance_weather, allow_entering_nether_using_portals, block_drops, and block_explosion_drop_decay.Datapack creators, map makers, and server owners should review these changes. Anyone using the removed gamerule names in their functions or command blocks will need to update their scripts to match the new 1.21.11 syntax, and creators can now add stopwatch conditions to their /execute chains.
+ /execute if stopwatch <id> <range> […execute]+ /execute unless stopwatch <id> <range> […execute]+ /gamerule advance_time [<value>]+ /gamerule advance_weather [<value>]+ /gamerule allow_entering_nether_using_portals [<value>]+ /gamerule block_drops [<value>]+ /gamerule block_explosion_drop_decay [<value>]+ /gamerule command_block_output [<value>]+ /gamerule command_blocks_work [<value>]+ /gamerule drowning_damage [<value>]+ /gamerule elytra_movement_check [<value>]+ /gamerule ender_pearls_vanish_on_death [<value>]+ /gamerule entity_drops [<value>]+ /gamerule fall_damage [<value>]+ /gamerule fire_damage [<value>]+ /gamerule fire_spread_radius_around_player [<value>]+ /gamerule forgive_dead_players [<value>]+ /gamerule freeze_damage [<value>]+ /gamerule global_sound_events [<value>]+ /gamerule immediate_respawn [<value>]+ /gamerule keep_inventory [<value>]+ /gamerule lava_source_conversion [<value>]+ /gamerule limited_crafting [<value>]+ /gamerule locator_bar [<value>]+ /gamerule log_admin_commands [<value>]+ /gamerule max_block_modifications [<value>]+ /gamerule max_command_forks [<value>]+ /gamerule max_command_sequence_length [<value>]+ /gamerule max_entity_cramming [<value>]+ /gamerule max_minecart_speed [<value>]+ /gamerule max_snow_accumulation_height [<value>]+ /gamerule minecraft:advance_time [<value>]− /gamerule allowEnteringNetherUsingPortals [<value>]− /gamerule allowFireTicksAwayFromPlayer [<value>]− /gamerule announceAdvancements [<value>]− /gamerule blockExplosionDropDecay [<value>]− /gamerule commandBlockOutput [<value>]− /gamerule commandBlocksEnabled [<value>]− /gamerule commandModificationBlockLimit [<value>]− /gamerule disableElytraMovementCheck [<value>]− /gamerule disablePlayerMovementCheck [<value>]− /gamerule disableRaids [<value>]− /gamerule doDaylightCycle [<value>]− /gamerule doEntityDrops [<value>]− /gamerule doFireTick [<value>]− /gamerule doImmediateRespawn [<value>]− /gamerule doInsomnia [<value>]− /gamerule doLimitedCrafting [<value>]− /gamerule doMobLoot [<value>]− /gamerule doMobSpawning [<value>]− /gamerule doPatrolSpawning [<value>]− /gamerule doTileDrops [<value>]− /gamerule doTraderSpawning [<value>]− /gamerule doVinesSpread [<value>]− /gamerule doWardenSpawning [<value>]− /gamerule doWeatherCycle [<value>]− /gamerule drowningDamage [<value>]− /gamerule enderPearlsVanishOnDeath [<value>]− /gamerule fallDamage [<value>]− /gamerule fireDamage [<value>]− /gamerule forgiveDeadPlayers [<value>]− /gamerule freezeDamage [<value>]