Modifier and Type | Class and Description |
---|---|
static class |
EntityViewRenderEvent.RenderFogEvent
Event that allows any feature to customize the rendering of fog.
|
Modifier and Type | Class and Description |
---|---|
class |
EntityMobGriefingEvent
EntityMobGriefingEvent is fired when mob griefing is about to occur and allows an event listener to specify whether it should or not.
This event is fired when ever the mobGriefing game rule is checked.This event has a result :
Event.Result.ALLOW means this instance of mob griefing is allowed.
Event.Result.DEFAULT means the mobGriefing game rule is used to determine the behaviour.
Event.Result.DENY means this instance of mob griefing is not allowed.This event is fired on the MinecraftForge.EVENT_BUS . |
Modifier and Type | Class and Description |
---|---|
class |
LivingPackSizeEvent |
static class |
LivingSpawnEvent.AllowDespawn
Fired each tick for despawnable mobs to allow control over despawning.
|
static class |
LivingSpawnEvent.CheckSpawn
Fires before mob spawn events.
|
static class |
PotionEvent.PotionApplicableEvent
This Event is fired to check if a Potion can get applied to an Entity.
|
static class |
ZombieEvent.SummonAidEvent
SummonAidEvent is fired when a Zombie Entity is summoned.
|
Modifier and Type | Class and Description |
---|---|
class |
BonemealEvent
This event is called when a player attempts to use Bonemeal on a block.
|
class |
CriticalHitEvent
This event is fired whenever a player attacks an Entity in
EntityPlayer#attackTargetEntityWithCurrentItem(Entity).
This event is not Cancelable .This event has a result. |
class |
EntityItemPickupEvent
This event is called when a player collides with a EntityItem on the ground.
|
class |
FillBucketEvent
This event is fired when a player attempts to use a Empty bucket, it
can be canceled to completely prevent any further processing.
|
class |
SleepingLocationCheckEvent
This event is fired when game checks, if sleeping player should be still considered "in bed".
Failing this check will cause player to wake up. This event has a result. |
class |
SleepingTimeCheckEvent
This event is fired when the game checks if players can sleep at this time.
Failing this check will cause sleeping players to wake up and prevent awake players from sleeping. This event has a result. |
class |
UseHoeEvent
This event is fired when a player attempts to use a Hoe on a block, it
can be canceled to completely prevent any further processing.
|
Modifier and Type | Class and Description |
---|---|
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 |
ChunkGeneratorEvent.InitNoiseField
This event is fired before a chunks terrain noise field is initialized.
|
static class |
ChunkGeneratorEvent.ReplaceBiomeBlocks
This event is fired when a chunks blocks are replaced by a biomes top and
filler blocks.
|
static class |
DecorateBiomeEvent.Decorate
This event is fired when a chunk is decorated with a biome feature.
|
static class |
OreGenEvent.GenerateMinable
GenerateMinable is fired when a mineable block is generated in a chunk.
This event is fired just after ore generation in BiomeDecorator.generateOres(World, Random) .OreGenEvent.GenerateMinable.type contains the enum value for the Ore attempting to be generated.OreGenEvent.GenerateMinable.generator contains the WorldGenerator generating this ore. |
static class |
PopulateChunkEvent.Populate
PopulateChunkEvent.Populate is fired when a chunk is populated with a terrain feature.
This event is fired during terrain feature generation in ChunkProviderEnd#populate(int, int) ,
ChunkProviderOverworld#populate(int, int) ,
and ChunkProviderHell#populate(int, int) . |
class |
SaplingGrowTreeEvent
SaplingGrowTreeEvent is fired when a sapling grows into a tree.
This event is fired during sapling growth in BlockSapling.generateTree(World, BlockPos, IBlockState, Random) .SaplingGrowTreeEvent.pos contains the coordinates of the growing sapling. |
Modifier and Type | Class and Description |
---|---|
static class |
BlockEvent.CreateFluidSourceEvent
Fired to check whether a non-source block can turn into a source block.
|
static class |
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 . |
Modifier and Type | Class and Description |
---|---|
class |
ConfigChangedEvent
These events are posted from the GuiConfig screen when the done button is pressed.
|