Class BiomePatternGenerator
java.lang.Object
com.hypixel.hytale.server.worldgen.biome.BiomePatternGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Biome[]protected final CustomBiome[]protected final intprotected final IPointGeneratorprotected final IWeightedMap<TileBiome> -
Constructor Summary
ConstructorsConstructorDescriptionBiomePatternGenerator(IPointGenerator pointGenerator, IWeightedMap<TileBiome> tileBiomes, CustomBiome[] customBiomes) -
Method Summary
Modifier and TypeMethodDescriptiongenerateBiomeAt(ZoneGeneratorResult zoneResult, int seed, int x, int z) getBiome(int seed, int x, int z) getBiomeDirect(int seed, int x, int z) protected doublegetBiomeIndex(int seed, int x, int z) Biome[]getCustomBiomeAt(int seed, double x, double z, ZoneGeneratorResult zoneResult, Biome parentResult) intprivate static intgetExtents(Biome[] biomes) toString()
-
Field Details
-
pointGenerator
-
tileBiomes
-
customBiomes
-
biomes
-
extents
protected final int extents
-
-
Constructor Details
-
BiomePatternGenerator
public BiomePatternGenerator(IPointGenerator pointGenerator, @Nonnull IWeightedMap<TileBiome> tileBiomes, @Nonnull CustomBiome[] customBiomes)
-
-
Method Details
-
getExtents
public int getExtents() -
getBiomes
-
getCustomBiomes
-
getBiome
-
getBiomeIndex
protected double getBiomeIndex(int seed, int x, int z) -
getBiomeDirect
-
generateBiomeAt
@Nonnull public Biome generateBiomeAt(@Nonnull ZoneGeneratorResult zoneResult, int seed, int x, int z) -
getCustomBiomeAt
@Nullable public CustomBiome getCustomBiomeAt(int seed, double x, double z, @Nonnull ZoneGeneratorResult zoneResult, @Nonnull Biome parentResult) -
toString
-
getExtents
-