Add api to retrieve world height
mainrs opened this issue · 0 comments
Since the worldgen can be overwritten to make the world, for example, smaller in height, it would be nice to be able to retrieve the height using the shader api somehow. Worldgen can currently be overwritten by either mods or data packs as of 1.16.
The leaves shader wouldn’t work correctly if the world is smaller than 256 blocks for example.