Class CustomBiomeGenerator
java.lang.Object
com.hypixel.hytale.server.worldgen.biome.CustomBiomeGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final IIntConditionprotected final NoisePropertyprotected final intprotected final IDoubleThreshold -
Constructor Summary
ConstructorsConstructorDescriptionCustomBiomeGenerator(NoiseProperty noiseProperty, IDoubleThreshold threshold, IIntCondition biomeMask, int priority) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanisThreshold(double d) booleanisThreshold(double d, double factor) booleanisValidParentBiome(int index) booleanshouldGenerateAt(int seed, double x, double z, ZoneGeneratorResult zoneResult, Biome customBiome) toString()
-
Field Details
-
noiseProperty
-
threshold
-
biomeMask
-
priority
protected final int priority
-
-
Constructor Details
-
CustomBiomeGenerator
public CustomBiomeGenerator(NoiseProperty noiseProperty, IDoubleThreshold threshold, IIntCondition biomeMask, int priority)
-
-
Method Details
-
shouldGenerateAt
public boolean shouldGenerateAt(int seed, double x, double z, @Nonnull ZoneGeneratorResult zoneResult, @Nonnull Biome customBiome) -
isThreshold
public boolean isThreshold(double d) -
isThreshold
public boolean isThreshold(double d, double factor) -
isValidParentBiome
public boolean isValidParentBiome(int index) -
getPriority
public int getPriority() -
toString
-