GameMode
Stable gameplay modes exposed to plugins without leaking protocol numeric IDs.
Bedriox\Api\Player\GameMode
enumBedriox\Api\Player
Public methods
allowsFlight(): boolTyped public method.
hasCollision(): boolTyped public method.
canBuild(): boolTyped public method.
instantlyBreaksBlocks(): boolTyped public method.
consumesItems(): boolTyped public method.
takesDamage(): boolTyped public method.
isVisible(): boolTyped public method.
Enum cases
SURVIVAL = 'survival'CREATIVE = 'creative'ADVENTURE = 'adventure'SPECTATOR = 'spectator'