Modifier and Type | Method and Description |
---|---|
java.lang.String |
GuiOptions.getDifficultyText(EnumDifficulty p_175355_1_) |
Constructor and Description |
---|
WorldClient(NetHandlerPlayClient netHandler,
WorldSettings settings,
int dimension,
EnumDifficulty difficulty,
Profiler profilerIn) |
Modifier and Type | Field and Description |
---|---|
EnumDifficulty |
GameSettings.difficulty |
Modifier and Type | Method and Description |
---|---|
protected EnumDifficulty |
CommandDifficulty.getDifficultyFromCommand(java.lang.String difficultyString) |
Modifier and Type | Field and Description |
---|---|
private EnumDifficulty |
SPacketRespawn.difficulty |
private EnumDifficulty |
SPacketServerDifficulty.difficulty |
private EnumDifficulty |
SPacketJoinGame.difficulty |
Modifier and Type | Method and Description |
---|---|
EnumDifficulty |
SPacketRespawn.getDifficulty() |
EnumDifficulty |
SPacketServerDifficulty.getDifficulty() |
EnumDifficulty |
SPacketJoinGame.getDifficulty() |
Constructor and Description |
---|
SPacketJoinGame(int playerIdIn,
GameType gameTypeIn,
boolean hardcoreModeIn,
int dimensionIn,
EnumDifficulty difficultyIn,
int maxPlayersIn,
WorldType worldTypeIn,
boolean reducedDebugInfoIn) |
SPacketRespawn(int dimensionIdIn,
EnumDifficulty difficultyIn,
WorldType worldTypeIn,
GameType gameModeIn) |
SPacketServerDifficulty(EnumDifficulty difficultyIn,
boolean difficultyLockedIn) |
Modifier and Type | Method and Description |
---|---|
abstract EnumDifficulty |
MinecraftServer.getDifficulty() |
Modifier and Type | Method and Description |
---|---|
void |
MinecraftServer.setDifficultyForAllWorlds(EnumDifficulty difficulty) |
Modifier and Type | Method and Description |
---|---|
EnumDifficulty |
DedicatedServer.getDifficulty() |
Modifier and Type | Method and Description |
---|---|
EnumDifficulty |
IntegratedServer.getDifficulty() |
Modifier and Type | Method and Description |
---|---|
void |
IntegratedServer.setDifficultyForAllWorlds(EnumDifficulty difficulty) |
Modifier and Type | Field and Description |
---|---|
private static EnumDifficulty[] |
EnumDifficulty.ID_MAPPING |
private EnumDifficulty |
DifficultyInstance.worldDifficulty |
Modifier and Type | Method and Description |
---|---|
EnumDifficulty |
World.getDifficulty() |
static EnumDifficulty |
EnumDifficulty.getDifficultyEnum(int id) |
static EnumDifficulty |
EnumDifficulty.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumDifficulty[] |
EnumDifficulty.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
private float |
DifficultyInstance.calculateAdditionalDifficulty(EnumDifficulty difficulty,
long worldTime,
long chunkInhabitedTime,
float moonPhaseFactor) |
Constructor and Description |
---|
DifficultyInstance(EnumDifficulty worldDifficulty,
long worldTime,
long chunkInhabitedTime,
float moonPhaseFactor) |
Modifier and Type | Field and Description |
---|---|
static EnumDifficulty |
WorldInfo.DEFAULT_DIFFICULTY |
private EnumDifficulty |
WorldInfo.difficulty |
Modifier and Type | Method and Description |
---|---|
EnumDifficulty |
DerivedWorldInfo.getDifficulty() |
EnumDifficulty |
WorldInfo.getDifficulty() |
Modifier and Type | Method and Description |
---|---|
void |
DerivedWorldInfo.setDifficulty(EnumDifficulty newDifficulty) |
void |
WorldInfo.setDifficulty(EnumDifficulty newDifficulty) |
Modifier and Type | Method and Description |
---|---|
static void |
ForgeHooks.onDifficultyChange(EnumDifficulty difficulty,
EnumDifficulty oldDifficulty) |
Modifier and Type | Field and Description |
---|---|
private EnumDifficulty |
DifficultyChangeEvent.difficulty |
private EnumDifficulty |
DifficultyChangeEvent.oldDifficulty |
Modifier and Type | Method and Description |
---|---|
EnumDifficulty |
DifficultyChangeEvent.getDifficulty() |
EnumDifficulty |
DifficultyChangeEvent.getOldDifficulty() |
Constructor and Description |
---|
DifficultyChangeEvent(EnumDifficulty difficulty,
EnumDifficulty oldDifficulty) |