Class BiomeGen
java.lang.Object
de.ellpeck.rockbottom.api.world.gen.BiomeGen
- All Implemented Interfaces:
IWorldGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.ellpeck.rockbottom.api.world.gen.IWorldGenerator
IWorldGenerator.IFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Randomprotected final com.google.common.collect.ListMultimap<BiomeLevel,Biome> protected long[]protected INoiseGenprotected ResourceNameprotected final Map<BiomeLevel,Integer> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabstract intgetBiomeBlobSize(IWorld world) getBiomeLevel(IWorld world, int x, int y, int height) getBiomesToGen(IWorld world) abstract intgetBiomeTransition(IWorld world) abstract intgetLayerSeedScramble(IWorld world) abstract Set<BiomeLevel>getLevelsToGen(IWorld world) abstract intgetLevelTransition(IWorld world) abstract intgetNoiseSeedScramble(IWorld world) intvoidbooleanshouldGenerate(IWorld world, IChunk chunk) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.ellpeck.rockbottom.api.world.gen.IWorldGenerator
doesPlayerAllowGeneration, generatesPerChunk, generatesRetroactively, needsPlayerToAllowGeneration, shouldExistInWorld
-
Field Details
-
name
-
biomeNoiseGens
-
biomesPerLevel
-
totalWeights
-
biomeRandom
-
levelHeightNoise
-
layerSeeds
protected long[] layerSeeds
-
-
Constructor Details
-
BiomeGen
-
-
Method Details
-
getLevelTransition
-
getBiomeTransition
-
getBiomeBlobSize
-
getLayerSeedScramble
-
getNoiseSeedScramble
-
getBiomesToGen
-
getLevelsToGen
-
initWorld
- Specified by:
initWorldin interfaceIWorldGenerator
-
generate
- Specified by:
generatein interfaceIWorldGenerator
-
shouldGenerate
- Specified by:
shouldGeneratein interfaceIWorldGenerator
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceIWorldGenerator
-
getBiome
-
getBiomeLevel
-