4

I have a massive project that I'm building just for the heck of it. I need to place hundreds of blocks and I do that easily with the fill command. But, I can't seem to fill an area with top slabs. I tried /fill x1 y1 z1 x2 y2 z2 minecraft:stone_slab then I get bottom slabs placed! Does anyone have a solution to it? If you do then I appreciate it. :)

8

The problem here is that the command /fill x1 y1 z1 x2 y2 z2 minecraft:stone_slab automatically means /fill x1 y1 z1 x2 y2 z2 minecraft:stone_slab 0, the 0 is added. If you change this 0 to another value, the slab will change it's position; 8 is for the upper stone slabs:

/fill x1 y1 z1 x2 y2 z2 minecraft:stone_slab 8

Note: This technique works only for Minecraft versions 1.12.2 and older. For newer versions, check out the other answer on this question.

  • 5
    @NabeelParkar If this answer solved your problem, hit the check mark. It rewards the answerer, and tells future visitors what solved your problem :) – APCoding May 19 '16 at 1:05
7

In the 1.13 snapshot, use /fill x1 y1 z1 x2 y2 z2 minecraft:oak_slab[type=top].

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.