MinecraftLevelSystem

Vanilla experience bar system.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val converter: ExpLevelConverter
Link copied to clipboard
open override var exp: Double
Link copied to clipboard
open override var fractionalExp: Double
Link copied to clipboard
open override var level: Int
Link copied to clipboard
open override val totalExpToNextLevel: Double

Inherited properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var totalExp: Double

Inherited functions

Link copied to clipboard
open fun didReachLevel(requiredLevel: Int): Boolean
Link copied to clipboard
open fun giveExp(expAmount: Double)
Link copied to clipboard
open fun giveLevels(lvlAmount: Int)
Link copied to clipboard
open fun hasExp(requiredExp: Double): Boolean
Link copied to clipboard
open fun hasExpTotal(requiredExp: Double): Boolean
Link copied to clipboard
open fun takeExp(expAmount: Double)
Link copied to clipboard
open fun takeLevels(lvlAmount: Int)