Internal Biome Utils
public final class InternalBiomeUtils
Content copied to clipboard
Internal utilities used for biome sampling.
Functions
ensureIdMapping
Link copied to clipboard
injectBiomesIntoClimate
Link copied to clipboard
static void injectBiomesIntoClimate(LayerRandomnessSource random, Array<int> vanillaArray, OverworldClimate climate, IntConsumer result)
Content copied to clipboard
neighborsOcean
Link copied to clipboard
static boolean neighborsOcean(int north, int east, int south, int west)
Content copied to clipboard
searchForBiome
Link copied to clipboard
static int searchForBiome(double reqWeightSum, int vanillaArrayWeight, List<WeightedBiomeEntry> moddedBiomes)
Content copied to clipboard
transformBiome
Link copied to clipboard
static int transformBiome(LayerRandomnessSource random, RegistryKey<Biome> existing, OverworldClimate climate)
Content copied to clipboard
Sources
jvm source
Link copied to clipboard