Class GameModes
- java.lang.Object
-
- org.spongepowered.api.entity.living.player.gamemode.GameModes
-
public final class GameModes extends java.lang.Object
A list of the game modes that Minecraft provides in vanilla.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<GameMode>
ADVENTURE
static DefaultedRegistryReference<GameMode>
CREATIVE
static DefaultedRegistryReference<GameMode>
NOT_SET
static DefaultedRegistryReference<GameMode>
SPECTATOR
static DefaultedRegistryReference<GameMode>
SURVIVAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Registry<GameMode>
registry()
-
-
-
Field Detail
-
ADVENTURE
public static final DefaultedRegistryReference<GameMode> ADVENTURE
-
CREATIVE
public static final DefaultedRegistryReference<GameMode> CREATIVE
-
NOT_SET
public static final DefaultedRegistryReference<GameMode> NOT_SET
-
SPECTATOR
public static final DefaultedRegistryReference<GameMode> SPECTATOR
-
SURVIVAL
public static final DefaultedRegistryReference<GameMode> SURVIVAL
-
-