BedrioxDOCUMENTATION
API ENUM

GameMode

Stable gameplay modes exposed to plugins without leaking protocol numeric IDs.

Bedriox\Api\Player\GameMode
enumBedriox\Api\Player

Public methods

allowsFlight(): bool

Typed public method.

hasCollision(): bool

Typed public method.

canBuild(): bool

Typed public method.

instantlyBreaksBlocks(): bool

Typed public method.

consumesItems(): bool

Typed public method.

takesDamage(): bool

Typed public method.

isVisible(): bool

Typed public method.

Enum cases

SURVIVAL = 'survival'
CREATIVE = 'creative'
ADVENTURE = 'adventure'
SPECTATOR = 'spectator'

View exact source ↗