Package net.minecraftforge.event
Class DifficultyChangeEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.DifficultyChangeEvent
public class DifficultyChangeEvent
extends net.minecraftforge.eventbus.api.Event
DifficultyChangeEvent is fired when difficulty is changing.
This event is fired via the
This event does not have a result.
This event is fired on the
This event is fired via the
ForgeHooks.onDifficultyChange(EnumDifficulty, EnumDifficulty)
.This event does not have a result.
Event.HasResult
This event is fired on the
MinecraftForge.EVENT_BUS
.-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
difficulty
-
oldDifficulty
-
-
Constructor Details
-
DifficultyChangeEvent
-
-
Method Details
-
getDifficulty
-
getOldDifficulty
-