Skip to content
/craftcmd

Disable Drowning Damage

Stop taking damage when underwater

⚠︎ Awaiting in-game verification for Java 26.2

Players no longer drown when out of air underwater. Set back to true to restore drowning.

/gamerule drowningDamage false
30 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command.
  3. Press Enter — you can stay underwater indefinitely.

Related commands

Freeze time so it's permanently daytime

/gamerule doDaylightCycle false

Turn off fall damage

/gamerule fallDamage false

Enable the coordinates display on screen

/gamerule showCoordinates true
Speed Up Crop Growth (Random Tick Speed)
Speed Up Crop Growth (Random Tick Speed) Awaiting in-game verification
Both

Make plants grow faster by increasing random tick speed

/gamerule randomTickSpeed 3
Disable Fire Damage
Disable Fire Damage Awaiting in-game verification
Both

Stop taking damage from fire and lava

/gamerule fireDamage false

Keep your items when you die instead of dropping them

/gamerule keepInventory true