mojira.dev
MC-102680

Both cobblestone and wooden stairs spawn in new 1.10+ villages

The bug

As in the screenshot, both cobblestone stairs and wooden stairs spawn in the new 1.10+ villages. Affects butcher buildings and big houses.

How to reproduce

Superflat preset: minecraft:bedrock,2*minecraft:dirt,minecraft:grass_block;minecraft:plains;village
Seed: 7539352262635561334
Coordinates: /tp @s 111.62 4.00 235.09 -156.60 23.55
Superflat preset: minecraft:bedrock,2*minecraft:dirt,minecraft:grass_block;minecraft:plains;village
Seed: 7539352262635561334
Coordinates: /tp @s 111.62 4.00 235.09 -156.60 23.55

Linked issues

Attachments

Comments 8

Seed and coordinates ?

Can confirm.
Also affect the Taiga villages.

Confirmed for 1.13.1, but most likely intended. See this comment

This is most likely intended, and not a bug.

The following is based on a decompiled version of Minecraft 1.12 using MCP 940.

In the class StructureVillagePieces.java, while observing the code, you can easily indicate that this is intended. In the method addComponentParts inside of StructureVillagePieces.java, you have multiple Objects that clearly indicate that this has been programmed on purpose.

IBlockState iblockstate1 = this.getBiomeSpecificBlockState(Blocks.STONE_STAIRS.getDefaultState().withProperty(BlockStairs.FACING, EnumFacing.NORTH));
IBlockState iblockstate1 = this.getBiomeSpecificBlockState(Blocks.STONE_STAIRS.getDefaultState().withProperty(BlockStairs.FACING, EnumFacing.NORTH));

In total 6 of these objects. Although i'm not someone from mojang so I cannot confirm this myself.

Hope this helps to resolve this ticket.

 

@unknown, Sorry apparently a big piece from my reply was gone. Updated it now so it would make more sense.

That code says nothing about the non-desert villages (the ones actually affected)
Something is clearly wrong as some village houses use wooden stairs for the entrance and others cobblestone (this bug is not about their usage in general, roofs are always wooden).

Affects NewVillages in 18w49a

Invalid as these structures no longer generate.

Roy Sajima

(Unassigned)

Confirmed

Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10, Minecraft 1.10.2, Minecraft 16w32a, ..., Minecraft 1.12 Pre-Release 5, Minecraft 17w47b, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w49a

Retrieved