Enum CardEquipments
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable,me.gamercoder215.battlecards.api.card.item.CardEquipment
public enum CardEquipments extends Enum<CardEquipments> implements CardEquipment
Represents Card Equipment built-in to BattleCards
-
-
Field Summary
Fields Modifier and Type Field Description private final Materialitemprivate final DoublehealthModifierprivate final DoubledamageModifierprivate final DoubledefenseModifierprivate final DoublespeedModifierprivate final DoubleknockbackResistanceModifierprivate final CardEquipment.Rarityrarityprivate final CardEquipment.Abilityabilityprivate final Set<CardEquipment.Potion>effectsprivate final Stringnameprivate final Integerordinal
-
Enum Constant Summary
Enum Constants Enum Constant Description STEEL_INGOTRepresents an Iron Ingot CardEquipment.
ENCHANTED_SAPLINGRepresents an Oak Sapling CardEquipment.
RAW_TERRACOTTARepresents a Brick CardEquipment.
COBBLED_AXERepresents a Stone Axe CardEquipment.
COBBLED_SWORDRepresents a Stone Sword CardEquipment.
SILK_HATRepresents a Leahter Cap CardEquipment.
SILK_TUNICRepresents a Leather Tunic CardEquipment.
SILK_PANTSRepresents a Leather Pants CardEquipment.
ROCKRepresents a Stone CardEquipment.
DAMAGE_CRYSTALRepresents a Nether Star CardEquipment.
SPEED_COMPASSRepresents a Compass CardEquipment.
HARDENED_CACTUSRepresents a Cactus CardEquipment.
EYE_OF_BEGINNINGRepresents an Ender Eye CardEquipment.
GHOST_FEATHERRepresents a Feather CardEquipment.
MILK_OF_YOUTHRepresents a Milk Bucket CardEquipment.
RABBIT_FOOTRepresents a Rabbit's Foot CardEquipment.
SOULS_OF_BREATHINGRepresents a Soul Sand CardEquipment.
GOLDEN_FRUITRepresents a Golden Carrot CardEquipment.
FIRE_RODRepresents a Blaze Rod CardEquipment.
BEACON_OF_SOULSRepresents a Beacon CardEquipment.
INFERNO_OVENRepresents a Furnace CardEquipment.
QUICKSANDRepresents a Sand CardEquipment.
CHAINMAILRepresents a Chainmail Chestplate CardEquipment.
MOON_CHEESERepresents an End Stone CardEquipment.
NETHER_PEARLSRepresents a Nether Wart CardEquipment.
LIGHTNING_CRYSTALRepresents a Nether Star CardEquipment.
CONDENSED_SLIMERepresents a Slime Ball CardEquipment.
DEATH_BUSHRepresents a Dead Bush CardEquipment.
BEDROCK_SHIELDRepresents a Bedrock CardEquipment.
CRAFTED_IN_HEAVENRepresents a Crafting Table CardEquipment.
EYE_OF_BEYONDRepresents an Ender Eye CardEquipment.
-
Method Summary
Modifier and Type Method Description final CardEquipmentsvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<CardEquipments>values()Returns an array containing the constants of this enum type, in the order they're declared. MaterialgetItem()Fetches the item icon of this CardEquipment. DoublegetHealthModifier()Fetches the multiplicative health modifier of this CardEquipment. DoublegetDamageModifier()Fetches the multiplicative damage modifier of this CardEquipment. DoublegetDefenseModifier()Fetches the multiplicative defense modifier of this CardEquipment. DoublegetSpeedModifier()Fetches the multiplicative speed modifier of this CardEquipment. DoublegetKnockbackResistanceModifier()Fetches the multiplicative knockback resistance modifier of this CardEquipment. CardEquipment.RaritygetRarity()Fetches the rarity of this CardEquipment. CardEquipment.AbilitygetAbility()Fetches the ability of this CardEquipment. Set<CardEquipment.Potion>getEffects()Fetches the effects of this CardEquipment. -
-
Method Detail
-
valueOf
final CardEquipments valueOf(String value)
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.)
-
values
final Array<CardEquipments> 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.
-
getItem
Material getItem()
Fetches the item icon of this CardEquipment.
-
getHealthModifier
Double getHealthModifier()
Fetches the multiplicative health modifier of this CardEquipment.
-
getDamageModifier
Double getDamageModifier()
Fetches the multiplicative damage modifier of this CardEquipment.
-
getDefenseModifier
Double getDefenseModifier()
Fetches the multiplicative defense modifier of this CardEquipment.
-
getSpeedModifier
Double getSpeedModifier()
Fetches the multiplicative speed modifier of this CardEquipment.
-
getKnockbackResistanceModifier
Double getKnockbackResistanceModifier()
Fetches the multiplicative knockback resistance modifier of this CardEquipment.
-
getRarity
CardEquipment.Rarity getRarity()
Fetches the rarity of this CardEquipment.
-
getAbility
CardEquipment.Ability getAbility()
Fetches the ability of this CardEquipment.
-
getEffects
Set<CardEquipment.Potion> getEffects()
Fetches the effects of this CardEquipment.
-
-
-
-