getAttributeValue

fun DataComponentGetter.getAttributeValue(attribute: Holder<Attribute>, slot: EquipmentSlot? = null, baseValue: Double = attribute.value().defaultValue): Double