Class PlayerFreezeEvent

All Implemented Interfaces:
Cancellable

@PowerNukkitXOnly @Since("1.6.0.0-PNX") public class PlayerFreezeEvent extends PlayerEvent implements Cancellable
  • Constructor Details

    • PlayerFreezeEvent

      public PlayerFreezeEvent(Player player, float speedFactor, float baseSpeed)
  • Method Details

    • getHandlers

      public static HandlerList getHandlers()
    • setBaseSpeed

      public void setBaseSpeed(float baseSpeed)
    • setSpeedFactor

      public void setSpeedFactor(float speedFactor)
    • getBaseSpeed

      public float getBaseSpeed()
    • getSpeedFactor

      public float getSpeedFactor()