Contents
- Description
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- getCategory()
- getGridGenerator()
- getMapCondition()
- getPrefabPlacementConfiguration()
- isFitHeightmap()
- getParentCondition()
- getHeightCondition()
- getHeightThresholdInterpreter()
- getRotations()
- getDisplacement(int, int, int)
- isOnWater()
- isDeepSearch()
- isSubmerge()
- getMaxSize()
- getExclusionRadius()
- getBaseChecks()
- toString()
Class PrefabPatternGenerator
java.lang.Object
com.hypixel.hytale.server.worldgen.prefab.PrefabPatternGenerator
- Since:
- 02.04.2016
-
Constructor Summary
ConstructorsConstructorDescriptionPrefabPatternGenerator(int seedOffset, PrefabCategory category, IPointGenerator gridGenerator, ICoordinateRndCondition heightCondition, IHeightThresholdInterpreter heightThresholdInterpreter, BlockMaskCondition prefabPlacementConfiguration, ICoordinateCondition mapCondition, IBlockFluidCondition parentCondition, PrefabRotation[] rotations, ICoordinateDoubleSupplier displacement, boolean fitHeightmap, boolean onWater, boolean deepSearch, boolean submerge, int maxSize, int exclusionRadius, PrefabBaseCheck[] baseChecks) -
Method Summary
Modifier and TypeMethodDescriptionintgetDisplacement(int seed, int x, int z) intintbooleanbooleanbooleanbooleantoString()
-
Constructor Details
-
PrefabPatternGenerator
public PrefabPatternGenerator(int seedOffset, PrefabCategory category, IPointGenerator gridGenerator, ICoordinateRndCondition heightCondition, IHeightThresholdInterpreter heightThresholdInterpreter, BlockMaskCondition prefabPlacementConfiguration, ICoordinateCondition mapCondition, IBlockFluidCondition parentCondition, PrefabRotation[] rotations, ICoordinateDoubleSupplier displacement, boolean fitHeightmap, boolean onWater, boolean deepSearch, boolean submerge, int maxSize, int exclusionRadius, PrefabBaseCheck[] baseChecks)
-
-
Method Details
-
getCategory
-
getGridGenerator
-
getMapCondition
-
getPrefabPlacementConfiguration
-
isFitHeightmap
public boolean isFitHeightmap() -
getParentCondition
-
getHeightCondition
-
getHeightThresholdInterpreter
-
getRotations
-
getDisplacement
public int getDisplacement(int seed, int x, int z) -
isOnWater
public boolean isOnWater() -
isDeepSearch
public boolean isDeepSearch() -
isSubmerge
public boolean isSubmerge() -
getMaxSize
public int getMaxSize() -
getExclusionRadius
public int getExclusionRadius() -
getBaseChecks
-
toString
-