Variable gameModesConst

gameModes: readonly [
    "survival",
    "creative",
    "adventure",
    undefined,
    undefined,
    "default",
    "spectator",
] = ...

The list of Minecraft game modes, with their indices corresponding to their numeric gamemode IDs.