TransWikia.com

How can I replace stone_slab with bottom only double_stone_slab in Bedrock edition?

Arqade Asked on July 30, 2021

enter image description hereI’m trying to replace stone_slab with double_stone_slab using the /fill command:

/fill -83,4,-369 -79,3,-375 double_stone_slab 0 replace stone_slab

However, every time I execute the command, it states:

0 blocks placed.

I’ve placed about 10 stone_slab in the target area.


How can I replace stone_slab with double_stone_slab?

NOTE: I want to replace the bottom slab. I do NOT want a slab on top.

enter image description here

One Answer

I'll start by saying that a double slab, by definition is the combination of a top and bottom slab of the same kind. So trying to replace a stone_slab with double_stone_slab will NOT result in a bottom only slab. With that, what it appears that you're trying to do is replace any top stone_slab with bottom stone_slab, which is easy to achieve.


I began by filling a 5x1x5 area with top only stone_slab using the /fill command: {1}

/fill ~ ~ ~ ~5 ~ ~5 stone_slab 8

Screenshot of the results of the fill command execution.

From here, I then used the the /fill command adding the replace argument to specify that I wanted to replace all top stone_slab with bottom stone_slab: {2}

/fill ~ ~ ~ ~5 ~ ~5 stone_slab 0 replace stone_slab 8

Screenshot of the results of the fill command execution with the replace argument.

1. Specifying a block state of 8 designates a top only stone_slab.

2. Specifying a block state of 0 designates a bottom only stone_slab.


NOTE: I moved around while tinkering with command output between screenshots, so the coordinates are different, but the point is the same.

Answered by Taco タコス on July 30, 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