Expose InternalBiomeUtils.transformBiome
Juuxel opened this issue · 6 comments
transformBiome
can be used by dimension mods for transforming modded biomes into their variants, which is done in the SetBaseBiomesLayer
mixin in the biome API. (SetBaseBiomesLayer
places all registered continental biomes, so I can't use that directly.)
@valoeghese should speak given he wrote the biome api.
Anyway, we should expose it through a method in FabricBiomes
, I think (since that’s the class for stuff not pertaining to a specific dimension). Possibly FabricBiomes#transformBiome
or FabricBiomes#transformBiomeVariant
?
Yeah, I think a method in FabricBiomes
would be good, though biome variants are registered in OverworldBiomes#addBiomeVariant
. Should we move that to FabricBiomes
? (It only applies to dimensions that use either the overworld base biome layer or transform the biomes themselves)