Open
Description
Describe the bug
biome() changed in 1.18 - depth, scale, top_material and under_material are gone, exceptions will be thrown.
biome sampling needs to be done higher up because at y=0 you get can get cave biomes.
To Reproduce
Load world_map in a 1.18.1 save, eat a berry.
Environment
- Carpet version: 1.4.56
- Minecraft version: 1.18.1
Additional context
https://github.com/random-j-farmer/scarpet/blob/master/programs/survival/world_map.sc
works for me in 1.18.1, but I assume I broke it for earlier Minecraft versions.
I don't really know enough about minecraft to make a clean fix.
Setting the biome on the world map is also broken,
I suspect setting it a y=0 does not work anymore in the overworld.