Uses of Enum Class
com.andrei1058.bedwars.api.events.player.PlayerXpGainEvent.XpSource
Packages that use PlayerXpGainEvent.XpSource
-
Uses of PlayerXpGainEvent.XpSource in com.andrei1058.bedwars.api.events.player
Methods in com.andrei1058.bedwars.api.events.player that return PlayerXpGainEvent.XpSourceModifier and TypeMethodDescriptionPlayerXpGainEvent.getXpSource()
Get xp sourcestatic PlayerXpGainEvent.XpSource
Returns the enum constant of this class with the specified name.static PlayerXpGainEvent.XpSource[]
PlayerXpGainEvent.XpSource.values()
Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.andrei1058.bedwars.api.events.player with parameters of type PlayerXpGainEvent.XpSourceModifierConstructorDescriptionPlayerXpGainEvent
(org.bukkit.entity.Player player, int amount, PlayerXpGainEvent.XpSource xpSource) Called when a player receives new xp. -
Uses of PlayerXpGainEvent.XpSource in com.andrei1058.bedwars.api.levels
Methods in com.andrei1058.bedwars.api.levels with parameters of type PlayerXpGainEvent.XpSourceModifier and TypeMethodDescriptionvoid
Level.addXp
(org.bukkit.entity.Player player, int xp, PlayerXpGainEvent.XpSource source) Add some xp to target player.