Appearance
helix / Gamemode
Variable: Gamemode โ
constGamemode:object
Defined in: core/values/enums.ts:5
The four game modes. Use Gamemode.SURVIVAL; the type is the union of their ids.
Type Declaration โ
ADVENTURE โ
readonlyADVENTURE:"adventure"="adventure"
CREATIVE โ
readonlyCREATIVE:"creative"="creative"
SPECTATOR โ
readonlySPECTATOR:"spectator"="spectator"
SURVIVAL โ
readonlySURVIVAL:"survival"="survival"