Package net.minecraft.world
Class DifficultyInstance
java.lang.Object
net.minecraft.world.DifficultyInstance
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Difficultyprivate static final floatprivate final floatprivate static final floatprivate static final float - 
Constructor Summary
ConstructorsConstructorDescriptionDifficultyInstance(Difficulty p_19044_, long p_19045_, long p_19046_, float p_19047_)  - 
Method Summary
Modifier and TypeMethodDescriptionprivate floatcalculateDifficulty(Difficulty p_19052_, long p_19053_, long p_19054_, float p_19055_) floatfloatbooleanisHard()booleanisHarderThan(float p_19050_)  
- 
Field Details
- 
DIFFICULTY_TIME_GLOBAL_OFFSET
private static final float DIFFICULTY_TIME_GLOBAL_OFFSET- See Also:
 
 - 
MAX_DIFFICULTY_TIME_GLOBAL
private static final float MAX_DIFFICULTY_TIME_GLOBAL- See Also:
 
 - 
MAX_DIFFICULTY_TIME_LOCAL
private static final float MAX_DIFFICULTY_TIME_LOCAL- See Also:
 
 - 
base
 - 
effectiveDifficulty
private final float effectiveDifficulty 
 - 
 - 
Constructor Details
- 
DifficultyInstance
 
 - 
 - 
Method Details
- 
getDifficulty
 - 
getEffectiveDifficulty
public float getEffectiveDifficulty() - 
isHard
public boolean isHard() - 
isHarderThan
public boolean isHarderThan(float p_19050_)  - 
getSpecialMultiplier
public float getSpecialMultiplier() - 
calculateDifficulty
private float calculateDifficulty(Difficulty p_19052_, long p_19053_, long p_19054_, float p_19055_)  
 -