Package com.sucy.skill.api.player
Class PlayerData
java.lang.Object
com.sucy.skill.api.player.PlayerData
Deprecated, for removal: This API element is subject to removal in a future version.
Player data wrapper for Fabled
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerData
(PlayerData _data) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributeModifier
(String key, PlayerAttributeModifier modifier, boolean update) Deprecated, for removal: This API element is subject to removal in a future version.void
addSkill
(Skill skill, PlayerClass parent) Deprecated, for removal: This API element is subject to removal in a future version.void
addSkillExternally
(Skill skill, PlayerClass parent, org.bukkit.NamespacedKey namespacedKey, int level) Deprecated, for removal: This API element is subject to removal in a future version.void
addStatModifier
(String key, PlayerStatModifier modifier, boolean update) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.boolean
bind
(org.bukkit.Material mat, PlayerSkill skill) Deprecated.boolean
canProfess
(PlayerClass playerClass) Deprecated, for removal: This API element is subject to removal in a future version.boolean
cast
(PlayerSkill skill) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
check
(PlayerSkill skill, boolean cooldown, boolean mana) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.boolean
clearBind
(org.bukkit.Material mat) Deprecated.void
clearBinds
(Skill skill) Deprecated.void
Deprecated, for removal: This API element is subject to removal in a future version.boolean
downgradeSkill
(Skill skill) Deprecated, for removal: This API element is subject to removal in a future version.void
endInit()
Deprecated, for removal: This API element is subject to removal in a future version.void
forceDownSkill
(PlayerSkill skill) Deprecated, for removal: This API element is subject to removal in a future version.void
forceDownSkill
(PlayerSkill skill, int amount) Deprecated, for removal: This API element is subject to removal in a future version.void
forceUpSkill
(PlayerSkill skill) Deprecated, for removal: This API element is subject to removal in a future version.void
forceUpSkill
(PlayerSkill skill, int amount) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
getAttribute
(String key) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
getAttributeUpCost
(String key) Deprecated, for removal: This API element is subject to removal in a future version.int
getAttributeUpCost
(String key, Integer modifier) Deprecated, for removal: This API element is subject to removal in a future version.int
getAttributeUpCost
(String key, Integer from, Integer to) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.HashMap
<org.bukkit.Material, PlayerSkill> getBinds()
Deprecated.getBoundSkill
(org.bukkit.Material mat) Deprecated.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.studio.magemonkey.codex.mccore.config.parse.DataSection
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.double
getMana()
Deprecated, for removal: This API element is subject to removal in a future version.double
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getPersistentData
(String key) Deprecated, for removal: This API element is subject to removal in a future version.org.bukkit.entity.Player
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.int
getSkillLevel
(String name) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getStatModifiers
(String key) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getUUID()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.void
giveAttribPoints
(int amount) Deprecated, for removal: This API element is subject to removal in a future version.boolean
giveAttribute
(String key, int amount) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated.UsegiveExp(double, ExpSource)
instead, utilizing theExpSource
enum instead of the legacy com.sucy.skill.api.enums.ExpSource enumvoid
Deprecated, for removal: This API element is subject to removal in a future version.Gives the player experience from the specified sourcevoid
Deprecated, for removal: This API element is subject to removal in a future version.boolean
giveLevels
(int amount, ExpSource source) Deprecated, for removal: This API element is subject to removal in a future version.void
giveMana
(double amount) Deprecated, for removal: This API element is subject to removal in a future version.void
giveMana
(double amount, ManaSource source) Deprecated, for removal: This API element is subject to removal in a future version.void
givePoints
(int amount, ExpSource source) Deprecated.void
givePoints
(int amount, PointSource source) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
giveSkill
(Skill skill, PlayerClass parent) Deprecated, for removal: This API element is subject to removal in a future version.boolean
hasAttribute
(String key) Deprecated, for removal: This API element is subject to removal in a future version.boolean
hasClass()
Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
hasMana
(double amount) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.void
init
(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.boolean
isBound
(org.bukkit.Material mat) Deprecated.boolean
isClass
(PlayerClass playerClass) Deprecated, for removal: This API element is subject to removal in a future version.boolean
isExactClass
(RPGClass playerClass) Deprecated, for removal: This API element is subject to removal in a future version.void
loseExp()
Deprecated, for removal: This API element is subject to removal in a future version.void
loseExp
(double amount, boolean percent, boolean changeLevel) Deprecated, for removal: This API element is subject to removal in a future version.void
loseLevels
(int amount) Deprecated, for removal: This API element is subject to removal in a future version.boolean
Deprecated, for removal: This API element is subject to removal in a future version.boolean
profess
(FabledClass fabledClass) Deprecated, for removal: This API element is subject to removal in a future version.void
record
(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.boolean
refundAttribute
(String key) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.boolean
refundAttributes
(String key) Deprecated, for removal: This API element is subject to removal in a future version.void
refundSkill
(PlayerSkill skill) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
removeAttributeModifier
(UUID uuid, boolean update) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
removeSkillExternally
(Skill skill, org.bukkit.NamespacedKey namespacedKey) Deprecated, for removal: This API element is subject to removal in a future version.void
removeStatModifier
(UUID uuid, boolean update) Deprecated, for removal: This API element is subject to removal in a future version.int
Deprecated, for removal: This API element is subject to removal in a future version.void
resetAll()
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.double
scaleDynamic
(EffectComponent component, String key, double value) Deprecated, for removal: This API element is subject to removal in a future version.double
Deprecated, for removal: This API element is subject to removal in a future version.double
Deprecated, for removal: This API element is subject to removal in a future version.setClass
(FabledClass previous, FabledClass fabledClass, boolean reset) Deprecated, for removal: This API element is subject to removal in a future version.void
setOnPreviewStop
(Runnable onPreviewStop) Deprecated, for removal: This API element is subject to removal in a future version.void
setPersistentData
(String key, Object data) Deprecated, for removal: This API element is subject to removal in a future version.void
setPoints
(int amount) Deprecated, for removal: This API element is subject to removal in a future version.boolean
showDetails
(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.boolean
showProfession
(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.boolean
showSkills
(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.boolean
showSkills
(org.bukkit.entity.Player player, PlayerClass playerClass) Deprecated, for removal: This API element is subject to removal in a future version.void
startPassives
(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.void
stopPassives
(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.int
subtractHungerValue
(double amount) Deprecated, for removal: This API element is subject to removal in a future version.boolean
upAttribute
(String key) Deprecated, for removal: This API element is subject to removal in a future version.void
updateHealth
(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.void
updatePlayerStat
(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
updateWalkSpeed
(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.boolean
upgradeSkill
(Skill skill) Deprecated, for removal: This API element is subject to removal in a future version.void
useMana
(double amount) Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
PlayerData
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getWrapped
Deprecated, for removal: This API element is subject to removal in a future version. -
getPlayer
public org.bukkit.entity.Player getPlayer()Deprecated, for removal: This API element is subject to removal in a future version. -
getPlayerName
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttributes
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttrUpStages
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttributeStageData
Deprecated, for removal: This API element is subject to removal in a future version. -
getExtSkills
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttributesModifiers
Deprecated, for removal: This API element is subject to removal in a future version. -
getStatModifiers
Deprecated, for removal: This API element is subject to removal in a future version. -
getPersistentData
Deprecated, for removal: This API element is subject to removal in a future version. -
getCooldownCache
Deprecated, for removal: This API element is subject to removal in a future version. -
getExtraData
public studio.magemonkey.codex.mccore.config.parse.DataSection getExtraData()Deprecated, for removal: This API element is subject to removal in a future version. -
getUUID
Deprecated, for removal: This API element is subject to removal in a future version. -
getSkillBar
Deprecated, for removal: This API element is subject to removal in a future version. -
getCastBars
Deprecated, for removal: This API element is subject to removal in a future version. -
getTextCastingData
Deprecated, for removal: This API element is subject to removal in a future version. -
subtractHungerValue
public int subtractHungerValue(double amount) Deprecated, for removal: This API element is subject to removal in a future version. -
endInit
public void endInit()Deprecated, for removal: This API element is subject to removal in a future version. -
getInvestedAttributes
Deprecated, for removal: This API element is subject to removal in a future version. -
getInvestedAttributesStages
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttribute
Deprecated, for removal: This API element is subject to removal in a future version. -
getInvestedAttribute
Deprecated, for removal: This API element is subject to removal in a future version. -
getInvestedAttributeStage
Deprecated, for removal: This API element is subject to removal in a future version. -
hasAttribute
Deprecated, for removal: This API element is subject to removal in a future version. -
upAttribute
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttributeUpCost
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttributeUpCost
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttributeUpCost
Deprecated, for removal: This API element is subject to removal in a future version. -
giveAttribute
Deprecated, for removal: This API element is subject to removal in a future version. -
addStatModifier
Deprecated, for removal: This API element is subject to removal in a future version. -
getStatModifiers
Deprecated, for removal: This API element is subject to removal in a future version. -
addAttributeModifier
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttributeModifiers
Deprecated, for removal: This API element is subject to removal in a future version. -
refundAttribute
Deprecated, for removal: This API element is subject to removal in a future version. -
refundAttributes
Deprecated, for removal: This API element is subject to removal in a future version. -
refundAttributes
Deprecated, for removal: This API element is subject to removal in a future version. -
getAttributePoints
public int getAttributePoints()Deprecated, for removal: This API element is subject to removal in a future version. -
giveAttribPoints
public void giveAttribPoints(int amount) Deprecated, for removal: This API element is subject to removal in a future version. -
scaleStat
Deprecated, for removal: This API element is subject to removal in a future version. -
scaleStat
Deprecated, for removal: This API element is subject to removal in a future version. -
scaleDynamic
Deprecated, for removal: This API element is subject to removal in a future version. -
openAttributeMenu
public boolean openAttributeMenu()Deprecated, for removal: This API element is subject to removal in a future version. -
getAttributeData
Deprecated, for removal: This API element is subject to removal in a future version. -
hasSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
getSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
getInvestedSkillPoints
public int getInvestedSkillPoints()Deprecated, for removal: This API element is subject to removal in a future version. -
getSkills
Deprecated, for removal: This API element is subject to removal in a future version. -
getExternallyAddedSkills
Deprecated, for removal: This API element is subject to removal in a future version. -
getSkillLevel
Deprecated, for removal: This API element is subject to removal in a future version. -
giveSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
giveSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
addSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
addSkillExternally
public void addSkillExternally(Skill skill, PlayerClass parent, org.bukkit.NamespacedKey namespacedKey, int level) Deprecated, for removal: This API element is subject to removal in a future version. -
removeSkillExternally
Deprecated, for removal: This API element is subject to removal in a future version. -
autoLevel
public void autoLevel()Deprecated, for removal: This API element is subject to removal in a future version. -
upgradeSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
forceUpSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
forceUpSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
downgradeSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
forceDownSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
forceDownSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
refundSkill
Deprecated, for removal: This API element is subject to removal in a future version. -
refundSkills
public void refundSkills()Deprecated, for removal: This API element is subject to removal in a future version. -
showSkills
public void showSkills()Deprecated, for removal: This API element is subject to removal in a future version. -
showDetails
public boolean showDetails(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version. -
showProfession
public boolean showProfession(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version. -
showSkills
public boolean showSkills(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version. -
showSkills
Deprecated, for removal: This API element is subject to removal in a future version. -
getShownClassName
Deprecated, for removal: This API element is subject to removal in a future version. -
hasClass
public boolean hasClass()Deprecated, for removal: This API element is subject to removal in a future version. -
hasClass
Deprecated, for removal: This API element is subject to removal in a future version. -
getClasses
Deprecated, for removal: This API element is subject to removal in a future version. -
getClass
Deprecated, for removal: This API element is subject to removal in a future version. -
getMainClass
Deprecated, for removal: This API element is subject to removal in a future version. -
setClass
Deprecated, for removal: This API element is subject to removal in a future version. -
isExactClass
Deprecated, for removal: This API element is subject to removal in a future version. -
isClass
Deprecated, for removal: This API element is subject to removal in a future version. -
canProfess
Deprecated, for removal: This API element is subject to removal in a future version. -
reset
Deprecated, for removal: This API element is subject to removal in a future version. -
resetAll
public void resetAll()Deprecated, for removal: This API element is subject to removal in a future version. -
resetAttribs
public void resetAttribs()Deprecated, for removal: This API element is subject to removal in a future version. -
profess
Deprecated, for removal: This API element is subject to removal in a future version. -
giveExp
Deprecated.UsegiveExp(double, ExpSource)
instead, utilizing theExpSource
enum instead of the legacy com.sucy.skill.api.enums.ExpSource enum -
giveExp
Deprecated, for removal: This API element is subject to removal in a future version.Gives the player experience from the specified source- Parameters:
amount
- amount of experience to givesource
- source of the experience
-
giveExp
Deprecated, for removal: This API element is subject to removal in a future version. -
loseExp
public void loseExp(double amount, boolean percent, boolean changeLevel) Deprecated, for removal: This API element is subject to removal in a future version. -
loseExp
public void loseExp()Deprecated, for removal: This API element is subject to removal in a future version. -
giveLevels
Deprecated, for removal: This API element is subject to removal in a future version. -
loseLevels
public void loseLevels(int amount) Deprecated, for removal: This API element is subject to removal in a future version. -
givePoints
Deprecated. -
givePoints
Deprecated, for removal: This API element is subject to removal in a future version. -
setPoints
public void setPoints(int amount) Deprecated, for removal: This API element is subject to removal in a future version. -
updatePlayerStat
public void updatePlayerStat(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version. -
updateWalkSpeed
public void updateWalkSpeed(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version. -
updateHealth
public void updateHealth(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version. -
regenMana
public void regenMana()Deprecated, for removal: This API element is subject to removal in a future version. -
giveMana
public void giveMana(double amount) Deprecated, for removal: This API element is subject to removal in a future version. -
giveMana
Deprecated, for removal: This API element is subject to removal in a future version. -
useMana
public void useMana(double amount) Deprecated, for removal: This API element is subject to removal in a future version. -
useMana
Deprecated, for removal: This API element is subject to removal in a future version. -
getMana
public double getMana()Deprecated, for removal: This API element is subject to removal in a future version. -
getMaxMana
public double getMaxMana()Deprecated, for removal: This API element is subject to removal in a future version. -
removeStatModifier
Deprecated, for removal: This API element is subject to removal in a future version. -
clearStatModifier
public void clearStatModifier()Deprecated, for removal: This API element is subject to removal in a future version. -
removeAttributeModifier
Deprecated, for removal: This API element is subject to removal in a future version. -
clearAttributeModifiers
public void clearAttributeModifiers()Deprecated, for removal: This API element is subject to removal in a future version. -
clearAllModifiers
public void clearAllModifiers()Deprecated, for removal: This API element is subject to removal in a future version. -
getBoundSkill
Deprecated. -
getBinds
Deprecated. -
isBound
Deprecated. -
bind
Deprecated. -
clearBind
Deprecated. -
getPersistentData
Deprecated, for removal: This API element is subject to removal in a future version. -
setPersistentData
Deprecated, for removal: This API element is subject to removal in a future version. -
removePersistentData
Deprecated, for removal: This API element is subject to removal in a future version. -
getAllPersistentData
Deprecated, for removal: This API element is subject to removal in a future version. -
clearBinds
Deprecated. -
clearAllBinds
Deprecated. -
record
public void record(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version. -
updateScoreboard
public void updateScoreboard()Deprecated, for removal: This API element is subject to removal in a future version. -
startPassives
public void startPassives(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version. -
stopPassives
public void stopPassives(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version. -
cast
Deprecated, for removal: This API element is subject to removal in a future version. -
cast
Deprecated, for removal: This API element is subject to removal in a future version. -
check
Deprecated, for removal: This API element is subject to removal in a future version. -
setOnPreviewStop
Deprecated, for removal: This API element is subject to removal in a future version. -
init
public void init(org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version. -
hasMana
public boolean hasMana(double amount) Deprecated, for removal: This API element is subject to removal in a future version.
-
PlayerData
instead