Event | Description | Fields | isCancelable | EventBus |
---|---|---|---|---|
InputEvent.MouseInputEvent | Fired at any mouse interaction, after the vanilla mechanic is done | - | false | FMLCommonHandler.bus() |
InputEvent.KeyInputEvent | Fired at any key interaction, after the vanilla mechanic is done | - | false | FMLCommonHandler.bus() |
PlayerEvent.ItemPickupEvent | Fired when any item is about to be picked up by a player | EntityPlayer player, ItemStack pickedUp |
false | FMLCommonHandler.bus() |
PlayerEvent.ItemCraftedEvent | Fired when a player is about to craft an item | EntityPlayer player, ItemStack crafting, IInventory craftMatrix |
false | FMLCommonHandler.bus() |
PlayerEvent.ItemSmeltedEvent | Fired when a player is about to smelt an item (With SlotFurnace) | EntityPlayer player, ItemStack smelting |
false | FMLCommonHandler.bus() |
PlayerEvent.PlayerLoggedInEvent | Fired when a new player is about to connect to the server | EntityPlayer player | false | FMLCommonHandler.bus() |
PlayerEvent.PlayerLoggedOutEvent | Fired when a player is about to disconnect from the server | EntityPlayer player | false | FMLCommonHandler.bus() |
PlayerEvent.PlayerRespawnEvent | Fired when a player died and is now to be re-spawned | EntityPlayer player | false | FMLCommonHandler.bus() |
PlayerEvent.PlayerChangedDimensionEvent | Fired when a player is about to change dimension (Nether to Overworld...) | EntityPlayer player, int fromDim, int toDim |
false | FMLCommonHandler.bus() |
FMLNetworkEvent.ClientConnectedToServerEvent | Fired at the client when it is about to connect to a server | INetHandler handler, NetworkManager manager, Class<INetHandler> type, boolean isLocal, String connectionType |
false | FMLCommonHandler.bus() |
FMLNetworkEvent.ServerConnectionFromClientEvent | Fired at the server when a client is about to connect | INetHandler handler, NetworkManager manager, Class<INetHandler> type, boolean isLocal |
false | FMLCommonHandler.bus() |
FMLNetworkEvent.ServerDisconnectionFromClientEvent | Fired at the server when a client is about to disconnect | INetHandler handler, NetworkManager manager, Class<INetHandler> type |
false | FMLCommonHandler.bus() |
FMLNetworkEvent.ClientDisconnectionFromServerEvent | Fired at the client when it is about to disconnect from a server | INetHandler handler, NetworkManager manager, Class<INetHandler> type |
false | FMLCommonHandler.bus() |
FMLNetworkEvent.CustomPacketRegistrationEvent | Fired when the REGISTER/UNREGISTER for custom channels is received | INetHandler handler, NetworkManager manager, Class<INetHandler> type, ImmutableSet<String> registrations, String operation, Side side |
false | FMLCommonHandler.bus() |
FMLNetworkEvent.ClientCustomPacketEvent | Fired when a custom packet is received on the client for the channel | FMLProxyPacket packet, FMLProxyPacket reply |
false | FMLCommonHandler.bus() |
FMLNetworkEvent.ServerCustomPacketEvent | Fired when a custom packet is received on the server for the channel | FMLProxyPacket packet, FMLProxyPacket reply |
false | FMLCommonHandler.bus() |
FMLNetworkEvent.CustomNetworkEvent | Fired when a custom event is fired for the channel | Object wrappedEvent | false | FMLCommonHandler.bus() |
ClientChatReceivedEvent | Fired when a chat message is about to be displayed on the client | IChatComponent message | true | MinecraftForge.EVENT_BUS |
DrawBlockHighlightEvent | Fired on the client when a block is about to be highlighted (mouse over) | RenderGlobal context, EntityPlayer player, MovingObjectPosition target, int subID, ItemStack currentItem, float partialTicks |
true | MinecraftForge.EVENT_BUS |
EntityViewRenderEvent.FogDensity | Event that allows any feature to customize the fog density the player sees. NOTE: In order to make this event have an effect, you must cancel the event | EntityRenderer renderer, EntityLivingBase entity, Block block, double renderPartialTicks, float density |
true | MinecraftForge.EVENT_BUS |
EntityViewRenderEvent.FogColors | Event that allows any feature to customize the color of fog the player sees | EntityRenderer renderer, EntityLivingBase entity, Block block, double renderPartialTicks, float red, float green, float blue |
false | MinecraftForge.EVENT_BUS |
FOVUpdateEvent | Fired to get the FOV multiplier | EntityPlayerSP entity, float fov, float newfov |
false | MinecraftForge.EVENT_BUS |
GuiOpenEvent | Fired when a GUI is about to be opened | GuiScreen gui | true | MinecraftForge.EVENT_BUS |
GuiScreenEvent.InitGuiEvent.Pre | See Forge documentation, fired just after initialization | GuiScreen gui, List buttonList |
true | MinecraftForge.EVENT_BUS |
GuiScreenEvent.InitGuiEvent.Post | See Forge documentation, fired after initGui() | GuiScreen gui, List buttonList |
false | MinecraftForge.EVENT_BUS |
GuiScreenEvent.DrawScreenEvent.Pre | Fired before drawScreen() is called | GuiScreen gui, int mouseX, int mouseY, float renderPartialTicks |
true | MinecraftForge.EVENT_BUS |
GuiScreenEvent.DrawScreenEvent.Post | Fired after drawScreen() is called | GuiScreen gui, int mouseX, int mouseY, float renderPartialTicks |
false | MinecraftForge.EVENT_BUS |
GuiScreenEvent.ActionPerformedEvent.Pre | Fired before a GuiButton is about to be pressed | GuiScreen gui, GuiButton button, List buttonList |
true | MinecraftForge.EVENT_BUS |
GuiScreenEvent.ActionPerformedEvent.Post | Fired after a GuiButton was pressed | GuiScreen gui, GuiButton button, List buttonList |
false | MinecraftForge.EVENT_BUS |
MouseEvent | Fired on any mouse action | int x, y, dx, dy, dwheel, button, boolean buttonstate, long nanoseconds |
true | MinecraftForge.EVENT_BUS |
RenderGameOverlayEvent.Pre | Fired when GuiIngame is about to be drawn | float partialTicks, ScaledResolution resolution, int mouseX, mouseY, ElementType type |
true | MinecraftForge.EVENT_BUS |
RenderGameOverlayEvent.Post | Fired after GuiIngame was drawn | float partialTicks, ScaledResolution resolution, int mouseX, mouseY, ElementType type |
false | MinecraftForge.EVENT_BUS |
RenderGameOverlayEvent.Text | Fired when text is about to be drawn in GuiIngame | float partialTicks, ScaledResolution resolution, int mouseX, mouseY, ElementType type, ArrayList<String> left, right |
true | MinecraftForge.EVENT_BUS |
RenderGameOverlayEvent.Chat | Fired when the chat is about to be drawn in GuiIngame | float partialTicks, ScaledResolution resolution, int mouseX, mouseY, ElementType type |
true | MinecraftForge.EVENT_BUS |
RenderHandEvent | Fired when the hand of the player is about to be drawn | RenderGlobal context, float partialTicks, int renderPass |
true | MinecraftForge.EVENT_BUS |
RenderLivingEvent.Pre, RenderLivingEvent.Specials.Pre |
Fired when an EntityLiving is about to be drawn, Special when it has a costum renderer | EntityLivingBase entity, RendererLivingEntity renderer, double x, y, z |
true | MinecraftForge.EVENT_BUS |
RenderLivingEvent.Post, RenderLivingEvent.Specials.Post |
Fired when an EntityLiving was drawn, Special when it has a costum renderer | EntityLivingBase entity, RendererLivingEntity renderer, double x, y, z |
false | MinecraftForge.EVENT_BUS |
RenderWorldEvent.Pre | Fired when a 16x16x16 chunk is about to be draw, before the tessellator is started | WorldRenderer renderer, ChunkCache chunkCache, RenderBlocks renderBlocks, int pass |
false | MinecraftForge.EVENT_BUS |
RenderWorldEvent.Post | Fired after a 16x16x16 chunk was drawn, after the tessellator has stopped | WorldRenderer renderer, ChunkCache chunkCache, RenderBlocks renderBlocks, int pass |
false | MinecraftForge.EVENT_BUS |
RenderWorldLastEvent | Fired last before the world finished drawing | RenderGlobal context, float partialTicks |
false | MinecraftForge.EVENT_BUS |
TextureStitchEvent.Pre | See Forge documentation, fired when the TextureMap was told to refresh | TextureMap map | false | MinecraftForge.EVENT_BUS |
TextureStitchEvent.Post | See Forge documentation, fired when the TextureMap refresh was completed | TextureMap map | false | MinecraftForge.EVENT_BUS |
SoundLoadEvent | Fired by the SoundManager.loadSoundSettings | SoundManager manager | false | MinecraftForge.EVENT_BUS |
SoundSetupEvent | Fired by the SoundManager when it does its first setup of the SoundSystemConfig's codecs | SoundManager manager | false | MinecraftForge.EVENT_BUS |
PlaySoundEvent17 (about to be replaced in 1.8) |
Fired when the SoundManager tries to play a normal sound | SoundManager manager, String name, ISound sound, SoundCategory category, ISound result |
false | MinecraftForge.EVENT_BUS |
PlaySoundSourceEvent | Fired by the SoundManager in playSound() | SoundManager manager, String name, ISound sound, String uuid, float x, y, z |
false | MinecraftForge.EVENT_BUS |
PlayStreamingSourceEvent | Fired by the SoundManager in playSound(), conditional exclusion with PlaySoundSourceEvent | SoundManager manager, String name, ISound sound, String uuid, float x, y, z |
false | MinecraftForge.EVENT_BUS |
ForceChunkEvent | Fired when a chunk is about to be forced = kept loaded when there is no player around | Ticket ticket, ChunkCoordIntPair location |
false | MinecraftForge.EVENT_BUS |
UnforceChunkEvent | Fired when a chunk is about to be unforced | Ticket ticket, ChunkCoordIntPair location |
false | MinecraftForge.EVENT_BUS |
TickEvent.ServerTickEvent | Tick on server | Type type, Side side, Phase phase |
false | FMLCommonHandler.bus() |
TickEvent.ClientTickEvent | Tick on client | Type type, Side side, Phase phase |
false | FMLCommonHandler.bus() |
TickEvent.WorldTickEvent | World tick | Type type, Side side, Phase phase, World world |
false | FMLCommonHandler.bus() |
TickEvent.PlayerTickEvent | Player tick | Type type, Side side, Phase phase, EntityPlayer player |
false | FMLCommonHandler.bus() |
TickEvent.RenderTickEvent | Render tick | Type type, Side side, Phase phase, float renderTickTime |
false | FMLCommonHandler.bus() |
AnvilUpdateEvent | Fired when a player places items in both the left and right slots of a anvil | ItemStack left, right, output, String name, int cost |
true | MinecraftForge.EVENT_BUS |
CommandEvent | Fired when a command is about to be handled by the server | ICommand command, ICommandSender sender, String[] parameters, Throwable exception |
true | MinecraftForge.EVENT_BUS |
ServerChatEvent | Fired when a chat message is about to be handled by the server | String message, username, EntityPlayerMP player, ChatComponentTranslation component |
true | MinecraftForge.EVENT_BUS |
PotionBrewedEvent | Fired when the contents of a brewing stand are about to be changed | ItemStack[] brewingStacks | false | MinecraftForge.EVENT_BUS |
EntityEvent.EntityConstructing | Fired by the Entity constructor | Entity entity | false | MinecraftForge.EVENT_BUS |
EntityEvent.CanUpdate | Fired to check if an Entity can update | Entity entity, boolean canUpdate |
false | MinecraftForge.EVENT_BUS |
EntityEvent.EnteringChunk | Fired when an Entity enters a chunk | int newChunkX, newChunkY, oldChunkX, oldChunkY | false | MinecraftForge.EVENT_BUS |
LivingEvent.LivingUpdateEvent (extends EntityEvent) |
Fired when an EntityLiving is about to update | Entity entity, EntityLivingBase entityLiving |
true | MinecraftForge.EVENT_BUS |
LivingEvent.LivingJumpEvent (extends EntityEvent) |
Fired when an EntityLiving is about to jump | Entity entity, EntityLivingBase entityLiving |
false | MinecraftForge.EVENT_BUS |
EntityJoinWorldEvent (extends EntityEvent) |
Fired when an Entity is placed in the world | Entity entity, World world |
true | MinecraftForge.EVENT_BUS |
EntityStruckByLightningEvent (extends EntityEvent) |
Fired when an Entity is struck by lightning | Entity entity, EntityLightningBolt lightning |
true | MinecraftForge.EVENT_BUS |
PlaySoundAtEntityEvent (extends EntityEvent) |
Fired when a sound is about to be played at an Entity | Entity entity, String name, float volume, pitch |
true | MinecraftForge.EVENT_BUS |
ItemExpireEvent (extends ItemEvent, EntityEvent |
Fired when an EntityItem's age has reached its maximum lifespan | Entity entity, EntityItem entityItem, int extraLife |
true | MinecraftForge.EVENT_BUS |
ItemTossEvent (extends ItemEvent, EntityEvent |
Fired henever a player tosses (Q) an item or drag-n-drops a stack of items outside the inventory GUI screens | Entity entity, EntityItem entityItem, EntityPlayer player |
true | MinecraftForge.EVENT_BUS |
EnderTeleportEvent (extends LivingEvent, EntityEvent) |
Fired when an Enderman teleports or an ender pearl is used | Entity entity, EntityLivingBase entityLiving, double targetX, targetY, targetZ, float attackDamage |
true | MinecraftForge.EVENT_BUS |
LivingAttackEvent (extends LivingEvent, EntityEvent) |
Fired when an Entity Living is about to attack | Entity entity, EntityLivingBase entityLiving, DamageSource source, float ammount |
true | MinecraftForge.EVENT_BUS |
LivingDeathEvent (extends LivingEvent, EntityEvent) |
Fired when an EntityLiving is about to be marked as "dead" | Entity entity, EntityLivingBase entityLiving, DamageSource source |
true | MinecraftForge.EVENT_BUS |
LivingDropsEvent (extends LivingEvent, EntityEvent) |
Fired when an EntityLiving is about to drop its drops | Entity entity, EntityLivingBase entityLiving, DamageSource source, ArrayList<EntityItem> drops, int lootingLevel, boolean recentlyHit, int specialDropValue |
true | MinecraftForge.EVENT_BUS |
LivingFallEvent (extends LivingEvent, EntityEvent) |
Fired when an EntityLiving fell a certain distance | Entity entity, EntityLivingBase entityLiving, float distance |
true | MinecraftForge.EVENT_BUS |
LivingHurtEvent (extends LivingEvent, EntityEvent) |
Fired when an EntityLiving is about to be damaged by any damage source | Entity entity, EntityLivingBase entityLiving, DamageSource source, float ammount |
true | MinecraftForge.EVENT_BUS |
LivingPackSizeEvent (extends LivingEvent, EntityEvent) |
Fired when the spawning system determines the maximum amount of the selected entity that can spawn at the same time. | Entity entity, EntityLivingBase entityLiving, int maxPackSize |
false, has result | MinecraftForge.EVENT_BUS |
LivingSetAttackTargetEvent (extends LivingEvent, EntityEvent) |
Fired when an EntityLiving is about to target another EntityLiving | Entity entity, EntityLivingBase entityLiving, target |
false | MinecraftForge.EVENT_BUS |
LivingSpawnEvent.CheckSpawn (extends LivingEvent, EntityEvent) |
Fired before mob spawn events | Entity entity, EntityLivingBase entityLiving, World world, float x, y, z |
false, has result | MinecraftForge.EVENT_BUS |
LivingSpawnEvent.SpecialSpawn (extends LivingEvent, EntityEvent) |
Fired before special spawn | Entity entity, EntityLivingBase entityLiving, World world, float x, y, z |
true | MinecraftForge.EVENT_BUS |
LivingSpawnEvent.AllowDespawn (extends LivingEvent, EntityEvent) |
Fired to check if an EntityLiving is allowed to be marked to despawn | Entity entity, EntityLivingBase entityLiving, World world, float x, y, z |
false, has result | MinecraftForge.EVENT_BUS |
ZombieEvent.SummonAidEvent (extends EntiyEvent) |
Fired when an Entity is about to be replaced by a zombie (?) | Entity entity, EntityZombie customSummonedAid, World world, float x, y, z, EntityLivingBase attacker, double summonChance |
false, has result | MinecraftForge.EVENT_BUS |
MinecartCollisionEvent (extends MinecartEvent) |
Fired when a minecart is about to collide with any Entity | EntiyMinecart minecart, Entity collider |
false | MinecraftForge.EVENT_BUS |
MinecartInteractEvent (extends MinecartEvent) |
Fired when a player is about to interact with a minecart | EntiyMinecart minecart, EntityPlayer player |
true | MinecraftForge.EVENT_BUS |
MinecartUpdateEvent (extends MinecartEvent) | Fired when a minecart is about to change its position | EntiyMinecart minecart, float x, y, z |
false | MinecraftForge.EVENT_BUS |
PlayerEvent.HarvestCheck (extends LivingEvent, EntityEvent) |
Fired when a player is about to harvest a block | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, Block block, boolean success |
false | MinecraftForge.EVENT_BUS |
PlayerEvent.BreakSpeed (extends LivingEvent, EntityEvent) |
Fired to determinate the players break speed | Entity entity,
EntityLivingBase entityLiving, EntityPlayer entityPlayer, Block block, int metadata, float originalSpeed, newSpeed, int x, y, z |
true | MinecraftForge.EVENT_BUS |
PlayerEvent.NameFormat (extends LivingEvent, EntityEvent) |
Fired to determinate a players display name | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, String username, String displayname |
false | MinecraftForge.EVENT_BUS |
PlayerEvent.Clone (extends LivingEvent, EntityEvent) |
Fired when the EntityPlayer is cloned, typically caused by the network sending a RESPAWN_PLAYER event. Either caused by death, or by traveling from the End to the overworld. | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, original, boolean wasDeath |
false | MinecraftForge.EVENT_BUS |
PlayerEvent.StartTracking (extends LivingEvent, EntityEvent) |
Fired when an Entity is started to be "tracked" by this player (the player receives updates about this entity, e.g. motion) | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, Entity target |
false | MinecraftForge.EVENT_BUS |
PlayerEvent.StopTracking (extends LivingEvent, EntityEvent) |
Fired when an Entity is stopped to be "tracked" by this player (the player no longer receives updates about this entity, e.g. motion) | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, Entity target |
false | MinecraftForge.EVENT_BUS |
PlayerEvent.LoadFromFile (extends LivingEvent, EntityEvent) |
Fired when the player is being loaded from the world save | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, File playerDirectory, String playerUUID |
false | MinecraftForge.EVENT_BUS |
PlayerEvent.SaveToFile (extends LivingEvent, EntityEvent) |
Fired when the player is being saved to the world save | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, File playerDirectory, String playerUUID |
false | MinecraftForge.EVENT_BUS |
ArrowLooseEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when the player looses an arrow because that arrow was used | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, ItemStack bow, int charge |
true | MinecraftForge.EVENT_BUS |
ArrowNockEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when the player is about to shoot | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, ItemStack result |
true | MinecraftForge.EVENT_BUS |
AttackEntityEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when the player is about to attack an Entity | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, Entity target |
true | MinecraftForge.EVENT_BUS |
BonemealEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when the player attempts to use bonemeal on a block | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, World world, Block block, int x, y, z |
true, has result | MinecraftForge.EVENT_BUS |
EntityInteractEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when the player interacts with any Entity | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, Entity target |
true | MinecraftForge.EVENT_BUS |
EntityItemPickupEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when the player is about to collide with an EntityItem | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, EntityItem item |
true, has result | MinecraftForge.EVENT_BUS |
FillBucketEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when the player is about to use an empty bucket | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, ItemStack current, result, World world, MovingObjectPosition target |
true, has result | MinecraftForge.EVENT_BUS |
ItemTooltipEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired to check whether the advanced information on item tooltips is being shown, toggled by F3+H | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, boolean showAdvancedItemTooltips, ItemStack itemStack, List<String> toolTip |
false | MinecraftForge.EVENT_BUS |
PlayerDestroyItemEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when an item is about to be broken by the player, e.g a sword | Entity entity, EntityLivingBase entityLiving, EntityPlayer entityPlayer, ItemStack original |
false | MinecraftForge.EVENT_BUS |
PlayerDropsEvent (extends LivingDropsEvent) |
See LivingDropsEvent, same but for the player | See LivingDropsEvent, EntityPlayer entityPlayer |
true | MinecraftForge.EVENT_BUS |
PlayerFlyableFallEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when a player falls, but is able to fly | EntityLivingBase entityLiving, EntityPlayer entityPlayer, float distance |
false | MinecraftForge.EVENT_BUS |
PlayerInteractEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when the player is about to interact with a block | EntityLivingBase entityLiving, EntityPlayer entityPlayer, Action action, int x, y, z, face, World world, Result useBlock, useItem |
true | MinecraftForge.EVENT_BUS |
PlayerOpenContainerEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when the player is about to interact with a container, e.g a chest | EntityLivingBase entityLiving, EntityPlayer entityPlayer, boolean canIteractWith |
false, has result | MinecraftForge.EVENT_BUS |
PlayerPickupXpEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when a player collides with an EntityXPOrb on the ground | EntityLivingBase entityLiving, EntityPlayer entityPlayer, EntityXPOrb orb |
true | MinecraftForge.EVENT_BUS |
PlayerSleepInBedEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when a player attempts to sleep in a bed | EntityLivingBase entityLiving, EntityPlayer entityPlayer, EnumStatus result, int x, y, z |
false | MinecraftForge.EVENT_BUS |
PlayerUseItemEvent.Start (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when a player starts 'using' an item, typically when they hold right mouse. | EntityLivingBase entityLiving, EntityPlayer entityPlayer, ItemStack item, int duration |
true | MinecraftForge.EVENT_BUS |
PlayerUseItemEvent.Tick (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired every tick that a player is 'using' an item | EntityLivingBase entityLiving, EntityPlayer entityPlayer, ItemStack item, int duration |
true | MinecraftForge.EVENT_BUS |
PlayerUseItemEvent.Stop (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when a player stops using an item without the use duration timing out | EntityLivingBase entityLiving, EntityPlayer entityPlayer, ItemStack item, int duration |
true | MinecraftForge.EVENT_BUS |
PlayerUseItemEvent.Dinish (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired after an item has fully finished being used. | EntityLivingBase entityLiving, EntityPlayer entityPlayer, ItemStack item, result int duration |
false | MinecraftForge.EVENT_BUS |
UseHoeEvent (extends PlayerEvent, LivingEvent, EntityEvent) |
Fired when a player attempts to use a hoe on a block | EntityLivingBase entityLiving, EntityPlayer entityPlayer, ItemStack current, World world, int x, y, z |
true, has result | MinecraftForge.EVENT_BUS |
BiomeEvent.CreateDecorator | Fired when a biome is about to be decorated (trees, flowers, etc) | BiomeGenBase biome, BiomeDecorator originalBiomeDecorator, newBiomeDecorator |
false | MinecraftForge.TERRAIN_GEN_BUS |
BiomeEvent.BiomeColor | Fired to check the color of a biome | BiomeGenBase biome, int originalColor, newColor |
false | MinecraftForge.TERRAIN_GEN_BUS |
BiomeEvent.GetVillageBlockID | Fired when the village generator attempts to choose a block ID based on the village's biome | BiomeGenBase biome, Block original, replacement, int type |
false, has result | MinecraftForge.TERRAIN_GEN_BUS |
BiomeEvent.GetVillageBlockMeta | Fired when the village generator attempts to choose a block metadata based on the village's biome. | BiomeGenBase biome, Block original, int type, replacement |
false, has result | MinecraftForge.TERRAIN_GEN_BUS |
BiomeEvent.GetGrassColor (extends BiomeColor) |
Fired when a biome is queried for its grass color | BiomeGenBase biome, int originalColor, newColor |
false | MinecraftForge.TERRAIN_GEN_BUS |
BiomeEvent.GetFoliageColor (extends BiomeColor) |
Fired when a biome is queried for its grass color (?) | BiomeGenBase biome, int originalColor, newColor |
false | MinecraftForge.TERRAIN_GEN_BUS |
BiomeEvent.GetWaterColor (extends BiomeColor) |
Fired when a biome is queried for its water color | BiomeGenBase biome, int originalColor, newColor |
false | MinecraftForge.TERRAIN_GEN_BUS |
ChunkProviderEvent.ReplaceBiomeBlocks | Fired when a chunks blocks are replaced by a biomes top and filler blocks | IChunkProvider chunkProvider, int chunkX, chunkZ, Block[] blockArray, byte[] metaArray, BiomeGenBase[] biomeArray |
false, has result | MinecraftForge.EVENT_BUS |
ChunkProviderEvent.InitNoiseField | Fired before a chunks terrain noise field is initialized | IChunkProvider chunkProvider, double[] noisefield, int posX, posY, posZ, sizeX, sizeY, sizeZ |
false, has result | MinecraftForge.TERRAIN_GEN_BUS |
DecorateBiomeEvent.Pre | Fired before a chunk is decorated with a biome feature | World world, Random rand, int chunkX, chunkZ |
false | MinecraftForge.EVENT_BUS |
DecorateBiomeEvent.Post | Fired after a chunk was decorated with a biome feature | World world, Random rand, int chunkX, chunkZ |
false | MinecraftForge.EVENT_BUS |
DecorateBiomeEvent.Decorate | Fired when a chunk is decorated with a biome feature | World world, Random rand, int chunkX, chunkZ, EventType type |
false, has result | MinecraftForge.TERRAIN_GEN_BUS |
InitMapGenEvent | Fired when initializing the world generator | EventType type, MapGenBase originalGen, newGen |
false | MinecraftForge.TERRAIN_GEN_BUS |
InitNoiseGensEvent | Fired when initializing the noise generators | Random rand, NoiseGenerator[] originalNoiseGens, newNoiseGens |
false | MinecraftForge.TERRAIN_GEN_BUS |
OreGenEvent.Pre | Fired before an ore is generated in a chunk | World world, Random rand, int worldX, worldZ |
false | MinecraftForge.ORE_GEN_BUS |
OreGenEvent.Post | Fired after an ore was generated in a chunk | World world, Random rand, int worldX, worldZ |
false | MinecraftForge.ORE_GEN_BUS |
OreGenEvent.GenerateMinable | Fired when an ore is generated in a chunk | World world, Random rand, int worldX, worldZ, EventType type, WorldGenerator generator |
false, has result | MinecraftForge.ORE_GEN_BUS |
PopulateChunkEvent.Pre (extends ChunkProviderEvent) |
Fired before a chunk is populated with a terrain feature | IChunkProvider chunkProvider, World world, Random rand, int chunkX, chunkZ, boolean hasVillageGenerated |
false | MinecraftForge.EVENT_BUS |
PopulateChunkEvent.Post (extends ChunkProviderEvent) |
Fired after chunk was populated with a terrain feature | IChunkProvider chunkProvider, World world, Random rand, int chunkX, chunkZ, boolean hasVillageGenerated |
false | MinecraftForge.EVENT_BUS |
PopulateChunkEvent.Populate (extends ChunkProviderEvent) |
Fired when a chunk is populated with a terrain feature | IChunkProvider chunkProvider, World world, Random rand, int chunkX, chunkZ, boolean hasVillageGenerated, EventType type |
false, has result | MinecraftForge.TERRAIN_GEN_BUS |
SaplingGrowTreeEvent (extends WorldEvent) |
Fired when a sapling grows a tree | World world, int x, y, z, Random random |
false, has result | MinecraftForge.TERRAIN_GEN_BUS |
WorldTypeEvent.BiomeSize | Fired to check the size of a biome | WorldType worldType, byte originalSize, byte newSize |
false | MinecraftForge.TERRAIN_GEN_BUS |
WorldTypeEvent.InitBiomeGens | Fired to check the biome generators | WorldType worldType, long seed, GenLayer[] originalBiomeGens, newBiomeGens |
false | MinecraftForge.TERRAIN_GEN_BUS |
BlockEvent.HarvestDropsEvent | Fired when a block its about to drop its harvested items | int x, y, z, World world, Block block, int blockMetadata, int fortuneLevel, ArrayList<ItemStack> drops, boolean isSilkTouching, float dropChance, EntityPlayer harvester |
false | MinecraftForge.EVENT_BUS |
BlockEvent.BreakEvent | Fired when a block is about to be broken by a player | int x, y, z, World world, Block block, int blockMetadata, EntityPlayer player, int exp |
true | MinecraftForge.EVENT_BUS |
ChunkDataEvent.Load (extends ChunkEvent, WorldEvent) |
Fired when a chunk is about to be loaded from the NBTTag | World world, Chunk chunk, NBTTagCompound data |
false | MinecraftForge.EVENT_BUS |
ChunkDataEvent.Unload (extends ChunkEvent, WorldEvent) |
Fired when a chunk is about to be unloaded and saved to the NBTTag | World world, Chunk chunk, NBTTagCompound data |
false | MinecraftForge.EVENT_BUS |
ChunkEvent.Load (extends WorldEvent) |
Fired when a chunk is about to be loaded | World world, Chunk chunk |
false | MinecraftForge.EVENT_BUS |
ChunkEvent.Unload (extends WorldEvent) |
Fired when a chunk is about to be unloaded | World world, Chunk chunk |
false | MinecraftForge.EVENT_BUS |
ChunkWatchEvent.Watch | Fired when a player stairs at a chunk | ChunkCoordIntPair chunk, EntityPlayerMP player |
false | MinecraftForge.EVENT_BUS |
ChunkWatchEvent.UnWatch | Fired when a player stops stairing at a chunk | ChunkCoordIntPair chunk, EntityPlayerMP player |
false | MinecraftForge.EVENT_BUS |
NoteBlockEvent.Play (extends BlockEvent) |
Fired when a Noteblock plays its note | int x, y, z, World world, Block block, int blockMetadata, int noteId, Instrument instrument |
true | MinecraftForge.EVENT_BUS |
NoteBlockEvent.Change (extends BlockEvent) |
Fired when a Noteblock is changed, e.g the pitch altered | int x, y, z, World world, Block block, int noteId int blockMetadata, Note oldNote, Octave oldOctave |
true | MinecraftForge.EVENT_BUS |
WorldEvent.Load | Fired when a world is about to be loaded | World world | false | MinecraftForge.EVENT_BUS |
WorldEvent.Unload | Fired when a world is about to be unloaded | World world | false | MinecraftForge.EVENT_BUS |
WorldEvent.Save | Fired when a world is about to be saved | World world | false | MinecraftForge.EVENT_BUS |
WorldEvent.PotentialSpawns | Fired by WorldServer to gather a list of all possible entities that can spawn at the specified location | World world, EnumCreatureType type, int x, y, z, List<SpawnListEntry> list |
true | MinecraftForge.EVENT_BUS |
FluidEvent.FluidMotionEvent | Fired when a fluid moved | FluidStack fluid, int x, y, z, World world |
false | MinecraftForge.EVENT_BUS |
FluidEvent.FluidFillingEvent | Fired when a fluid is about to be filled into an IFuildTank | FluidStack fluid, int x, y, z, World world, IFluidTank tank, int amount |
false | MinecraftForge.EVENT_BUS |
FluidEvent.FluidDrainingEvent | Fired when a fluid is about to be drained from an IFuildTank | FluidStack fluid, int x, y, z, World world, IFluidTank tank, int amount |
false | MinecraftForge.EVENT_BUS |
FluidEvent.FluidSpilledEvent | Fired when a fluid is about to "spill", e.g when a block containing a fluid is broken | FluidStack fluid, int x, y, z, World world |
false | MinecraftForge.EVENT_BUS |
FluidContainerRegisterEvent | Fired when a fluid container was registered using the FluidContainerRegistry | FluidContainerData data | false | MinecraftForge.EVENT_BUS |
FluidRegisterEvent | Fired when a fluid was registered using the FluidRegistry | String fluidName, int fluidID |
false | MinecraftForge.EVENT_BUS |
OreRegisterEvent | Fired when a ore was registered using the OreRegistry | String Name, ItemStack ore |
false | MinecraftForge.EVENT_BUS |
RenderItemInFrameEvent | Fired when an item is rendered in an item frame | ItemStack item, EntityItemFrame itemFrame, RenderItemFrame renderer |
true | MinecraftForge.EVENT_BUS |
ConfigChangedEvent.OnConfigChangedEvent | Fired when the Done button has been clicked on a GuiConfig screen | String modID, boolean isWorldRunning, boolean requiresMcRestart, String configID |
false, has result | MinecraftForge.EVENT_BUS |
ConfigChangedEvent.PostConfigChangedEvent | Fired after OnConfigChangedEvent if the result was not Result.DENY | String modID, boolean isWorldRunning, boolean requiresMcRestart, String configID |
false, has result | MinecraftForge.EVENT_BUS |