Skip to content

Current Commands

github-actions[bot] edited this page Jul 15, 2026 · 2 revisions

Current Commands

Generated from ServerCommands.java and GameRules.java. Each command links to a source-backed detail page.

In single-player, command chat is normally opened while debug mode is active. Use /help <command> in game for the runtime command tree.

Command syntax Current behavior
[[Command config /config]]
[[Command test /test]]
[[Command scriptstats /scriptstats]]
[[Command textureatlas /textureatlas]]
[[Command day /day]]
[[Command night /night]]
[[Command removemobs /removemobs]]
[[Command cameraclear /cameraclear]]
[[Command fullbright /fullbright]]
[[Command scriptstatreset /scriptstatreset]]
[[Command health /health [amount]]]
[[Command undo /undo [amount]]]
[[Command redo /redo [amount]]]
[[Command mapedit /mapedit [true
[[Command renderpaths /renderpaths [true
[[Command renderfov /renderfov [true
[[Command rendercollisions /rendercollisions [true
[[Command renderrays /renderrays [true
[[Command fluidcollision /fluidcollision [true
[[Command fly /fly [true
[[Command noclip /noclip [true
[[Command cameraadd /cameraadd ]]
[[Command help /help [page
[[Command gamerule /gamerule [value]]]
[[Command undostack /undostack [clear]]]

Game rules

Rule Default Type/range
decay_leaves false boolean
sunburn_undead true boolean
melt_ice true boolean
freeze_water true boolean
allow_bed true boolean
allow_bonemeal true boolean
allow_hoe true boolean
allow_inventory_crafting false boolean
snow_accumulation_height 1 0–8

Historical command correction

The current /day command sets time of day to 0; /night sets it to 14000, not the historical-wiki value of 12000.

The Fandom-era commands /toggledecay, /togglemelting, /mobsburn are not registered by the current source. Their behavior is represented by /gamerule entries above.

Clone this wiki locally