net.minecraft.world

public class LocalDifficulty

ahb
net.minecraft.class_1266
net.minecraft.world.LocalDifficulty
net.minecraft.world.DifficultyInstance
net.minecraft.world.DifficultyInstance

Field summary

Modifier and TypeField
private final Difficulty
a
field_5798
base
field_180172_a
worldDifficulty
private final float
b
field_5799
difficulty
field_180171_b
additionalDifficulty

Constructor summary

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

Method summary

Modifier and TypeMethod
public Difficulty
a()
method_5454()
getBase()
func_203095_a()
getDifficulty()
public float
b()
method_5457()
get()
func_180168_b()
getAdditionalDifficulty()
public boolean
a(float arg0)
method_5455(float arg0)
isGreaterThan(float difficulty)
func_193845_a(float arg0)
isHarderThan(float arg0)
public float
d()
method_5458()
getMultiplier()
func_180170_c()
getClampedAdditionalDifficulty()
private float
a(aha arg0, long arg1, long arg2, float arg3)
method_5456(class_1267 arg0, long arg1, long arg2, float arg3)
calculate(Difficulty base, long timeOfDay, long inhabitedTime, float moonSize)
func_180169_a(Difficulty arg0, long arg1, long arg2, float arg3)
calculateAdditionalDifficulty(Difficulty difficulty, long worldTime, long chunkInhabitedTime, float moonPhaseFactor)