mojira.dev
MC-168317

Fill command adds one layer in all axes

Hello. I could not find this bug when searching, but it's probably somewhere in the sea of bugs.

This bug is caused by the /fill command (see command below). When pasted in a superflat world inside a chunk it is supposed to create a 16x16x16 chunk of oak fences. However when executing this command in 1.15.1 or 1.14.4 the command generates an area of 17x17x17, which is one more column/layer in the 3 dimensions. I have made a video to easily show the bug which you can find below. I also showed another bug in the video which already has been submitted, so ignore that one!

 

Command used: /fill ~0 ~0 ~0 ~16 ~16 ~16 oak_fence

YouTube video: Minecraft - Fill command bug. 1.15.1 & 1.14.4

Comments 6

0 to 16 is 17 numbers. All blocks between the input points are filled.

@unknown Thanks for the clarification. I know in coding, many times an array starts on 0 and counts up. However i think that the number of blocks you enter should be the number of blocks spawned from the location you input. Therefore it should count 1 block, 2 blocks, 3 blocks etc. instead of starting from 0.

Well it's like this:

/fill ~0 ~0 ~0 ~0 ~0 ~0 places one block, since the start and end are the same.

/fill ~0 ~0 ~0 ~1 ~0 ~0 places two blocks, since the start and end are right next to each other.

And so on

@unknown Okay it makes sense now. Sorry for wasting your time! Thanks again, and if you want you can close/remove this post.

No worries, take care

Daniel Pedersen

(Unassigned)

Unconfirmed

(Unassigned)

1.15.1

Retrieved