Table of Contents

Enum EnumGameMode

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

A players game mode

public enum EnumGameMode

Fields

Creative = 2

Can fly, break blocks immediately, etc.

Guest = 0

Can not place or remove blocks, but can interact with blocks and entities

Spectator = 3

Can fly but may not interact with the world in any way

Survival = 1

May not fly or break blocks immediately