mojira.dev
MC-260561

terrain_adaptation: "beard_thin" fails to validate if max_distance_from_center is greater than 116

When implementing a custom structure via a Data Pack, setting the "terrain_adaptation" setting in the configured structure feature json file to "beard_thin" will prevent the Data Pack from validating on world creation if the "max_distance_from_center" field is greater than 116 (maximum value should be 128).

Linked issues

Attachments

Comments 3

⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Please provide the data pack, or an example data pack showcasing the issue.

Added example data pack. It is pack version 12 and was designed for 1.19.4-pre1. It failed to validate on my instance of Minecraft, however in the "data/after/worldgen/structure/spire.json" file (pictured in an attachment), if you change EITHER "max_distance_from_center" to be 116 or less OR "terrain_adaptation" to be "none", it will validate and work normally.

 

I would assume this 116 limit has something to do with the fact that Ancient Cities use this number exactly.

 

The spire is an excerpt from a larger data pack I am working on, I have placed it in the plains biome for testing purposes. There are also chests referencing loot_tables I have not included in the example, as I didn't see a need to.

AriahKS

(Unassigned)

Confirmed

Data Packs, Structures

1.19.3, 1.19.4 Pre-release 1

Retrieved