Contents
Class CavePrefabContainer.CavePrefabEntry.CavePrefabConfig
java.lang.Object
com.hypixel.hytale.server.worldgen.cave.prefab.CavePrefabContainer.CavePrefabEntry.CavePrefabConfig
- Enclosing class:
CavePrefabContainer.CavePrefabEntry
- Since:
- 13.02.2017
-
Constructor Summary
ConstructorsConstructorDescriptionCavePrefabConfig(PrefabRotation[] rotations, CavePrefabPlacement placement, IIntCondition biomeMask, BlockMaskCondition blockMask, IDoubleRange iterations, IDoubleCoordinateHashSupplier displacementSupplier, ICoordinateCondition maskCondition, ICoordinateRndCondition heightCondition) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDisplacement(int seed, int x, int z, CaveNode caveNode) intintgetIterations(double random) getRotation(Random random) booleanisMatchingBiome(Biome biome) booleanisMatchingHeight(int seed, int x, int y, int z, Random random) booleanisMatchingNoiseDensity(int seed, int x, int z)
-
Constructor Details
-
CavePrefabConfig
public CavePrefabConfig(PrefabRotation[] rotations, CavePrefabPlacement placement, IIntCondition biomeMask, BlockMaskCondition blockMask, IDoubleRange iterations, IDoubleCoordinateHashSupplier displacementSupplier, ICoordinateCondition maskCondition, ICoordinateRndCondition heightCondition)
-
-
Method Details
-
getRotation
-
getBiomeMask
-
getBlockMask
-
getIterations
public int getIterations(double random) -
getDisplacement
-
getHeight
-
isMatchingNoiseDensity
public boolean isMatchingNoiseDensity(int seed, int x, int z) -
isMatchingHeight
-
isMatchingBiome
-