CheatNeeds devcommands
nocost command
Syntax
What it does
Toggles free building: while it's on, placing pieces and crafting no longer consume materials. It's the single-purpose version of what debugmode's B hotkey does, useful when you want free building without the rest of creative mode. Needs devcommands; run it again to restore normal costs.
Cheat commands need the console enabled with the -console launch option, then devcommands typed once. They work in singleplayer or when you host, not on dedicated servers.
Examples
Building and crafting cost nothing; run it again to turn costs back on
Related commands