TransWikia.com

Minecraft replace command syntax error

Arqade Asked by WeLikeSheeps on March 23, 2021

I am using minecraft bedrock on my switch.
All I want to do is to remove all the oak trees so am using the fill/replace command but all I get back is “syntax error: unexpected “minecraft:log”: at “05 94 -41 >>minecraft:log<< “
I have no clue what it means

My starting point is -891, 60, 409 and my end point is -305, 94, -41

The exact thing I am typing in is

/fill -891 60 409 -305 94 -41 minecraft:log replace minecraft:air

Am I missing something?

Thanks

3 Answers

Unlike Java Edition, Bedrock Edition doesn't accept namespace identifiers in its data values. You also need to provide the tileData value before replace.

You'll have better luck without the namespace and including the tile data:

fill -891 60 409 -305 94 -41 log 0 replace air

Answered by ExpertCoder14 on March 23, 2021

No minecraft just log and also Maybe you should do a specific log like oak_log

Answered by Dude123manly on March 23, 2021

You are missing the data value before “replace.”

/fill -891 60 409 -305 94 -41 minecraft:log 0 replace minecraft:air

Answered by Penguin on March 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP