/setblock ... keep/setblock ... replace (try to replace a block with an identical copy (ignoring the block entity))

minecraft — Console Commands

/setblock ... keep/setblock ... replace — ID: try to replace a block with an identical copy (ignoring the block entity)

Syntax

try to replace a block with an identical copy (ignoring the block entity)

Example

try to replace a block with an identical copy (ignoring the block entity)

💡 Notes

Found on Commands/setblock

🔍 Search Wiki
Type a command, item, or cheat to search across 60+ games.