Skip to content

World Map breaks in 1.18 #280

Open
@random-j-farmer

Description

@random-j-farmer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions