Class | Description |
---|---|
AreaEffectCloudApplyEvent |
Called when a lingering potion applies it's effects.
|
BatToggleSleepEvent |
Called when a bat attempts to sleep or wake up from its slumber.
|
CreatureSpawnEvent |
Called when a creature is spawned into a world.
|
CreeperPowerEvent |
Called when a Creeper is struck by lightning.
|
EnderDragonChangePhaseEvent |
Called when an EnderDragon switches controller phase.
|
EntityAirChangeEvent |
Called when the amount of air an entity has remaining changes.
|
EntityBreakDoorEvent |
Called when an
Entity breaks a door |
EntityBreedEvent |
Called when one Entity breeds with another Entity.
|
EntityChangeBlockEvent |
Called when any Entity, excluding players, changes a block.
|
EntityCombustByBlockEvent |
Called when a block causes an entity to combust.
|
EntityCombustByEntityEvent |
Called when an entity causes another entity to combust.
|
EntityCombustEvent |
Called when an entity combusts.
|
EntityCreatePortalEvent |
Thrown when a Living Entity creates a portal in a world.
|
EntityDamageByBlockEvent |
Called when an entity is damaged by a block
|
EntityDamageByEntityEvent |
Called when an entity is damaged by an entity
|
EntityDamageEvent |
Stores data for damage events
|
EntityDeathEvent |
Thrown whenever a LivingEntity dies
|
EntityDropItemEvent |
Thrown when an entity creates an item drop.
|
EntityEvent |
Represents an Entity-related event
|
EntityExplodeEvent |
Called when an entity explodes
|
EntityInteractEvent |
Called when an entity interacts with an object
|
EntityPickupItemEvent |
Thrown when a entity picks an item up from the ground
|
EntityPlaceEvent | Deprecated.
draft API
|
EntityPortalEnterEvent |
Called when an entity comes into contact with a portal
|
EntityPortalEvent |
Called when a non-player entity is about to teleport because it is in
contact with a portal.
|
EntityPortalExitEvent |
Called before an entity exits a portal.
|
EntityPoseChangeEvent |
Called when an entity changes its pose.
|
EntityPotionEffectEvent |
Called when a potion effect is modified on an entity.
|
EntityRegainHealthEvent |
Stores data for health-regain events
|
EntityResurrectEvent |
Called when an entity dies and may have the opportunity to be resurrected.
|
EntityShootBowEvent |
Called when a LivingEntity shoots a bow firing an arrow
|
EntitySpawnEvent |
Called when an entity is spawned into a world.
|
EntityTameEvent |
Thrown when a LivingEntity is tamed
|
EntityTargetEvent |
Called when a creature targets or untargets another entity
|
EntityTargetLivingEntityEvent |
Called when an Entity targets a
LivingEntity and can only target
LivingEntity's. |
EntityTeleportEvent |
Thrown when a non-player entity is teleported from one location to another.
|
EntityToggleGlideEvent |
Sent when an entity's gliding status is toggled with an Elytra.
|
EntityToggleSwimEvent |
Sent when an entity's swimming status is toggled.
|
EntityTransformEvent |
Called when an entity is about to be replaced by another entity.
|
EntityUnleashEvent |
Called immediately prior to an entity being unleashed.
|
ExpBottleEvent |
Called when a ThrownExpBottle hits and releases experience.
|
ExplosionPrimeEvent |
Called when an entity has made a decision to explode.
|
FireworkExplodeEvent |
Called when a firework explodes.
|
FoodLevelChangeEvent |
Called when a human entity's food level changes
|
HorseJumpEvent |
Called when a horse jumps.
|
ItemDespawnEvent |
This event is called when a
Item is removed from
the world because it has existed for 5 minutes. |
ItemMergeEvent | |
ItemSpawnEvent |
Called when an item is spawned into a world
|
LingeringPotionSplashEvent |
Called when a splash potion hits an area
|
PigZapEvent |
Stores data for pigs being zapped
|
PigZombieAngerEvent |
Called when a Pig Zombie is angered by another entity.
|
PlayerDeathEvent |
Thrown whenever a
Player dies |
PlayerLeashEntityEvent |
Called immediately prior to a creature being leashed by a player.
|
PotionSplashEvent |
Called when a splash potion hits an area
|
ProjectileHitEvent |
Called when a projectile hits an object
|
ProjectileLaunchEvent |
Called when a projectile is launched.
|
SheepDyeWoolEvent |
Called when a sheep's wool is dyed
|
SheepRegrowWoolEvent |
Called when a sheep regrows its wool
|
SlimeSplitEvent |
Called when a Slime splits into smaller Slimes upon death
|
SpawnerSpawnEvent |
Called when an entity is spawned into a world by a spawner.
|
VillagerAcquireTradeEvent |
Called whenever a villager acquires a new trade.
|
VillagerReplenishTradeEvent |
Called when a villager's trade's maximum uses is increased, due to a player's
trade.
|
Enum | Description |
---|---|
CreatureSpawnEvent.SpawnReason |
An enum to specify the type of spawning
|
CreeperPowerEvent.PowerCause |
An enum to specify the cause of the change in power
|
EntityDamageEvent.DamageCause |
An enum to specify the cause of the damage
|
EntityDamageEvent.DamageModifier | Deprecated.
This API is responsible for a large number of implementation
problems and is in general unsustainable to maintain.
|
EntityPotionEffectEvent.Action |
An enum to specify the action to be performed.
|
EntityPotionEffectEvent.Cause |
An enum to specify the cause why an effect was changed.
|
EntityRegainHealthEvent.RegainReason |
An enum to specify the type of health regaining that is occurring
|
EntityTargetEvent.TargetReason |
An enum to specify the reason for the targeting
|
EntityTransformEvent.TransformReason | |
EntityUnleashEvent.UnleashReason |
Copyright © 2019. All rights reserved.