Modifier and Type | Class and Description |
---|---|
class |
PlayBackgroundMusicEvent
Raised when the SoundManager tries to play a Background Music file,
If you return null from this function it will prevent the sound from being played,
you can return a different entry if you want to change the sound being played.
|
class |
PlaySoundEffectEvent |
class |
PlaySoundEffectSourceEvent |
class |
PlaySoundEvent
Raised when the SoundManager tries to play a normal sound,
dogs barking, footsteps, etc.
|
class |
PlaySoundSourceEvent |
class |
PlayStreamingEvent
Raised when the SoundManager tries to play a 'Streaming' file,
in vanilla it is only the Jukebox that uses this function.
|
class |
PlayStreamingSourceEvent |
class |
SoundEvent |
class |
SoundLoadEvent
Raised by the SoundManager.loadSoundSettings, this would be a good place for
adding your custom sounds to the SoundPool.
|
class |
SoundResultEvent |
class |
SoundSetupEvent
This event is raised by the SoundManager when it does its first setup of the
SoundSystemConfig's codecs, use this function to add your own codecs.
|
Modifier and Type | Class and Description |
---|---|
static class |
ForgeChunkManager.ForceChunkEvent |
static class |
ForgeChunkManager.UnforceChunkEvent |
Modifier and Type | Class and Description |
---|---|
class |
CommandEvent |
class |
ServerChatEvent |
Modifier and Type | Method and Description |
---|---|
void |
ASMEventHandler.invoke(Event event) |
void |
IEventListener.invoke(Event event) |
boolean |
EventBus.post(Event event) |
Modifier and Type | Class and Description |
---|---|
class |
PotionBrewedEvent |
Modifier and Type | Class and Description |
---|---|
class |
EntityEvent |
static class |
EntityEvent.CanUpdate |
static class |
EntityEvent.EnteringChunk |
static class |
EntityEvent.EntityConstructing |
class |
EntityJoinWorldEvent |
class |
PlaySoundAtEntityEvent |
Modifier and Type | Class and Description |
---|---|
class |
ItemEvent
Base class for all EntityItem events.
|
class |
ItemExpireEvent
Event that is fired when an EntityItem's age has reached its maximum
lifespan.
|
class |
ItemTossEvent
Event that is fired whenever a player tosses (Q) an item or drag-n-drops a
stack of items outside the inventory GUI screens.
|
Modifier and Type | Class and Description |
---|---|
class |
EnderTeleportEvent
Event for when an Enderman teleports or an ender pearl is used.
|
class |
LivingAttackEvent |
class |
LivingDeathEvent |
class |
LivingDropsEvent |
class |
LivingEvent |
static class |
LivingEvent.LivingJumpEvent |
static class |
LivingEvent.LivingUpdateEvent |
class |
LivingFallEvent |
class |
LivingHurtEvent |
class |
LivingPackSizeEvent |
class |
LivingSetAttackTargetEvent |
class |
LivingSpawnEvent |
static class |
LivingSpawnEvent.CheckSpawn
Fires before mob spawn events.
|
static class |
LivingSpawnEvent.SpecialSpawn |
Modifier and Type | Class and Description |
---|---|
class |
MinecartCollisionEvent |
class |
MinecartEvent |
class |
MinecartInteractEvent |
class |
MinecartUpdateEvent |
Modifier and Type | Class and Description |
---|---|
class |
ArrowLooseEvent |
class |
ArrowNockEvent |
class |
AttackEntityEvent |
class |
BonemealEvent |
class |
EntityInteractEvent |
class |
EntityItemPickupEvent |
class |
FillBucketEvent |
class |
PlayerDestroyItemEvent |
class |
PlayerDropsEvent
Child class of LivingDropEvent that is fired specifically when a
player dies.
|
class |
PlayerEvent |
static class |
PlayerEvent.BreakSpeed |
static class |
PlayerEvent.HarvestCheck |
class |
PlayerFlyableFallEvent
Occurs when a player falls, but is able to fly.
|
class |
PlayerInteractEvent |
class |
PlayerSleepInBedEvent |
class |
UseHoeEvent |
Modifier and Type | Class and Description |
---|---|
class |
BiomeEvent |
static class |
BiomeEvent.BiomeColor |
static class |
BiomeEvent.BlockReplacement |
static class |
BiomeEvent.CreateDecorator |
static class |
BiomeEvent.GetFoliageColor
This event is fired when a biome is queried for its grass color.
|
static class |
BiomeEvent.GetGrassColor
This event is fired when a biome is queried for its grass color.
|
static class |
BiomeEvent.GetVillageBlockID
This event is fired when the village generator attempts to choose a block ID
based on the village's biome.
|
static class |
BiomeEvent.GetVillageBlockMeta
This event is fired when the village generator attempts to choose a block
metadata based on the village's biome.
|
static class |
BiomeEvent.GetWaterColor
This event is fired when a biome is queried for its water color.
|
class |
ChunkProviderEvent |
static class |
ChunkProviderEvent.InitNoiseField
This event is fired before a chunks terrain noise field is initialized.
|
static class |
ChunkProviderEvent.ReplaceBiomeBlocks
This event is fired when a chunks blocks are replaced by a biomes top and
filler blocks.
|
class |
DecorateBiomeEvent |
static class |
DecorateBiomeEvent.Decorate
This event is fired when a chunk is decorated with a biome feature.
|
static class |
DecorateBiomeEvent.Post |
static class |
DecorateBiomeEvent.Pre |
class |
InitMapGenEvent |
class |
InitNoiseGensEvent |
class |
OreGenEvent |
static class |
OreGenEvent.GenerateMinable
This event is fired when an ore is generated in a chunk.
|
static class |
OreGenEvent.Post |
static class |
OreGenEvent.Pre |
class |
PopulateChunkEvent |
static class |
PopulateChunkEvent.Populate
This event is fired when a chunk is populated with a terrain feature.
|
static class |
PopulateChunkEvent.Post |
static class |
PopulateChunkEvent.Pre |
class |
SaplingGrowTreeEvent
This event is fired when a sapling grows a tree.
|
class |
WorldTypeEvent |
static class |
WorldTypeEvent.BiomeSize |
static class |
WorldTypeEvent.InitBiomeGens |
Modifier and Type | Class and Description |
---|---|
class |
ChunkDataEvent |
static class |
ChunkDataEvent.Load |
static class |
ChunkDataEvent.Save |
class |
ChunkEvent |
static class |
ChunkEvent.Load |
static class |
ChunkEvent.Unload |
class |
ChunkWatchEvent |
static class |
ChunkWatchEvent.UnWatch |
static class |
ChunkWatchEvent.Watch |
class |
WorldEvent |
static class |
WorldEvent.Load |
static class |
WorldEvent.PotentialSpawns
Called by WorldServer to gather a list of all possible entities that can spawn at the specified location.
|
static class |
WorldEvent.Save |
static class |
WorldEvent.Unload |
Modifier and Type | Class and Description |
---|---|
static class |
LiquidDictionary.LiquidRegisterEvent
Fired when a new liquid is created
|
class |
LiquidEvent |
static class |
LiquidEvent.LiquidDrainingEvent
Mods should fire this event when a liquid is
ILiquidTank.drain(int, boolean) from their tank. |
static class |
LiquidEvent.LiquidFillingEvent
Mods should fire this event when a liquid is
ILiquidTank.fill(LiquidStack, boolean) their tank implementation. |
static class |
LiquidEvent.LiquidMotionEvent
Mods should fire this event when they move liquids around (pipe networks etc)
|
static class |
LiquidEvent.LiquidSpilledEvent
Mods should fire this event when a liquid "spills", for example, if a block containing liquid is broken.
|
Modifier and Type | Class and Description |
---|---|
static class |
OreDictionary.OreRegisterEvent |