Package | Description |
---|---|
net.minecraftforge.common | |
net.minecraftforge.event | |
net.minecraftforge.event.terraingen | |
net.minecraftforge.event.world |
Class and Description |
---|
ChunkEvent.Unload
ChunkEvent.Unload is fired when vanilla Minecraft attempts to unload a Chunk from the world.
This event is fired during chunk unloading in Chunk.onChunkUnload(). |
WorldEvent.Load
WorldEvent.Load is fired when Minecraft loads a world.
This event is fired when a world is loaded in WorldClient.WorldClient(NetHandlerPlayClient, WorldSettings, int, EnumDifficulty, Profiler) ,
MinecraftServer.loadAllWorlds(String, String, long, WorldType, String) ,
IntegratedServer.loadAllWorlds(String, String, long, WorldType, String)
DimensionManager#initDimension(int) ,
and ForgeInternalHandler#onDimensionLoad(Load) . |
WorldEvent.Save
WorldEvent.Save is fired when Minecraft saves a world.
This event is fired when a world is saved in WorldServer.saveAllChunks(boolean, IProgressUpdate) ,
ForgeInternalHandler#onDimensionSave(Save) . |
WorldEvent.Unload
WorldEvent.Unload is fired when Minecraft unloads a world.
This event is fired when a world is unloaded in Minecraft.loadWorld(WorldClient, String) ,
MinecraftServer.stopServer() ,
DimensionManager#unloadWorlds(Hashtable) ,
ForgeInternalHandler#onDimensionUnload(Unload) . |
Class and Description |
---|
BlockEvent.EntityMultiPlaceEvent
Fired when a single block placement triggers the
creation of multiple blocks(e.g.
|
BlockEvent.EntityPlaceEvent
Called when a block is placed.
|
BlockEvent.MultiPlaceEvent
Fired when a single block placement action of a player triggers the
creation of multiple blocks(e.g.
|
BlockEvent.NeighborNotifyEvent
Fired when a physics update occurs on a block.
|
BlockEvent.PlaceEvent
Deprecated.
|
Class and Description |
---|
WorldEvent
WorldEvent is fired when an event involving the world occurs.
If a method utilizes this Event as its parameter, the method will
receive every child event of this class.WorldEvent.world contains the World this event is occurring in.All children of this event are fired on the MinecraftForge#EVENT_BUS . |
Class and Description |
---|
BlockEvent |
BlockEvent.CropGrowEvent
Fired when a crop block grows.
|
BlockEvent.EntityPlaceEvent
Called when a block is placed.
|
BlockEvent.PlaceEvent
Deprecated.
|
ChunkDataEvent
ChunkDataEvent is fired when an event involving chunk data occurs.
If a method utilizes this Event as its parameter, the method will
receive every child event of this class.ChunkDataEvent.data contains the NBTTagCompound containing the chunk data for this event.All children of this event are fired on the MinecraftForge.EVENT_BUS . |
ChunkEvent
ChunkEvent is fired when an event involving a chunk occurs.
If a method utilizes this Event as its parameter, the method will
receive every child event of this class.ChunkEvent.chunk contains the Chunk this event is affecting.All children of this event are fired on the MinecraftForge.EVENT_BUS . |
ChunkWatchEvent
ChunkWatchEvent is fired when an event involving a chunk being watched occurs.
If a method utilizes this Event as its parameter, the method will
receive every child event of this class.ChunkWatchEvent.chunk contains the ChunkPos of the Chunk this event is affecting.ChunkWatchEvent.player contains the EntityPlayer that is involved with this chunk being watched. |
ExplosionEvent
ExplosionEvent triggers when an explosion happens in the world.
ExplosionEvent.Start is fired before the explosion actually occurs. ExplosionEvent.Detonate is fired once the explosion has a list of affected blocks and entities. ExplosionEvent.Start is Cancelable .ExplosionEvent.Detonate can modify the affected blocks and entities. Children do not use HasResult .Children of this event are fired on the MinecraftForge.EVENT_BUS . |
NoteBlockEvent
Base class for Noteblock Events
|
NoteBlockEvent.Instrument
Describes the types of musical Instruments that can be played by a Noteblock.
|
NoteBlockEvent.Note
Information about the pitch of a Noteblock note.
|
NoteBlockEvent.Octave
Describes the Octave of a Note being played by a Noteblock.
|
WorldEvent
WorldEvent is fired when an event involving the world occurs.
If a method utilizes this Event as its parameter, the method will
receive every child event of this class.WorldEvent.world contains the World this event is occurring in.All children of this event are fired on the MinecraftForge#EVENT_BUS . |