Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to manipulate player's flying ability and state

deprecated

Consider using Player.getFlyingEnabled, Player.setFlyingEnabled, Player.getFlying, Player.setFlying

Hierarchy

  • PlayerFlying

Index

Constructors

Methods

  • get(): boolean
  • getEnabled(): boolean
  • set(enabled: boolean): void
  • setEnabled(enabled: boolean): void
  • Enables or disables player's ability to fly

    Parameters

    • enabled: boolean

      whether the player can fly or not

    Returns void

Generated using TypeDoc