toggle menu
mimic
jvm
switch theme
search in API
mimic-bukkit-api
/
ru.endlesscode.mimic.level
/
BukkitLevelSystem
Bukkit
Level
System
abstract
class
BukkitLevelSystem
(
player
:
Player
)
:
LevelSystem
(
source
)
LevelSystem
for Bukkit.
Members
Constructors
Bukkit
Level
System
Link copied to clipboard
constructor
(
player
:
Player
)
Types
Provider
Link copied to clipboard
fun
interface
Provider
:
PlayerSystemProviderService
<
BukkitLevelSystem
>
Provider of Bukkit level systems.
Properties
player
Link copied to clipboard
val
player
:
Player
Player owning this level system.
Inherited properties
converter
Link copied to clipboard
abstract
val
converter
:
ExpLevelConverter
exp
Link copied to clipboard
abstract
var
exp
:
Double
exp
To
Next
Level
Link copied to clipboard
open
val
expToNextLevel
:
Double
fractional
Exp
Link copied to clipboard
open
var
fractionalExp
:
Double
level
Link copied to clipboard
abstract
var
level
:
Int
total
Exp
Link copied to clipboard
open
var
totalExp
:
Double
total
Exp
To
Next
Level
Link copied to clipboard
open
val
totalExpToNextLevel
:
Double
Inherited functions
did
Reach
Level
Link copied to clipboard
open
fun
didReachLevel
(
requiredLevel
:
Int
)
:
Boolean
give
Exp
Link copied to clipboard
open
fun
giveExp
(
expAmount
:
Double
)
give
Levels
Link copied to clipboard
open
fun
giveLevels
(
lvlAmount
:
Int
)
has
Exp
Link copied to clipboard
open
fun
hasExp
(
requiredExp
:
Double
)
:
Boolean
has
Exp
Total
Link copied to clipboard
open
fun
hasExpTotal
(
requiredExp
:
Double
)
:
Boolean
take
Exp
Link copied to clipboard
open
fun
takeExp
(
expAmount
:
Double
)
take
Levels
Link copied to clipboard
open
fun
takeLevels
(
lvlAmount
:
Int
)