public class GameMode extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GameMode.Builder |
| Modifier and Type | Field and Description |
|---|---|
static GameMode |
ADVENTURE |
static GameMode |
CREATIVE |
static GameMode |
SPECTATOR |
static GameMode |
SURVIVAL |
| Modifier and Type | Method and Description |
|---|---|
static GameMode.Builder |
builder(int vanillaId,
String name,
String... aliases) |
static GameMode |
from(int id) |
static GameMode |
from(String name) |
String |
getTranslation() |
Copyright © 2020. All rights reserved.