mojira.dev
MC-125807

Block ids are inserted wrongly into chunk section block palettes

World generation sometimes adds block ids wrongly into chunk section palettes, usually resulting in 16^3 blocks almost full of one block type or block types being exchanged within the chunk section. This happens very rarely and usually doesn't happen again (in the same place) when regenerating the world. Note that, for the few ❓ users affected, this happens relatively frequently.


Affected world downloads:

Description

Download link

Source

Location

Notes

Leaves replacing air

click

reddit comment

/tp @s -310 88 208

-

Logs replacing air, leaves replacing air

click

comment

/tp @s 140 88 -67 and /tp @s 216 80 136

Two chunk sections close to each other are affected

Logs replacing air

click

comment

/tp @s 186 82 137

-

Multiple blocks are switched up in a village

part1 and part2

Comment

Walk to 181 75 102

More than one mixup in a single chunk section

Stone replacing air

click

MC-127085

/tp @s 190 86 -160

-

Red coral blocks replacing water

click

reddit comment

/tp @s 60 70 100

Some blocks mined out by user

Granite replacing air

click

comment

/tp -270 70 342

-

Stone brick stairs replacing water

click

MC-130389

/tp @s -395 63 116

-


From the original description:

Weirdly I actually broke a whole row of the blocks. on the top of the wood block on the edge and that was even the still image for the world but when I loaded it back in the blocks were there like I had done nothing.

Blocks you break around the giant blocks of blocks stay the same,

If I just punch the blocks to break them I cannot enter the space where the block disappears from. In general I cant seem to break the blocks myself because if i leave the area and the chunk loads back in (or save and quit then return), the blocks are still there. Only by natural decay methods does it seem to get rid of them.

Related issues

MC-125073 chunk in leaves MC-125279 Some trees have ores as leaves MC-126043 Strange Land Generation in Ocean MC-126201 Weird Chunck of Kelp MC-126333 Above Ground Stone Layer MC-126697 diorite is generated as leaves in some chunks MC-126719 World Gen issues (especially structures) MC-127010 Chuck of kelp on top of ocean surface. MC-127085 World generation problem MC-127178 Random Granite Spawns MC-127941 [18w14a] There is something wrong in the generation ! MC-128510 Weird flat stone thing on ocean MC-128609 Kelp turned into Coal Ore MC-128642 Chunk spawning full of leaves MC-128678 Random chunk spawns with coral above ocean level MC-128759 Coral fan chunks MC-129146 World generation bug (16x16 cube of wood) MC-129435 Generation glitchs make stone and coral platforms MC-129681 Hole in Ocean Water MC-129714 Stone Chunk Floating Over Ocean MC-130378 Giant stone block appearing. MC-130389 Random stone bricks stairs generation MC-130820 chunk of leaves MC-130882 Coal blocks on top of Seagrass MC-130915 Oak leaves replaced by granite in specific chunk MC-131150 Giant Box Generated In My Minecraft World I just made. MC-131385 A giant cube of oak tree leaves spawned near spawn point MC-131455 Tree leaves replaced by dirt MC-131470 Stone block generation naturaly MC-131490 Bug on 1.13-pre2 MC-131526 diorite blocks trees MC-131558 Giant Coal Chunk in New Game with Default Settings MC-131622 Chunk Glitch Creates Pile Of coal MC-131760 trees generate with wood blocks in the leaves MC-131851 some of the leaves or kelp spawn would fill all of chunk MC-131917 Giant Leaves Square generated MC-131981 World generation creates huge chunk-sized treetop

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media][media]
migrated

at some point i got confused about what version I was using so I edited that out.

migrated

Also affects 18w07b and 18w07a.

[media]

[media]

migrated

Couldn't find even a single chunk of missing leaves/trees, or a full chunk section of leaves. Can you two please force a crash by pressing F3 C for 10 seconds while in-game and attach the crash report ([minecraft/crash-reports/crash-<DATE>-client.txt|http://hopper.minecraft.net/help/guides/finding-minecraft-data-folder]) here?

edit: did you maybe restart the game while one of the chunks was generating?

migrated

Sure. But also like I said the best way to re-create it is to generate a random new world and look around for it.
If you load the seed or re-create the world you wont find the same error generated in the same places or even at all.

[media]

edit: No I didn't I looked around some worlds for a good solid 10-20 minutes sometimes before finding a missing gap or giant chunk of leaves.

migrated

To me it looks like a sudden math error with tree and forest generation as the game attempts to properly load that chunk and it either dumps a bunch of blocks in that its supposed to or none at all; and then if you remake the world it doesn't always meet that generation math error and it can generate as it is supposed to.

migrated

Okay I do not get it why this post isn't made duplicate because mc125073 is far before this one so that one should be reopened

migrated
[media]

weird mushrooms in 18w08b
Regenerates normally as it is supposed to if you remake the world just like the other chunk errors above.
Included in the screenie is the seed
but for formality here is the seed in text form for easy copy pasting. 8869563041474427484

migrated

If you have an affected world please zip it and upload it.

bdm68

I have successfully reproduced the bug in a Superflat world.

Instructions:
1. Create a new Superflat world.
2. Use the Overworld preset. Change the biome ID from 1 to 29 (Roofed Forest).
3. Use a seed of 1. (Any seed can probably be used but this is the seed I chose).
4. Use Creative mode.
5. Create the world.
6. Fly around the world for a while generating new chunks. Eventually you'll see one of these odd chunks. I found a Wood chunk within 30 seconds and then a Leaf chunk. (I also found a Desert temple at 234, y, 169 which is another bug).

pokechu22

I've been searching for ~10 minutes and haven't found any following those steps (and on 18w09a). Can you give me the coordinates where some of those chunks appeared?

bdm68

I used the 18w09a snapshot. I had some difficulty recreating the issue from a fresh instance of MC. I originally reproduced it after creating about four worlds in the same MC session, one after the other (all with the same seed but different kinds of worlds: Default, superflat plains (with "biome-1" altered to an invalid "biome_29" setting), superflat roofed forest). The last one had the strange wood and leaf structures.

pokechu22

Hm. Still not happening for me, unfortunately. Can attach the world (or at least the region file containing the effected chunks) to this report?

When looking at the world we do have access to, I found that the chunk section with messed up leaves had a palette with 32 (2⁵) entries. But when regenerating the world, it instead had 34 entries. I'd like to check if a similar thing happened.

I did see some of the weird cut off trees. However, I'm not entirely sure that that's the same issue (it feels different to me; probably it's a bug in the tree generator)

bdm68

I have attached a file called "TestRoofedForest.zip" that exhibits the issue. Two points of interest are at 216 80 136 (leaf blocks) and 151 80 -72 (wood blocks).

migrated

I generated a new one on 18w09a

I'll include this world
its called 18w09a 1 because thats the first world I generated on this version

this is only the 2nd time I have come across the wood blocks like this

Simply face south when you spawn and fly up can't miss it.
Coordinates to the broken chunk 186/ 82/ 137
Seed: 7908767748096905097

[media]

[media]

migrated

Please create a new ticket for your floating tree.

migrated

@@unknown: In your original description, you said that breaking blocks manually makes them disappear visually, but you can't walk into their space, and that they come back when you reload the world. Does this only happen the first time the world is loaded, ie directly after the chunk is generated, or also after reloading the world? I tried to reproduce this behavior using one of the world saves attached here but I can break and replace blocks and the changes are permanent.

Sorry for the update spam, everybody.

migrated

It is rather inconsistent on how the blocks behave when it generates like this.
For the first giant wood block i found I broke a full row of blocks along the side and then tried to stand where the blocks were and then I couldn't, there were ghost blocks in the way.

When I re-load the world and break blocks there were no ghost, but previous blocks broken when there are ghost blocks get replaced as normal as if nothing happend to the block. You can break more blocks and they stay broken, but if I find a new chunk of blocks there will be new ghost blocks if you break any if the games natural decay doesnt take the blocks.

migrated

I would upload my world, but your limit is 10.00MB while the world is like 22.90MB. D:

Hope this glitch AND the elytra glitch gets fixed real soon or Minecraft won't be fun! :|

migrated

@unknown Could you provide your seed? If you want to upload your world, I would recommend doing so by using a file uploader and then just posting the link here.

migrated

Well i can tell you the seed.

-8794717663863046517 but it didn't appear again

If you are wondering where i found it, 1. Fly up, 2. Look for Swamp, 3. you find it.

Im uploading it to Google Drive right now.

migrated
violine1101

@unknown, thank you, I've added your example to the description.

migrated

If you want to have more screenshots for the problem, you can watch for my ask which is the last in the duplicate ones. That can possibly help the developers to fix the bug.

migrated

World download for the Kelp that turned into Coal Ore.

Download

migrated

@@unknown: Thanks, but the download link is private currently.

migrated

Sorry about that, it should work now.

Jayceebee

Confirmed for 18w22c

migrated

This bug also affects the 1.13 pre-release

[media]

bdm68

I have taken a look at two affected chunk sections and found they have some common features.

It helps to understand how 1.13 saves chunk data. Chunk data are saved in Sections. These Sections store the blocks in a Palette which describes the blocks, and index into the Palette with an array of Long called BlockStates that can vary in size with a minimum size of 256 (corresponding to a Palette size of 16). These sections also have other data.

In chunks with this corruption, the Palette appears normal. The BlockStates array is corrupted. The BlockStates array has many repeats of the value "1". Sometimes this fills the entire BlockStates array, other times other values are present but the value "1" dominates.

In a corrupted BlockStates array I examined with 27 entries in the Palette, the first two Longs look like this:

{color:red}21{color} 84 10 42 08 21 84 10
42 08 21 84 10 42 08 21

To decode this, reverse the hex values (little endian order), convert to binary and take five bits at a time:
10 84 21 08 42 10 84 {color:red}21{color} ...
(8 values) 0100 0010 0001 0000 1000 0100 0010 0001

...01 00001 00001 00001 00001 00001 00001
...-- ----- ----- ----- ----- ----- 00001 = 00001
...-- ----- ----- ----- ----- 00001 ----- = 00001
...-- ----- ----- ----- 00001 ----- ----- = 00001
etc.

The whole array has repeats of the sequence 21 84 10 42 08 which means it is filled with the value 00001.

The other array I examined had other values as well but the value 1 dominated.

It looks like the value "1" is used to initialise the array and then the array is populated with the correct values. It looks like the population of the array occasionally terminates before completion leading to the corruption.

migrated

Confirmed on 1.13-pre3, seed -4270258239336733475, chunk -21, 6, -12

Adrian Östergård

This should be fixed by using the default JRE that's available in the newest launcher update.

migrated

Fry

Community Consensus

Minecraft 18w07c, Minecraft 18w08b, Minecraft 18w09a, Minecraft 18w10c, Minecraft 18w10d, ..., Minecraft 18w20b, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3

Minecraft 1.13-pre5

Retrieved