class EntityTypeModificationConfig(val entityId: Identifier)Configuration for modifying default attributes of an existing [EntityType] (vanilla or modded).
Mirrors the property surface of [top.katton.registry.KattonEntityProperties] but applies to already-registered entity types via [top.katton.registry.DefaultAttributesHelper].
Properties
| Property | Description |
|---|---|
entityId | The identifier of the entity type being modified. |
EntityTypeModificationConfig.attribute
fun attribute(attribute: Holder<Attribute>, value: Double): EntityTypeModificationConfigOverrides the base value of an arbitrary attribute.
EntityTypeModificationConfig.maxHealth
fun maxHealth(value: Double): EntityTypeModificationConfigOverrides max health (generic.max_health).
EntityTypeModificationConfig.movementSpeed
fun movementSpeed(value: Double): EntityTypeModificationConfigOverrides movement speed (generic.movement_speed).
EntityTypeModificationConfig.knockbackResistance
fun knockbackResistance(value: Double): EntityTypeModificationConfigOverrides knockback resistance (generic.knockback_resistance).
EntityTypeModificationConfig.attackDamage
fun attackDamage(value: Double): EntityTypeModificationConfigOverrides attack damage (generic.attack_damage).
EntityTypeModificationConfig.attackSpeed
fun attackSpeed(value: Double): EntityTypeModificationConfigOverrides attack speed (generic.attack_speed).
EntityTypeModificationConfig.armor
fun armor(value: Double): EntityTypeModificationConfigOverrides armor (generic.armor).
EntityTypeModificationConfig.armorToughness
fun armorToughness(value: Double): EntityTypeModificationConfigOverrides armor toughness (generic.armor_toughness).
EntityTypeModificationConfig.followRange
fun followRange(value: Double): EntityTypeModificationConfigOverrides follow range (generic.follow_range).
EntityTypeModificationConfig.luck
fun luck(value: Double): EntityTypeModificationConfigOverrides luck (generic.luck).
