RemovalReason

public enum RemovalReason

DEATH is used for when Elites die in a way detected correctly by EliteMobs CHUNK_UNLOAD fires when an Elite is removed due to a chunk unload. This is a true removal, so persistent Elites won't have it. WORLD_UNLOAD fires when an Elite is removed due to a World unload. Persistent Elites can't survive this. SHUTDOWN fires when a server shuts down, reload or when EliteMobs reloads OTHER fires when the reason couldn't be determined, probably a #remove() API call by another plugin EFFECT_TIMEOUT fires when either a power has ended or when an effect is done being displayed for any reason

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
public static RemovalReason valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public static Array<RemovalReason> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.