类的使用
org.bukkit.event.entity.EntityEvent
使用EntityEvent的程序包
-
org.bukkit.event.entity中EntityEvent的使用
修饰符和类型类说明class当滞留药水应用它的效果时触发本事件,期间每5 tick发生一次。class当一个生物体在世界中出生时触发该事件.class当爬行者被闪电击中时触发该事件.classCalled when an EnderDragon switches controller phase.class当实体的氧气值发生变化时触发本事件class当实体破坏门时触发本事件.classCalled 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当一个实体与其他物体互交时触发本事件classThrown when a entity picks an item up from the groundclass当一个实体与传送门接触时触发本事件.class当一个非玩家的实体被传送门传送时触发本事件classCalled before an entity exits a portal.classStores data for health-regain eventsclassCalled when an entity dies and may have the opportunity to be resurrected.classCalled when a LivingEntity shoots a bow firing an arrowclassThrown when a LivingEntity is tamedclassCalled when a creature targets or untargets another entityclassCalled when an Entity targets aLivingEntityand can only target LivingEntity's.classThrown when a non-player entity (such as an Enderman) tries to teleport from one location to another.classSent when an entity's gliding status is toggled with an Elytra.classCalled immediately prior to an entity being unleashed.classCalled when a ThrownExpBottle hits and releases experience.classCalled when an entity has made a decision to explode.class当烟花爆炸时触发本事件class当一个人类实体的饥饿值发生变化时触发本事件class当马跳起时调用此事件.classThis event is called when aItemis removed from the world because it has existed for 5 minutes.classclassCalled when an item is spawned into a worldclassCalled when a splash potion hits an areaclassStores data for pigs being zappedclass当一个玩家死亡时触发本事件classCalled when a splash potion hits an areaclassCalled when a projectile hits an objectclass当一个抛射物被发射时触发本事件.classCalled when a sheep's wool is dyedclassCalled when a sheep regrows its woolclass当史莱姆死亡后分裂成小史莱姆时触发本事件classCalled whenever a villager acquires a new trade.classCalled when a villager's trade's maximum uses is increased, due to a player's trade. -
org.bukkit.event.player中EntityEvent的使用