toggle menu
mimic
jvm
switch theme
search in API
mimic-bukkit
/
ru.endlesscode.mimic.impl.vanilla
/
MinecraftLevelSystem
Minecraft
Level
System
class
MinecraftLevelSystem
:
BukkitLevelSystem
(
source
)
Vanilla experience bar system.
Members
Types
Companion
Link copied to clipboard
object
Companion
Properties
converter
Link copied to clipboard
open
override
val
converter
:
ExpLevelConverter
exp
Link copied to clipboard
open
override
var
exp
:
Double
fractional
Exp
Link copied to clipboard
open
override
var
fractionalExp
:
Double
level
Link copied to clipboard
open
override
var
level
:
Int
total
Exp
To
Next
Level
Link copied to clipboard
open
override
val
totalExpToNextLevel
:
Double
Inherited properties
exp
To
Next
Level
Link copied to clipboard
open
val
expToNextLevel
:
Double
player
Link copied to clipboard
val
player
:
Player
total
Exp
Link copied to clipboard
open
var
totalExp
:
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
)