Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
EliteMobs
/
com.magmaguy.elitemobs.items.potioneffects
/
PlayerPotionEffects
Player
Potion
Effects
public
class
PlayerPotionEffects
implements
Listener
Created by MagmaGuy on 14/03/2017.
Members
Constructors
Player
Potion
Effects
Link copied to clipboard
public
void
PlayerPotionEffects
(
)
Functions
add
On
Hit
Cooldown
Link copied to clipboard
public
static
void
addOnHitCooldown
(
Set
<
UUID
>
cooldownList
,
Player
player
,
long delay
)
on
Player
Changed
World
Link copied to clipboard
public
void
onPlayerChangedWorld
(
PlayerChangedWorldEvent
event
)
Gear effects can stop or resume with the world, so settle them on arrival rather than at the next refresh.
on
Player
Hit
With
Potion
Effect
Link copied to clipboard
public
void
onPlayerHitWithPotionEffect
(
EntityDamageByEntityEvent
event
)
on
Player
Quit
Link copied to clipboard
public
void
onPlayerQuit
(
PlayerQuitEvent
event
)
on
Potion
Changed
Link copied to clipboard
public
void
onPotionChanged
(
EntityPotionEffectEvent
event
)
shutdown
Link copied to clipboard
public
static
void
shutdown
(
)