whenever I try to use the /fill command, it says "cannot place blocks outside of world", I tried a few things such as changing the numbers but it still did not work.
expected result: 100 x100 blocks get filled out flatly
actual results: you get the messageย "cannot place blocks outside of world"
steps to reproduce: try to use the fill commandย
that's pretty much it
Linked issues
Attachments
Comments 8
Request to reopen as the linked bug is related to simulation distance where as this bug is not.
This bug occurs on any simulation distance with a fill area of any size (small 16x16) to large.
The fill command will not work because the chunks it's trying to fill in have not been visited by a player which means they are not saved / loaded.
As simulation distance no longer affects how chunks are saved / stored (i.e. the player has to have visited the chunk for it to be saved to the leveldb), the parent bug of this bug report is invalid and this bug report should stand on it's own.
Reply from @unknown
What is the specific command you tried and where were you standing at the time?
What you described is not true. I created a brand new world in creative and didn't visit a single chunk (other than the one I spawned in). When creating the world, I set simulation distance 12 chunks. I writed a command to fill the area 100 by 100 blocks and the command was successfully completed. Set the world settings to simulation distance 12 chunks and repeat your test from the report.
[media]RE: Umija5895M
If you set your simulation distance to 4, load a new world, and run "/fill ~-40 ~ ~-40 ~40 ~ ~40" the command fails. There are very specific areas โ not limited to chunks, but specific blocks โ where the command succeeds.ย
40 blocks is within simulation distance 4, no matter where you are in a chunk, proving that the issue with /fill is dissociated from simulation distance.
All blocks within the command must be in a Saved Chunk, and chunks only save when they're interacted with โ not just when simulated.ย
I was standing (flying) at 20 40 20 in a flat world in creative mode.
I ran the command /fill 20 40 20 40 40 40 stone 0
I also ran commands with relative coordinates and tried the same fill command with different coordinates in the area around me
It wasn't until I had physically been in all of the chunks within the fill area that the command would run.
The command given by AvgZing does extend out of simulation distance 4. When you stand at 0x 0z, the -40x, -40z is in an unsimulated chunk.
I cannot reproduce the result of Foxy No-Tail. Maybe some of those coordinates were actually negative โ ?
I've tried to replicate the issues I had yesterday in which changing the simulation made no difference, but I cannot replicate it exactly.
I did get a fill command that was within the simulation distance of a player to fail, but increasing the sim distance fixed it today, whereas yesterday it did not.
Process:
1. Start a new flat world, in creative, sim 4, no experiments.
2. Go into fly mode
3. tp to 0 40 0
4. run the fill command 0 40 0 50 40 50 stone 0 -> gives error "cannot place blocks outside of world"
5. /tp 20 40 20
6. /fill 20 40 20 40 40 40 stone 0 -> Works today (didn't yesterday: could be human error)
Yesterday I tried a range of commands within the same area, even switched up to sim distance of 12 and still couldn't fill that area.
All of the commands are copy pasted from a list, so its unlikely I typed them in wrong, but not impossible.
From today's testing it does very much seem like this is related to simulation distance, however this is bizzare as I spent a very long time trying the exact same process yesterday and I only managed to get 1 out of 20 fill commands to work on a sim distance of 12.
If you are standing at X=0 Z=0 (anywhere in the 0,0 chunk really), the command
/fill 0 40 0 50 40 50
will extend outside simulation 4 distance at a small corner starting at X=48 Z=48. So it does seem to be the same issue as MCPE-154009.
Thank you for your report!
We're tracking this issue in MCPE-154009, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
๐ Bug Tracker Guidelines โ ๐ฌ Community Support โ ๐ง Mojang Support
๐ Project Summary โ โ๏ธ Feedback and Suggestions โ ๐ Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.