net.minecraft.world

public class DifficultyInstance

ane
net.minecraft.world.DifficultyInstance
net.minecraft.class_1266
net.minecraft.world.LocalDifficulty
net.minecraft.world.DifficultyInstance
net.minecraft.server.v1_16_R1.DifficultyDamageScaler

Field summary

Modifier and TypeField
private final Difficulty
a
base
field_5798
globalDifficulty
field_180172_a
private final float
b
effectiveDifficulty
field_5799
localDifficulty
field_180171_b

Constructor summary

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

Method summary

Modifier and TypeMethod
public Difficulty
a()
getDifficulty()
method_5454()
getGlobalDifficulty()
func_203095_a()
public float
b()
getEffectiveDifficulty()
method_5457()
getLocalDifficulty()
func_180168_b()
public boolean
a(float arg0)
isHarderThan(float arg0)
method_5455(float arg0)
isHarderThan(float difficulty)
func_193845_a(float arg0)
public float
d()
getSpecialMultiplier()
method_5458()
getClampedLocalDifficulty()
func_180170_c()
private float
a(and 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)
func_180169_a(Difficulty arg0, long arg1, long arg2, float arg3)