Class DifficultyChangeEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.DifficultyChangeEvent
public class DifficultyChangeEvent
extends net.neoforged.bus.api.Event
DifficultyChangeEvent is fired when difficulty is changing.
This event is fired via the
This event is fired on the
This event is fired via the
CommonHooks.onDifficultyChange(Difficulty, Difficulty).This event is fired on the
NeoForge.EVENT_BUS.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
difficulty
-
oldDifficulty
-
-
Constructor Details
-
DifficultyChangeEvent
-
-
Method Details
-
getDifficulty
-
getOldDifficulty
-