Package net.minecraftforge.event.level
Class ChunkEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.LevelEvent
net.minecraftforge.event.level.ChunkEvent
- Direct Known Subclasses:
- ChunkDataEvent,- ChunkEvent.Load,- ChunkEvent.Unload
ChunkEvent is fired when an event involving a chunk occurs.
If a method utilizes this
 
 
 
All children of this event are fired on the
If a method utilizes this
Event as its parameter, the method will
 receive every child event of this class.chunk contains the Chunk this event is affecting.All children of this event are fired on the
MinecraftForge.EVENT_BUS.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classChunkEvent.Load is fired when vanilla Minecraft attempts to load a Chunk into the level.
 This event is fired during chunk loading in
 Chunk.onChunkLoad().static classChunkEvent.Unload is fired when vanilla Minecraft attempts to unload a Chunk from the level.
 This event is fired during chunk unloading in
 Chunk.onChunkUnload().Nested classes/interfaces inherited from class net.minecraftforge.event.level.LevelEventLevelEvent.CreateSpawnPosition, LevelEvent.PotentialSpawns, LevelEvent.SaveNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Eventnet.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionChunkEvent(ChunkAccess chunk) ChunkEvent(ChunkAccess chunk, LevelAccessor level) 
- 
Method SummaryMethods inherited from class net.minecraftforge.event.level.LevelEventgetLevelMethods inherited from class net.minecraftforge.eventbus.api.EventgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
- 
Field Details- 
chunk
 
- 
- 
Constructor Details- 
ChunkEvent
- 
ChunkEvent
 
- 
- 
Method Details- 
getChunk
 
-