Fabric API

Fabric API

106M Downloads

Exposing InternalBiomeUtils.ensureIdMapping

Juuxel opened this issue ยท 0 comments

commented

public static void ensureIdMapping(RegistryKey<Biome> biomeKey) {

The method automatically adds missing raw IDs for biomes that aren't registered via private vanilla methods. This doesn't have to be API for most mods, but my mods use custom hooks to certain biome layers that Fabric doesn't hook to. That means some of my biomes don't go through OverworldBiomes at all, and I have to replicate the ID mapping myself.