Contents
- Description
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- getAnchor()
- getMaxDistance()
- getMapCondition()
- getPlacementConfiguration()
- getSpawnOffset()
- isValidParentBiome(Biome)
- isFitHeightmap()
- isSubmerge()
- isValidParentBlock(int, int)
- getHeightCondition()
- getRotation(Random)
- isOnWater()
- getEnvironmentId()
- getMaxAttempts()
- getExclusionRadiusSquared()
- isSpawnLocation()
- getZoneBorderExclusion()
- isShowOnMap()
Class UniquePrefabConfiguration
java.lang.Object
com.hypixel.hytale.server.worldgen.prefab.unique.UniquePrefabConfiguration
- Since:
- 16.11.2016
-
Constructor Summary
ConstructorsConstructorDescriptionUniquePrefabConfiguration(ICoordinateRndCondition heightCondition, BlockMaskCondition placementConfiguration, PrefabRotation[] rotations, IIntCondition biomeMask, ICoordinateCondition mapCondition, IBlockFluidCondition parent, org.joml.Vector2d anchor, org.joml.Vector3d spawnOffset, double maxDistance, boolean fitHeightmap, boolean submerge, boolean onWater, int environmentId, int maxAttempts, double exclusionRadius, boolean spawnLocation, double zoneBorderExclusion, boolean showOnMap) -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector2dintdoubleintdoublegetRotation(Random random) org.joml.Vector3ddoublebooleanbooleanbooleanbooleanbooleanbooleanisValidParentBiome(Biome biome) booleanisValidParentBlock(int block, int fluid)
-
Constructor Details
-
UniquePrefabConfiguration
public UniquePrefabConfiguration(ICoordinateRndCondition heightCondition, BlockMaskCondition placementConfiguration, PrefabRotation[] rotations, IIntCondition biomeMask, ICoordinateCondition mapCondition, IBlockFluidCondition parent, org.joml.Vector2d anchor, org.joml.Vector3d spawnOffset, double maxDistance, boolean fitHeightmap, boolean submerge, boolean onWater, int environmentId, int maxAttempts, double exclusionRadius, boolean spawnLocation, double zoneBorderExclusion, boolean showOnMap)
-
-
Method Details
-
getAnchor
public org.joml.Vector2d getAnchor() -
getMaxDistance
public double getMaxDistance() -
getMapCondition
-
getPlacementConfiguration
-
getSpawnOffset
public org.joml.Vector3d getSpawnOffset() -
isValidParentBiome
-
isFitHeightmap
public boolean isFitHeightmap() -
isSubmerge
public boolean isSubmerge() -
isValidParentBlock
public boolean isValidParentBlock(int block, int fluid) -
getHeightCondition
-
getRotation
-
isOnWater
public boolean isOnWater() -
getEnvironmentId
public int getEnvironmentId() -
getMaxAttempts
public int getMaxAttempts() -
getExclusionRadiusSquared
public double getExclusionRadiusSquared() -
isSpawnLocation
public boolean isSpawnLocation() -
getZoneBorderExclusion
public double getZoneBorderExclusion() -
isShowOnMap
public boolean isShowOnMap()
-