| Package | Description |
|---|---|
| com.github.steveice10.mc.protocol.data.game.setting | |
| com.github.steveice10.mc.protocol.packet.ingame.server |
| Modifier and Type | Method and Description |
|---|---|
static Difficulty |
Difficulty.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Difficulty[] |
Difficulty.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
ServerRespawnPacket.getDifficulty() |
Difficulty |
ServerJoinGamePacket.getDifficulty() |
Difficulty |
ServerDifficultyPacket.getDifficulty() |
| Constructor and Description |
|---|
ServerDifficultyPacket(Difficulty difficulty) |
ServerJoinGamePacket(int entityId,
boolean hardcore,
GameMode gamemode,
int dimension,
Difficulty difficulty,
int maxPlayers,
WorldType worldType,
boolean reducedDebugInfo) |
ServerRespawnPacket(int dimension,
Difficulty difficulty,
GameMode gamemode,
WorldType worldType) |
Copyright © 2020. All rights reserved.