Talk:Custom feature

I'm new to this site, so I'm not going to edit yet. I just wanted to share some helpful information on changes to custom features in 1.17 that I think should be included on this page.

I ran into this when I was making custom ores for a new dimension.

The range decorator has been reworked in 1.17.

Say you want a range from y-level 0 to y-level 128.

This is the old 1.16 way, which is already on this page:

config{ "maximum":128, "bottom_offset":0, "top_offset":128 }

This is how you do it in 1.17:

"config": { "height": { "type": "minecraft:uniform", "min_inclusive": { "type": "minecraft:constant", "below_top":256 },       "max_inclusive": { "type": "minecraft:constant", "below_top":128 }     } }

I hope someone can add this to the page since I'm not quite sure how to do it correctly.

18:53, 7 June 2021 (UTC) DoubleBacon