public class ChunkDataEvent extends ChunkEvent
Event as its parameter, the method will
 receive every child event of this class.data contains the NBTTagCompound containing the chunk data for this event.MinecraftForge.EVENT_BUS.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ChunkDataEvent.Load
ChunkDataEvent.Load is fired when vanilla Minecraft attempts to load Chunk data. 
 | 
static class  | 
ChunkDataEvent.Save
ChunkDataEvent.Save is fired when vanilla Minecraft attempts to save Chunk data. 
 | 
ChunkEvent.UnloadWorldEvent.CreateSpawnPosition, WorldEvent.PotentialSpawnsEvent.HasResult, Event.Result| Constructor and Description | 
|---|
ChunkDataEvent(Chunk chunk,
              NBTTagCompound data)  | 
| Modifier and Type | Method and Description | 
|---|---|
NBTTagCompound | 
getData()  | 
getChunkgetWorldgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic ChunkDataEvent(Chunk chunk, NBTTagCompound data)
public NBTTagCompound getData()