Package cn.nukkit.event.player
Class PlayerFreezeEvent
java.lang.Object
cn.nukkit.event.Event
cn.nukkit.event.player.PlayerEvent
cn.nukkit.event.player.PlayerFreezeEvent
- All Implemented Interfaces:
Cancellable
@PowerNukkitXOnly
@Since("1.6.0.0-PNX")
public class PlayerFreezeEvent
extends PlayerEvent
implements Cancellable
-
Field Summary
Fields inherited from class cn.nukkit.event.player.PlayerEvent
player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
static HandlerList
float
void
setBaseSpeed
(float baseSpeed) void
setSpeedFactor
(float speedFactor) Methods inherited from class cn.nukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class cn.nukkit.event.Event
getEventName, isCancelled, setCancelled, setCancelled
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.event.Cancellable
isCancelled, setCancelled, setCancelled
-
Constructor Details
-
PlayerFreezeEvent
-
-
Method Details
-
getHandlers
-
setBaseSpeed
public void setBaseSpeed(float baseSpeed) -
setSpeedFactor
public void setSpeedFactor(float speedFactor) -
getBaseSpeed
public float getBaseSpeed() -
getSpeedFactor
public float getSpeedFactor()
-