SmileycorpMC / DawnCraft-Tweaks

MIT License
2 stars 9 forks source link

Fix structure template id and structure spawn height #1

Closed Silverminer007 closed 2 years ago

Silverminer007 commented 2 years ago

This PR fixes two minor issues concerning structure spawning.

New height calculation: ((WORLD_SURFACE - WORLD_MIN_Y) / 2) + WORLD_MIN_Y

The structure spawns always in the middle between the surface and the min y level in the overworld