Uses of Class
net.minecraftforge.event.world.ChunkEvent
Packages that use ChunkEvent
-
Uses of ChunkEvent in net.minecraftforge.event.world
Subclasses of ChunkEvent in net.minecraftforge.event.worldModifier and TypeClassDescriptionclassChunkDataEvent is fired when an event involving chunk data occurs.
If a method utilizes thisEventas its parameter, the method will receive every child event of this class.
ChunkDataEvent.datacontains the NBTTagCompound containing the chunk data for this event.
All children of this event are fired on theMinecraftForge.EVENT_BUS.static classChunkDataEvent.Load is fired when vanilla Minecraft attempts to load Chunk data.
This event is fired during chunk loading inChunkSerializer.read(ServerLevel, PoiManager, ChunkPos, CompoundTag)which means it is async, so be careful.
This event is notCancelable.
This event does not have a result.static classChunkDataEvent.Save is fired when vanilla Minecraft attempts to save Chunk data.
This event is fired during chunk saving inChunkMap#save(ChunkAccess).static classChunkEvent.Load is fired when vanilla Minecraft attempts to load a Chunk into the world.
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 world.
This event is fired during chunk unloading in
Chunk.onChunkUnload().