FiguraMC / Figura

Extensively customize your character with Figura!
https://modrinth.com/mod/figura
GNU Lesser General Public License v2.1
224 stars 44 forks source link

Add world.getHeightmap() #157

Closed 4P5 closed 8 months ago

4P5 commented 8 months ago

This PR adds one new method to world (world.getHeightmap) and one new enum (HEIGHTMAP_TYPES).

world.getHeightmap() takes a string representing the type of heightmap, and a Vec2 or x/z coordinates. It returns the Y coordinate of the given position based on the heightmap string.

4P5 commented 8 months ago

Ignore my failure to GitGood, that was meant to be a separate PR

4P5 commented 8 months ago

Nahhh it's not that bad fr fr

(I'll try this again later, sorry for the inconvenience!)