Class EntityAttributes
java.lang.Object
com.github.darksoulq.abyssallib.world.data.attribute.EntityAttributes
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddModifier(CustomAttribute attr, CustomAttributeModifier modifier) voiddelete()doublegetBaseValue(CustomAttribute attr) getInstance(CustomAttribute attr) doublegetValue(CustomAttribute attr) booleanhas(CustomAttribute attr) static EntityAttributesstatic EntityAttributesof(org.bukkit.entity.LivingEntity entity) voidremoveModifier(CustomAttribute attr, net.kyori.adventure.key.Key id) voidsetBaseValue(CustomAttribute attr, double value) voidunload()static voidstatic voidunloadIfCached(UUID uuid)
-
Method Details
-
of
-
of
-
getInstance
-
setBaseValue
-
addModifier
-
removeModifier
-
has
-
getBaseValue
-
getValue
-
getAllAttributes
-
delete
public void delete() -
unload
public void unload() -
unloadIfCached
-
unloadAll
public static void unloadAll()
-