public class DifficultyChangeEvent extends Event
ForgeHooks.onDifficultyChange(EnumDifficulty, EnumDifficulty)
.Cancelable
.Event.HasResult
MinecraftForge.EVENT_BUS
.Event.HasResult, Event.Result
Constructor and Description |
---|
DifficultyChangeEvent(EnumDifficulty difficulty,
EnumDifficulty oldDifficulty) |
Modifier and Type | Method and Description |
---|---|
EnumDifficulty |
getDifficulty() |
EnumDifficulty |
getOldDifficulty() |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public DifficultyChangeEvent(EnumDifficulty difficulty, EnumDifficulty oldDifficulty)
public EnumDifficulty getDifficulty()
public EnumDifficulty getOldDifficulty()