Enum TriggerType
- java.lang.Object
-
- java.lang.Enum<TriggerType>
-
- net.frozenspace.frostlib.achievement.TriggerType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TriggerType>
public enum TriggerType extends java.lang.Enum<TriggerType>
This enum contains all trigger type available
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static TriggerTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TriggerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARBITRARY_PLAYER_TICK
public static final TriggerType ARBITRARY_PLAYER_TICK
-
BRED_ANIMALS
public static final TriggerType BRED_ANIMALS
-
BREWED_POTION
public static final TriggerType BREWED_POTION
-
CHANGED_DIMENSION
public static final TriggerType CHANGED_DIMENSION
-
CONSTRUCT_BEACON
public static final TriggerType CONSTRUCT_BEACON
-
CONSUME_ITEM
public static final TriggerType CONSUME_ITEM
-
CURED_ZOMBIE_VILLAGER
public static final TriggerType CURED_ZOMBIE_VILLAGER
-
ENCHANTED_ITEM
public static final TriggerType ENCHANTED_ITEM
-
ENTER_BLOCK
public static final TriggerType ENTER_BLOCK
-
ENTITY_HURT_PLAYER
public static final TriggerType ENTITY_HURT_PLAYER
-
ENTITY_KILLED_PLAYER
public static final TriggerType ENTITY_KILLED_PLAYER
-
IMPOSSIBLE
public static final TriggerType IMPOSSIBLE
-
INVENTORY_CHANGED
public static final TriggerType INVENTORY_CHANGED
-
ITEM_DURABILITY_CHANGED
public static final TriggerType ITEM_DURABILITY_CHANGED
-
LEVITATION
public static final TriggerType LEVITATION
-
LOCATION
public static final TriggerType LOCATION
-
PLACED_BLOCK
public static final TriggerType PLACED_BLOCK
-
PLAYER_HURT_ENTITY
public static final TriggerType PLAYER_HURT_ENTITY
-
PLAYER_KILLED_ENTITY
public static final TriggerType PLAYER_KILLED_ENTITY
-
RECIPE_UNLOCKED
public static final TriggerType RECIPE_UNLOCKED
-
SLEPT_IN_BED
public static final TriggerType SLEPT_IN_BED
-
SUMMONED_ENTITY
public static final TriggerType SUMMONED_ENTITY
-
TAME_ANIMAL
public static final TriggerType TAME_ANIMAL
-
TICK
public static final TriggerType TICK
-
USED_ENDER_EYE
public static final TriggerType USED_ENDER_EYE
-
VILLAGER_TRADE
public static final TriggerType VILLAGER_TRADE
-
-
Method Detail
-
values
public static TriggerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TriggerType c : TriggerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TriggerType valueOf(java.lang.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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<TriggerType>
-
-