setBaseAttribute

fun setBaseAttribute(entity: LivingEntity, attribute: Holder<Attribute>, value: Double): Boolean

Set the base attribute value for a LivingEntity.

Return

true if changed, false otherwise

Parameters

entity

the entity

attribute

attribute holder to set

value

new base value