Enum BattleCardType

    • Constructor Detail

    • Method Detail

      • invoke

         final Card invoke()

        Creates a new 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.

      • getRarity

         final Rarity getRarity()

        Fetches the Rarity 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.