net.minecraft.world

public class DifficultyInstance

bsj
net.minecraft.world.DifficultyInstance
net.minecraft.class_1266
net.minecraft.world.LocalDifficulty
net.minecraft.world.DifficultyDamageScaler

Field summary

Modifier and TypeField
private static final float
a
DIFFICULTY_TIME_GLOBAL_OFFSET
field_29953
field_29953
private static final float
b
MAX_DIFFICULTY_TIME_GLOBAL
field_29954
field_29954
private static final float
c
MAX_DIFFICULTY_TIME_LOCAL
field_29955
field_29955
private final Difficulty
d
base
field_5798
globalDifficulty
private final float
e
effectiveDifficulty
field_5799
localDifficulty

Constructor summary

ModifierConstructor
public (Difficulty difficulty, long timeOfDay, long inhabitedTime, float moonSize)

Method summary

Modifier and TypeMethod
public Difficulty
a()
getDifficulty()
method_5454()
getGlobalDifficulty()
public float
b()
getEffectiveDifficulty()
method_5457()
getLocalDifficulty()
public boolean
c()
isHard()
method_35020()
isAtLeastHard()
public boolean
a(float arg0)
isHarderThan(float arg0)
method_5455(float arg0)
isHarderThan(float difficulty)
public float
d()
getSpecialMultiplier()
method_5458()
getClampedLocalDifficulty()
private float
a(bsi arg0, long arg1, long arg2, float arg3)
calculateDifficulty(Difficulty arg0, long arg1, long arg2, float arg3)
method_5456(class_1267 arg0, long arg1, long arg2, float arg3)
setLocalDifficulty(Difficulty difficulty, long timeOfDay, long inhabitedTime, float moonSize)