Class RPGClass

java.lang.Object
com.sucy.skill.api.classes.RPGClass

@Deprecated(forRemoval=true) public class RPGClass extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
use FabledClass instead
Represents a class in the RPG system
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    addSkills(String... names)
    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.
     
    boolean
    canStartCombo(Click click, org.bukkit.inventory.ItemStack itemStack)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    canUse(org.bukkit.Material type)
    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.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    getAttribute(String key, int level)
    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.
     
    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
    getHealth(int level)
    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.
     
    org.bukkit.inventory.ItemStack
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.bukkit.inventory.ItemStack
    getIcon(PlayerData playerData)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    double
    getMana(int level)
    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
    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.
     
    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.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.bukkit.ChatColor
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    getRequiredExp(int level)
    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.
     
    getSkills(boolean includeParents)
    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.
     
    org.bukkit.inventory.ItemStack
    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
    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
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    isAllowed(org.bukkit.entity.Player player)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    load(studio.magemonkey.codex.mccore.config.parse.DataSection config)
    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
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    save(studio.magemonkey.codex.mccore.config.parse.DataSection config)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setActionBarText(String actionBarText)
    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
    setManaRegen(double manaRegen)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPrefix(String prefix)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    softSave(studio.magemonkey.codex.mccore.config.parse.DataSection config)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RPGClass

      public RPGClass(FabledClass root)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getWrapped

      public FabledClass getWrapped()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getName

      public String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPrefix

      public String getPrefix()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setPrefix

      public void setPrefix(String prefix)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPrefixColor

      public org.bukkit.ChatColor getPrefixColor()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSkillTree

      public InventoryTree getSkillTree()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getGroup

      public String getGroup()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getGroupSettings

      public GroupSettings getGroupSettings()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasParent

      public boolean hasParent()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getParent

      public RPGClass getParent()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRoot

      public RPGClass getRoot()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getIcon

      public org.bukkit.inventory.ItemStack getIcon()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSkillMap

      public Map<String,Skill> getSkillMap()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getIcon

      public org.bukkit.inventory.ItemStack getIcon(PlayerData playerData)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isAllowed

      public boolean isAllowed(org.bukkit.entity.Player player)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getToolIcon

      public org.bukkit.inventory.ItemStack getToolIcon()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getActionBarText

      public String getActionBarText()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setActionBarText

      public void setActionBarText(String actionBarText)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasActionBarText

      public boolean hasActionBarText()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • receivesExp

      public boolean receivesExp(ExpSource source)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getMaxLevel

      public int getMaxLevel()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRequiredExp

      public int getRequiredExp(int level)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getHealth

      public double getHealth(int level)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getBaseHealth

      public double getBaseHealth()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getHealthScale

      public double getHealthScale()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getMana

      public double getMana(int level)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getBaseMana

      public double getBaseMana()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getManaScale

      public double getManaScale()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getAttribute

      public int getAttribute(String key, int level)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSettings

      public ReadOnlySettings getSettings()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getManaName

      public String getManaName()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSkills

      public List<Skill> getSkills()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSkills

      public List<Skill> getSkills(boolean includeParents)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • hasManaRegen

      public boolean hasManaRegen()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getManaRegen

      public double getManaRegen()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setManaRegen

      public void setManaRegen(double manaRegen)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getOptions

      public ArrayList<RPGClass> getOptions()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • canUse

      public boolean canUse(org.bukkit.Material type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addSkill

      public void addSkill(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addSkills

      public void addSkills(String... names)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setAllowedExpSources

      public void setAllowedExpSources(ExpSource... sources)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • allowExpSource

      public void allowExpSource(ExpSource source)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • disallowExpSource

      public void disallowExpSource(ExpSource source)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • save

      public void save(studio.magemonkey.codex.mccore.config.parse.DataSection config)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • softSave

      public void softSave(studio.magemonkey.codex.mccore.config.parse.DataSection config)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • load

      public void load(studio.magemonkey.codex.mccore.config.parse.DataSection config)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • reloadSkillTree

      public void reloadSkillTree()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • arrange

      public void arrange()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • canStartCombo

      public boolean canStartCombo(Click click, @Nullable org.bukkit.inventory.ItemStack itemStack)
      Deprecated, for removal: This API element is subject to removal in a future version.