net.minecraft.world

public class DifficultyInstance

bdw
net.minecraft.world.DifficultyInstance
net.minecraft.class_1266
net.minecraft.world.LocalDifficulty
net.minecraft.src.C_469_
net.minecraft.world.DifficultyDamageScaler

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public Difficulty
a()
getDifficulty()
method_5454()
getGlobalDifficulty()
m_19048_()
public float
b()
getEffectiveDifficulty()
method_5457()
getLocalDifficulty()
m_19056_()
public boolean
c()
isHard()
method_35020()
isAtLeastHard()
m_146649_()
public boolean
a(float arg0)
isHarderThan(float arg0)
method_5455(float arg0)
isHarderThan(float difficulty)
m_19049_(float arg0)
public float
d()
getSpecialMultiplier()
method_5458()
getClampedLocalDifficulty()
m_19057_()
private float
a(bdv 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)
m_19051_(C_468_ p_19053_, long p_19054_, long arg2, float arg3)