Enum BattleCardType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum BattleCardType extends Enum<BattleCardType>
Represents a type of Card.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBattleCardType.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Integergenerationprivate final BattleCardClasscardClassprivate final StringcardIDprivate final Rarityrarityprivate final Materialiconprivate final Class<out LivingEntity>entityClassprivate final MaterialcraftingMaterialprivate final Stringnameprivate final Integerordinal
-
Enum Constant Summary
Enum Constants Enum Constant Description BASICRepresents a Basic BattleCard.
DIAMOND_GOLEMRepresents an Iron Golem BattleCard.
WITHER_KINGRepresents a Wither BattleCard.
MESA_ZOMBIERepresents a Husk BattleCard.
SNIPERRepresents a Skeleton BattleCard.
PRINCE_HUSKRepresents a Husk BattleCard.
WITHERMANRepresents an Enderman BattleCard.
LAPIS_DROWNEDRepresents a Drowned BattleCard.
GOLD_SKELETONRepresents a Wither Skeleton BattleCard.
REDSTONE_ZOMBIERepresents a Zombie BattleCard.
UNDEAD_LUMBERJACKRepresents a Skeleton BattleCard.
MINERRepresents a Zombie Villager BattleCard.
EYE_OF_ENDERMANRepresents an Enderman BattleCard.
FROST_BEARRepresents a Polar Bear BattleCard.
INFERNO_BLAZERepresents a Blaze BattleCard.
BANDITRepresents a Stray BattleCard.
NETHERITE_PIGLINRepresents a Pigin Brute BattleCard.
SPIDER_QUEENRepresents a Spider BattleCard.
SKELETON_SOLDIERRepresents a Skeleton BattleCard.
PITBULLRepresents a Wolf BattleCard.
BOMBERMANRepresents a Zombie BattleCard.
MERCENARYRepresents a Pillager BattleCard.
SEALORDRepresents a Drowned BattleCard.
KNIGHTRepresents a Vindicator BattleCard.
GOLDEN_WIZARDRepresents a Illusioner BattleCard.
SPIDER_HIVERepresents a Cave Spider BattleCard.
SUSPICIOUS_ZOMBIERepresents a Zombie BattleCard.
PHANTOM_RIDER` Represents a Stray BattleCard.
RAIDERRepresents a Pillager BattleCard.
NETHER_PRINCERepresents a Wither Skeleton BattleCard.
STONE_ARCHERRepresents a Skeleton BattleCard.
SILVERFISH_HIVERepresents a Silverfish BattleCard.
THUNDER_REVENANTRepresents a Zombie BattleCard.
EMERALD_HUSKRepresents a Husk BattleCard.
WARRIOR_HUSKRepresents a Husk BattleCard.
NECROMANCERRepresents a Skeleton BattleCard.
ETERNAL_HUSKRepresents a Husk BattleCard.
PURPLE_PARASITERepresents a Shulker BattleCard.
AQUATIC_ASSASSINRepresents a Drowned BattleCard.
GOAT_GLADIATORRepresents a Skeleton BattleCard.
MAGMA_JOCKEYRepresents a Piglin BattleCard.
PIGLIN_TITANRepresents a Piglin Brute BattleCard.
SAND_TRAVELERRepresents a Husk BattleCard.
THE_IMMORTALRepresents a Wither Skeleton BattleCard.
BLIZZARDRepresents a Snowman BattleCard.
-
Method Summary
Modifier and Type Method Description final CardcreateCardData()Creates an empty card data object. final Cardinvoke()Creates a new card data object. final BattleCardTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<BattleCardType>values()Returns an array containing the constants of this enum type, in the order they're declared. final IntegergetGeneration()Fetches the generation of this BattleCardType. final BattleCardClassgetCardClass()Fetches the class of this BattleCardType. final StringgetCardID()final RaritygetRarity()Fetches the Rarity of this BattleCardType. final MaterialgetIcon()Fetches the material icon used in the Card Information GUI. final Class<out LivingEntity>getEntityClass()Fetches the Entity Class that this BattleCardType uses. final MaterialgetCraftingMaterial()Fetches the Crafting Material used to craft this BattleCardType. -
-
Method Detail
-
createCardData
final Card createCardData()
Creates an empty card data object.
-
valueOf
final BattleCardType 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<BattleCardType> 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.
-
getGeneration
final Integer getGeneration()
Fetches the generation of this BattleCardType.
-
getCardClass
final BattleCardClass getCardClass()
Fetches the class of this BattleCardType.
-
getIcon
final Material getIcon()
Fetches the material icon used in the Card Information GUI.
-
getEntityClass
final Class<out LivingEntity> getEntityClass()
Fetches the Entity Class that this BattleCardType uses.
-
getCraftingMaterial
final Material getCraftingMaterial()
Fetches the Crafting Material used to craft this BattleCardType.
-
-
-
-