Uses of Class
net.neoforged.neoforge.event.level.LevelEvent
Packages that use LevelEvent
-
Uses of LevelEvent in net.neoforged.neoforge.event.level
Subclasses of LevelEvent in net.neoforged.neoforge.event.levelModifier and TypeClassDescriptionclassThis event is fired whenever a block (like a sapling) grows into a feature (like a tree).classChunkDataEvent is fired when a chunk is about to be loaded from disk or saved to disk.static classChunkDataEvent.Load is fired when the chunk has been created from the providedSerializableChunkDataand is about to be marked as loaded.static classChunkDataEvent.Save is fired after the chunk has been serialized to the providedSerializableChunkDatawhich is about to be handed off to a background thread to be written to disk.classChunkEvent<T extends ChunkAccess>Base class for events involving chunks.static classThis event is fired after Minecraft loads aLevelChunkinto the level, on both the client and server.static classThis event is fired when Minecraft unloads a Chunk from the level, just before the side-specific unload method is called.static classThis event fires whenever aServerLevelis initialized for the first time and a spawn position needs to be chosen.static classThis event is fired whenever a level loads.static classFired when building a list of all possible entities that can spawn at the specified location.static classThis event fires whenever a level is saved.static classThis event is fired whenever a level unloads.classThis event is fired when all players are asleep and the time should be set to day.
setWakeUpTime(wakeUpTime) sets a new time that will be added to the dayTime.