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 classBattleCard.Companion
-
Method Summary
Modifier and Type Method Description Class<T>getEntityClass()Fetches the Entity Class that this BattleCard represents. BooleanisSpawned()Whether this BattleCard is currently spawend. abstract PlayergetOwner()Fetches the Player that owns this BattleCard. abstract TgetEntity()Fetches the Entity that this BattleCard is spawned as, or null if not spawned. abstract CardgetData()Fetches this BattleCard's Card Data. abstract ItemStackgetItemUsed()Fetches the Original ItemStack Card used to spawn this BattleCard. abstract ItemStackgetCurrentItem()Fetches the ItemStack Card that is currenly attached to this BattleCard. StringgetCardID()Fetches the Card ID of this BattleCard. RaritygetRarity()Fetches the Rarity of this BattleCard. DategetCreationDate()Fetches the Date this card was created. BattleStatisticsgetStatistics()Fetches the Statistics of this BattleCard instance. DategetLastUsed()Fetches the Date this BattleCard was last used. IntegergetLevel()Fetches the level of this BattleCard. OfflinePlayergetLastUsedPlayer()Fetches the player that last used this BattleCard. DoublegetExperience()Fetches the experience of this BattleCard. DoublegetRemainingExperience()Fetches the experience required to reach the next level. IntegergetMaxCardLevel()Fetches the maximum level that this Card can be. DoublegetMaxCardExperience()Fetches the maximum experience that this Card can have. IntegergetGeneration()Fetches the numerical identifier for the generation of BattleCards this card is from. BattleCardTypegetType()Fetches the BattleCardType of this BattleCard. BattleCardClassgetCardClass()Fetches the BattleCardClass of this BattleCard. StringgetName()Fetches the name of this BattleCard. IntegergetDeployTime()Fetches the amount of <strong>seconds</strong> this card can be deployed for. BooleanisMaxed()Whetehr or not this BattleCard is currently maxed. abstract BooleanisRideable()Fetches whether this BattleCard is right click rideable. Set<CardEquipment>getEquipment()Fetches the Equipment attached to this BattleCard. -
-
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.
-
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.
-
getCreationDate
Date getCreationDate()
Fetches the Date this card was created.
-
getStatistics
BattleStatistics getStatistics()
Fetches the Statistics of this BattleCard instance.
-
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.
-
getExperience
Double getExperience()
Fetches the experience of this BattleCard.
-
getRemainingExperience
Double getRemainingExperience()
Fetches the experience required to reach the next level.
-
getMaxCardLevel
Integer getMaxCardLevel()
Fetches the maximum level that this Card can be.
-
getMaxCardExperience
Double getMaxCardExperience()
Fetches the maximum experience that this Card can have.
-
getGeneration
Integer getGeneration()
Fetches the numerical identifier for the generation of BattleCards this card is from.
-
getType
BattleCardType getType()
Fetches the BattleCardType of this BattleCard.
-
getCardClass
BattleCardClass getCardClass()
Fetches the BattleCardClass of this BattleCard.
-
getDeployTime
Integer getDeployTime()
Fetches the amount of <strong>seconds</strong> this card can be deployed for.
-
isRideable
abstract Boolean isRideable()
Fetches whether this BattleCard is right click rideable.
-
getEquipment
Set<CardEquipment> getEquipment()
Fetches the Equipment attached to this BattleCard.
-
-
-
-