public class UniquePrefabConfiguration
Class UniquePrefabConfiguration. Provides uniqueprefabconfiguration functionality for the Hytale server.
java.lang.Object > UniquePrefabConfiguration
Field Summary
No fields documented.
Method Detail
UniquePrefabConfiguration
public
public
UniquePrefabConfiguration
(final ICoordinateRndCondition heightCondition, final BlockMaskCondition placementConfiguration, final PrefabRotation[] rotations, final IIntCondition biomeMask, final ICoordinateCondition mapCondition, final IBlockFluidCondition parent, final Vector2d anchor, final Vector3d spawnOffset, final double maxDistance, final boolean fitHeightmap, final boolean submerge, final boolean onWater, final int environmentId, final int maxAttempts, final double exclusionRadius, final boolean spawnLocation, final double zoneBorderExclusion, final boolean showOnMap)
Method UniquePrefabConfiguration.
- Parameters:
final ICoordinateRndConditionheightConditionfinal BlockMaskConditionplacementConfigurationfinal PrefabRotation[]rotationsfinal IIntConditionbiomeMaskfinal ICoordinateConditionmapConditionfinal IBlockFluidConditionparentfinal Vector2danchorfinal Vector3dspawnOffsetfinal doublemaxDistancefinal booleanfitHeightmapfinal booleansubmergefinal booleanonWaterfinal intenvironmentIdfinal intmaxAttemptsfinal doubleexclusionRadiusfinal booleanspawnLocationfinal doublezoneBorderExclusionfinal booleanshowOnMap
getMaxDistance
public
double
getMaxDistance
()
Method getMaxDistance.
getPlacementConfiguration
Method getPlacementConfiguration.
isFitHeightmap
public
boolean
isFitHeightmap
()
Method isFitHeightmap.
isSubmerge
public
boolean
isSubmerge
()
Method isSubmerge.
isValidParentBlock
public
boolean
isValidParentBlock
(final int block, final int fluid)
Method isValidParentBlock.
- Parameters:
final intblockfinal intfluid
getRotation
Method getRotation.
- Parameters:
@Nonnull final Randomrandom
isOnWater
public
boolean
isOnWater
()
Method isOnWater.
getEnvironmentId
public
int
getEnvironmentId
()
Method getEnvironmentId.
getMaxAttempts
public
int
getMaxAttempts
()
Method getMaxAttempts.
getExclusionRadiusSquared
public
double
getExclusionRadiusSquared
()
Method getExclusionRadiusSquared.
isSpawnLocation
public
boolean
isSpawnLocation
()
Method isSpawnLocation.
getZoneBorderExclusion
public
double
getZoneBorderExclusion
()
Method getZoneBorderExclusion.
isShowOnMap
public
boolean
isShowOnMap
()
Method isShowOnMap.