Class ProSkillApiLevelSystem

java.lang.Object
ru.endlesscode.mimic.level.BukkitLevelSystem
com.sucy.skill.hook.mimic.ProSkillApiLevelSystem
All Implemented Interfaces:
ru.endlesscode.mimic.level.LevelSystem

public class ProSkillApiLevelSystem extends ru.endlesscode.mimic.level.BukkitLevelSystem
  • Nested Class Summary

    Nested classes/interfaces inherited from class ru.endlesscode.mimic.level.BukkitLevelSystem

    ru.endlesscode.mimic.level.BukkitLevelSystem.Provider
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProSkillApiLevelSystem(@NotNull org.bukkit.entity.Player player)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull ru.endlesscode.mimic.level.ExpLevelConverter
     
    double
     
    int
     
    void
    giveExp(double expAmount)
     
    void
    giveLevels(int lvlAmount)
     
    void
    setExp(double exp)
     
    void
    setLevel(int level)
     
    void
    takeExp(double expAmount)
     
    void
    takeLevels(int lvlAmount)
     

    Methods inherited from class ru.endlesscode.mimic.level.BukkitLevelSystem

    getPlayer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface ru.endlesscode.mimic.level.LevelSystem

    didReachLevel, getExpToNextLevel, getFractionalExp, getTotalExp, getTotalExpToNextLevel, hasExp, hasExpTotal, setFractionalExp, setTotalExp
  • Constructor Details

    • ProSkillApiLevelSystem

      public ProSkillApiLevelSystem(@NotNull @NotNull org.bukkit.entity.Player player)
  • Method Details

    • getConverter

      @NotNull public @NotNull ru.endlesscode.mimic.level.ExpLevelConverter getConverter()
    • getLevel

      public int getLevel()
    • setLevel

      public void setLevel(int level)
    • getExp

      public double getExp()
    • setExp

      public void setExp(double exp)
    • takeLevels

      public void takeLevels(int lvlAmount)
    • giveLevels

      public void giveLevels(int lvlAmount)
    • takeExp

      public void takeExp(double expAmount)
    • giveExp

      public void giveExp(double expAmount)