mojira.dev
MC-262749

Deepslate Ores generate at surface level within Custom Structures

I've been creating custom villages with datapacks, and one odd occurrence I've noticed is that I sometimes see Deepslate Coal Ore and Deepslate Copper Ore randomly replacing blocks in the village roads. It only occurs when the village naturally generates (not when using /place structure), and the datapack never even makes a mention of these blocks. I have a guess at what might be causing this bug: during generation, the game does three things.

1) Identify a place with naturally-generating stone where the game would like to put ore

2) Place custom structures defined in datapacks

3) Actually place the ore it had said it was going to place earlier. Any location this ore might occupy was supposed to be either stone or deepslate, so if the block there isn't stone, it must be deepslate, and therefore the ore should be deepslate ore.

Problem is, step 3 seems to ignore that step 2 happened. Locations that were previously stone might now actually be blocks belonging to a custom structure, meaning they'll be assumed as deepslate (because... not stone).

Again, this is just my speculation as to the cause - all I know for sure is that these deepslate ores weirdly generate at the surface within custom structures.

The attached screenshot is an example of this happening. I'm in a custom village that I created, and there's a block of deepslate coal ore in the middle of the road.

Edit: Upon further testing, I have found Deepslate Iron Ore in my custom structures as well, which would seem to line up further with my theory from earlier.

Linked issues

Attachments

Comments

migrated

Please attach the data pack used.

Conure512

Datapack is attached, it's still in early development stages but this issue should be reproducible. Just make a new single-biome world of Mangrove Swamp and add the datapack, then use /locate structure to find a village.

Also notice that if you use /place structure, or spawn the templates in with structure blocks, deepslate ore will NOT appear.

j_p_smith

Deepslate ores can replace tuff, which is one of the blocks used in your village roads.

Arisa Bot

Thank you for your report!
We're tracking this issue in MC-170549, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 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.

Conure512

(Unassigned)

Unconfirmed

(Unassigned)

1.20 Pre-release 2

Retrieved