Enum UpgradeTriggerHandlerType
java.lang.Object
java.lang.Enum<UpgradeTriggerHandlerType>
de.marcely.bedwars.api.game.upgrade.UpgradeTriggerHandlerType
- All Implemented Interfaces:
- Serializable,- Comparable<UpgradeTriggerHandlerType>,- java.lang.constant.Constable
Represents the type of 
UpgradeTriggerHandler.
 
  Custom ones use PLUGIN
 
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionReveals infiltrating players who are invisibleAdds the Protection enchantment to armorGives players Speed and Jump Boost when there is an infiltrating playerAdds the Feather Fall enchantment to bootsGives the Haste effectGives the regeneration effect near your baseGives mining fatigue to infuriating playersA custom type created by something accessing the API.Gives an infiltrating player blindness and slownessAdds the Sharpness enchantment to swords and axesIncreases the speed of nearby spawners
- 
Method SummaryModifier and TypeMethodDescription@Nullable StringgetId()Returns the id that's being used for the handler.static UpgradeTriggerHandlerTypeReturns the enum constant of this type with the specified name.static UpgradeTriggerHandlerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
SHARPNESSAdds the Sharpness enchantment to swords and axes
- 
ARMOR_PROTECTIONAdds the Protection enchantment to armor
- 
FEATHER_FALLAdds the Feather Fall enchantment to boots
- 
HASTEGives the Haste effect
- 
SPAWNER_MULTIPLIERIncreases the speed of nearby spawners
- 
HEAL_POOLGives the regeneration effect near your base
- 
REGULAR_TRAPGives an infiltrating player blindness and slowness
- 
COUNTER_OFFENSIVE_TRAPGives players Speed and Jump Boost when there is an infiltrating player
- 
ALARM_TRAPReveals infiltrating players who are invisible
- 
MINING_FATIGUE_TRAPGives mining fatigue to infuriating players
- 
PLUGINA custom type created by something accessing the API.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns 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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getIdReturns the id that's being used for the handler.nullis being returned when passingPLUGIN.- Returns:
- The id of this handler type
 
 
-