类的使用
org.bukkit.event.entity.EntityEvent
使用EntityEvent的程序包
-
org.bukkit.event.entity中EntityEvent的使用
修饰符和类型类说明class
当滞留药水应用它的效果时触发本事件,期间每5 tick发生一次。class
当一个生物体在世界中出生时触发该事件.class
当爬行者被闪电击中时触发该事件.class
Called when an EnderDragon switches controller phase.class
当实体的氧气值发生变化时触发本事件class
当实体
破坏门时触发本事件.class
Called when one Entity breeds with another Entity.class
当一个非玩家的实体在改变方块时调用该事件。class
当方块造成实体燃烧时触发该事件.class
当一个实体造成另外一个实体燃烧时触发该事件.class
当实体燃烧时触发该事件class
当一个LivingEntity
在世界中创建传送门时触发该事件.class
当一个实体受到来自方块的伤害时触发该事件 原文: Called when an entity is damaged by a blockclass
当一个实体受到另外一个实体伤害时触发该事件class
储存伤害事件的数据 原文: Stores data for damage eventsclass
当任何一个实体死亡时触发本事件class
当一个实体爆炸的时候触发本事件class
当一个实体与其他物体互交时触发本事件class
Thrown when a entity picks an item up from the groundclass
当一个实体与传送门接触时触发本事件.class
当一个非玩家的实体被传送门传送时触发本事件class
Called before an entity exits a portal.class
Stores data for health-regain eventsclass
Called when an entity dies and may have the opportunity to be resurrected.class
Called when a LivingEntity shoots a bow firing an arrowclass
Thrown when a LivingEntity is tamedclass
Called when a creature targets or untargets another entityclass
Called when an Entity targets aLivingEntity
and can only target LivingEntity's.class
Thrown when a non-player entity (such as an Enderman) tries to teleport from one location to another.class
Sent when an entity's gliding status is toggled with an Elytra.class
Called immediately prior to an entity being unleashed.class
Called when a ThrownExpBottle hits and releases experience.class
Called when an entity has made a decision to explode.class
当烟花爆炸时触发本事件class
当一个人类实体的饥饿值发生变化时触发本事件class
当马跳起时调用此事件.class
This event is called when aItem
is removed from the world because it has existed for 5 minutes.class
class
Called when an item is spawned into a worldclass
Called when a splash potion hits an areaclass
Stores data for pigs being zappedclass
当一个玩家
死亡时触发本事件class
Called when a splash potion hits an areaclass
Called when a projectile hits an objectclass
当一个抛射物被发射时触发本事件.class
Called when a sheep's wool is dyedclass
Called when a sheep regrows its woolclass
当史莱姆死亡后分裂成小史莱姆时触发本事件class
Called whenever a villager acquires a new trade.class
Called when a villager's trade's maximum uses is increased, due to a player's trade. -
org.bukkit.event.player中EntityEvent的使用