CreatureOptions

@Serializable
data class CreatureOptions(var babyChance: Float = 0.1f, var speedMultiplier: Double = 1.5, var scale: Double = 0.5)

Constructors

Link copied to clipboard
constructor(babyChance: Float = 0.1f, speedMultiplier: Double = 1.5, scale: Double = 0.5)

Properties

Link copied to clipboard

Chance for the creature to spawn as a baby. Value should be between 0.0 and 1.0, where 1.0 means 100% chance.

Link copied to clipboard

Scale of the baby creature relative to the normal size.

Link copied to clipboard

Speed of the baby creature. Default is 1.5, which makes baby creatures 50% faster than the normal speed.