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(). |
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.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() ,
ForgeInternalHandler#onDimensionUnload(Unload) . |
Class and Description |
---|
BlockEvent.EntityPlaceEvent
Called when a block is placed.
|
BlockEvent.FarmlandTrampleEvent
Fired when when farmland gets trampled
This event is
Cancelable |
BlockEvent.NeighborNotifyEvent
Fired when a physics update occurs on a block.
|
PistonEvent.Pre
Fires before the piston has updated block states.
|
Class and Description |
---|
ChunkDataEvent.Save
ChunkDataEvent.Save is fired when vanilla Minecraft attempts to save Chunk data.
This event is fired during chunk saving in AnvilChunkLoader#saveChunk(World, Chunk) . |
ChunkWatchEvent.UnWatch
ChunkWatchEvent.UnWatch is fired when an EntityPlayer stops watching a chunk.
This event is fired when a chunk is removed from the watched chunks of an EntityPlayer in ChunkManager.setChunkLoadedAtClient(net.minecraft.entity.player.ServerPlayerEntity, net.minecraft.util.math.ChunkPos, net.minecraft.network.IPacket<?>[], boolean, boolean) . |
ChunkWatchEvent.Watch
ChunkWatchEvent.Watch is fired when an EntityPlayer begins watching a chunk.
This event is fired when a chunk is added to the watched chunks of an EntityPlayer in ChunkManager.setChunkLoadedAtClient(net.minecraft.entity.player.ServerPlayerEntity, net.minecraft.util.math.ChunkPos, net.minecraft.network.IPacket<?>[], boolean, boolean) . |
Class and Description |
---|
BlockEvent.NeighborNotifyEvent
Fired when a physics update occurs on a block.
|
Class and Description |
---|
BlockEvent |
BlockEvent.CropGrowEvent
Fired when a crop block grows.
|
BlockEvent.EntityPlaceEvent
Called when a block is placed.
|
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.pos contains the ChunkPos of the Chunk this event is affecting.ChunkWatchEvent.world contains the World 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.Note
Information about the pitch of a Noteblock note.
|
NoteBlockEvent.Octave
Describes the Octave of a Note being played by a Noteblock.
|
PistonEvent
Base piston event, use
PistonEvent.Post and PistonEvent.Pre |
PistonEvent.PistonMoveType |
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 . |