| Package | Description |
|---|---|
| com.github.steveice10.mc.protocol.data.game.entity.player |
| Modifier and Type | Method and Description |
|---|---|
static GameMode |
GameMode.byId(int id) |
static @Nullable GameMode |
GameMode.byNullableId(int id) |
static GameMode |
GameMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GameMode[] |
GameMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
GameMode.toNullableId(@Nullable GameMode gameMode) |
Copyright © 2022. All rights reserved.