Interface BattleCard

  • All Implemented Interfaces:

    
    public interface BattleCard<T extends LivingEntity>
    
                        

    Represents an instance of a Spawned or Killed Card in BattleCards

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class BattleCard.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • getEntityClass

         Class<T> getEntityClass()

        Fetches the Entity Class that this BattleCard represents.

      • getOwner

         abstract Player getOwner()

        Fetches the Player that owns this BattleCard.

      • getEntity

         abstract T getEntity()

        Fetches the Entity that this BattleCard is spawned as, or null if not spawned.

      • getData

         abstract Card getData()

        Fetches this BattleCard's Card Data.

      • getItemUsed

         abstract ItemStack getItemUsed()

        Fetches the Original ItemStack Card used to spawn this BattleCard.

      • getCurrentItem

         abstract ItemStack getCurrentItem()

        Fetches the ItemStack Card that is currenly attached to this BattleCard. This may contained modified statistics based off of itemUsed.

      • getLastUsed

         Date getLastUsed()

        Fetches the Date this BattleCard was last used. Will return null if never used.

      • getLastUsedPlayer

         OfflinePlayer getLastUsedPlayer()

        Fetches the player that last used this BattleCard. Will return null if never used.

      • getGeneration

         Integer getGeneration()

        Fetches the numerical identifier for the generation of BattleCards this card is from.

      • getDeployTime

         Integer getDeployTime()

        Fetches the amount of <strong>seconds</strong> this card can be deployed for.

      • isMaxed

         Boolean isMaxed()

        Whetehr or not this BattleCard is currently maxed.

      • isRideable

         abstract Boolean isRideable()

        Fetches whether this BattleCard is right click rideable.