| Modifier and Type | Field and Description |
|---|---|
Difficulty |
GameSettings.difficulty |
| Modifier and Type | Field and Description |
|---|---|
private Difficulty |
OptionsScreen.field_213062_f |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
OptionsScreen.getDifficultyText(Difficulty p_175355_1_) |
| Modifier and Type | Method and Description |
|---|---|
static int |
DifficultyCommand.setDifficulty(CommandSource source,
Difficulty difficulty) |
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.Predicate<Difficulty> |
BreakDoorGoal.field_220699_g |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
BreakDoorGoal.func_220696_a(Difficulty p_220696_1_) |
| Constructor and Description |
|---|
BreakDoorGoal(MobEntity p_i50333_1_,
int p_i50333_2_,
java.util.function.Predicate<Difficulty> p_i50333_3_) |
BreakDoorGoal(MobEntity p_i50332_1_,
java.util.function.Predicate<Difficulty> p_i50332_2_) |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.function.Predicate<Difficulty> |
VindicatorEntity.field_213681_b |
private static java.util.function.Predicate<Difficulty> |
ZombieEntity.HARD_DIFFICULTY_PREDICATE |
| Modifier and Type | Field and Description |
|---|---|
private Difficulty |
CSetDifficultyPacket.field_218774_a |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
CSetDifficultyPacket.func_218773_b() |
| Constructor and Description |
|---|
CSetDifficultyPacket(Difficulty p_i50762_1_) |
| Modifier and Type | Field and Description |
|---|---|
private Difficulty |
SServerDifficultyPacket.difficulty |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
SServerDifficultyPacket.getDifficulty() |
| Constructor and Description |
|---|
SServerDifficultyPacket(Difficulty difficultyIn,
boolean difficultyLockedIn) |
| Modifier and Type | Method and Description |
|---|---|
abstract Difficulty |
MinecraftServer.getDifficulty() |
| Modifier and Type | Method and Description |
|---|---|
void |
MinecraftServer.setDifficultyForAllWorlds(Difficulty difficulty,
boolean p_147139_2_) |
| Modifier and Type | Field and Description |
|---|---|
Difficulty |
ServerProperties.difficulty |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
DedicatedServer.getDifficulty() |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
IntegratedServer.getDifficulty() |
| Modifier and Type | Field and Description |
|---|---|
private static Difficulty[] |
Difficulty.ID_MAPPING |
private Difficulty |
DifficultyInstance.worldDifficulty |
| Modifier and Type | Method and Description |
|---|---|
static Difficulty |
Difficulty.byId(int id) |
static Difficulty |
Difficulty.byName(java.lang.String nameIn) |
default Difficulty |
IWorld.getDifficulty() |
Difficulty |
DifficultyInstance.getDifficulty() |
static Difficulty |
Difficulty.valueOf(java.lang.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 |
|---|---|
private float |
DifficultyInstance.calculateAdditionalDifficulty(Difficulty difficulty,
long worldTime,
long chunkInhabitedTime,
float moonPhaseFactor) |
| Constructor and Description |
|---|
DifficultyInstance(Difficulty worldDifficulty,
long worldTime,
long chunkInhabitedTime,
float moonPhaseFactor) |
| Modifier and Type | Method and Description |
|---|---|
int |
Raid.getWaves(Difficulty difficultyIn) |
| Modifier and Type | Field and Description |
|---|---|
static Difficulty |
WorldInfo.DEFAULT_DIFFICULTY |
private Difficulty |
WorldInfo.difficulty |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
WorldInfo.getDifficulty() |
Difficulty |
DerivedWorldInfo.getDifficulty() |
| Modifier and Type | Method and Description |
|---|---|
void |
WorldInfo.setDifficulty(Difficulty newDifficulty) |
void |
DerivedWorldInfo.setDifficulty(Difficulty newDifficulty) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ForgeHooks.onDifficultyChange(Difficulty difficulty,
Difficulty oldDifficulty) |
| Modifier and Type | Field and Description |
|---|---|
private Difficulty |
DifficultyChangeEvent.difficulty |
private Difficulty |
DifficultyChangeEvent.oldDifficulty |
| Modifier and Type | Method and Description |
|---|---|
Difficulty |
DifficultyChangeEvent.getDifficulty() |
Difficulty |
DifficultyChangeEvent.getOldDifficulty() |
| Constructor and Description |
|---|
DifficultyChangeEvent(Difficulty difficulty,
Difficulty oldDifficulty) |