PlayerZombiesOptions

@Serializable
data class PlayerZombiesOptions(var enabled: Boolean = true, var zombieVillager: Boolean = true, var babyChance: Float = 0.1f, var dropEquipmentChance: Float = 0.66f) : ModuleOptions

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, zombieVillager: Boolean = true, babyChance: Float = 0.1f, dropEquipmentChance: Float = 0.66f)

Properties

Link copied to clipboard

The chance that the zombie will be a baby zombie. Value should be between 0.0 and 1.0, where 1.0 means 100% chance.

Link copied to clipboard

Drop chance for the zombie's equipment. Chance for each piece of equipment to be dropped. When set to 50% on average, half of the equipment will be dropped. Value should be between 0.0 and 1.0, where 1.0 means 100% chance.

Link copied to clipboard
open override var enabled: Boolean

Whether the module is enabled or not. This is used to determine if the module should be loaded and its features activated.

Link copied to clipboard

Whether the zombie will be a zombie villager (true) or a regular zombie (false).