Package net.neoforged.neoforge.event
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 does not have a result.
This event is fired on the
This event is fired via the
CommonHooks.onDifficultyChange(Difficulty, Difficulty)
.This event does not have a result.
invalid reference
HasResult
This event is fired on the
NeoForge.EVENT_BUS
.-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
difficulty
-
oldDifficulty
-
-
Constructor Details
-
DifficultyChangeEvent
-
-
Method Details
-
getDifficulty
-
getOldDifficulty
-