Class | Description |
---|---|
BlockEvent | |
BlockEvent.BreakEvent |
Event that is fired when an Block is about to be broken by a player
Canceling this event will prevent the Block from being broken.
|
BlockEvent.CreateFluidSourceEvent |
Fired to check whether a non-source block can turn into a source block.
|
BlockEvent.CropGrowEvent |
Fired when a crop block grows.
|
BlockEvent.CropGrowEvent.Post |
Fired when "growing age" blocks (for example cacti, chorus plants, or crops
in vanilla) have successfully grown.
|
BlockEvent.CropGrowEvent.Pre |
Fired when any "growing age" blocks (for example cacti, chorus plants, or crops
in vanilla) attempt to advance to the next growth age state during a random tick.
Result#DEFAULT will pass on to the vanilla growth mechanics.Result#ALLOW will force the plant to advance a growth stage.Result#DENY will prevent the plant from advancing a growth stage.This event is not Cancelable . |
BlockEvent.HarvestDropsEvent |
Fired when a block is about to drop it's harvested items.
|
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 |
Called when a block is placed by a player.
|
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 . |
ChunkDataEvent.Load |
ChunkDataEvent.Load is fired when vanilla Minecraft attempts to load Chunk data.
This event is fired during chunk loading in ChunkIOProvider.syncCallback() .This event is not Cancelable .This event does not have a result. |
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) . |
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 . |
ChunkEvent.Load |
ChunkEvent.Load is fired when vanilla Minecraft attempts to load a Chunk into the world.
This event is fired during chunk loading in ChunkProviderClient.loadChunk(int, int) , Chunk.onChunkLoad(). |
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(). |
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 ChunkCoordIntPair of the Chunk this event is affecting.ChunkWatchEvent.player contains the EntityPlayer that is involved with this chunk being watched. |
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 PlayerChunkMapEntry.removePlayer(EntityPlayerMP) . |
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 PlayerChunkMapEntry.addPlayer(EntityPlayerMP) and PlayerChunkMapEntry.sendToPlayers() . |
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 . |
ExplosionEvent.Detonate |
ExplosionEvent.Detonate is fired once the explosion has a list of affected blocks and entities.
|
ExplosionEvent.Start |
ExplosionEvent.Start is fired before the explosion actually occurs.
|
GetCollisionBoxesEvent |
This event is fired during
World.collidesWithAnyBlock(AxisAlignedBB)
and before returning the list in World.getCollisionBoxes(Entity, AxisAlignedBB) GetCollisionBoxesEvent.entity contains the entity passed in the World.getCollisionBoxes(Entity, AxisAlignedBB) . |
NoteBlockEvent |
Base class for Noteblock Events
|
NoteBlockEvent.Change |
Fired when a Noteblock is changed.
|
NoteBlockEvent.Play |
Fired when a Noteblock plays it's note.
|
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 . |
WorldEvent.CreateSpawnPosition |
Called by WorldServer when it attempts to create a spawnpoint for a dimension.
|
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.PotentialSpawns |
Called by WorldServer to gather a list of all possible entities that can spawn at the specified location.
|
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) . |
Enum | Description |
---|---|
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.
|