Uses of Enum Class
net.risingworld.api.events.npc.NpcDamageEvent.Cause
Packages that use NpcDamageEvent.Cause
-
Uses of NpcDamageEvent.Cause in net.risingworld.api.events.npc
Subclasses with type arguments of type NpcDamageEvent.Cause in net.risingworld.api.events.npcModifier and TypeClassDescriptionstatic enumDetermines why theNpcDamageEventwas triggered exactly (i.e what's causing the damage).Methods in net.risingworld.api.events.npc that return NpcDamageEvent.CauseModifier and TypeMethodDescriptionNpcDamageEvent.getCause()Gets the "cause" of this damage, i.e the reason why the npc takes damage (or in other words, what's causing the damage)static NpcDamageEvent.CauseReturns the enum constant of this class with the specified name.static NpcDamageEvent.Cause[]NpcDamageEvent.Cause.values()Returns an array containing the constants of this enum class, in the order they are declared.