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
invalid reference
ForgeHooks#onDifficultyChange(Difficulty, Difficulty)
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, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
difficulty
-
oldDifficulty
-
-
Constructor Details
-
DifficultyChangeEvent
-
-
Method Details
-
getDifficulty
-
getOldDifficulty
-