类的使用
org.bukkit.event.entity.EntityEvent
使用EntityEvent的程序包
-
org.bukkit.event.entity中EntityEvent的使用
修饰符和类型类说明class当滞留药水应用它的效果时触发本事件,期间每5 tick发生一次。class当箭矢射进实体或从实体上拔出(脱落)时触发本事件.class当一只蝙蝠将要睡觉或醒来时触发本事件.class当一个生物体在世界中出生时触发该事件.class当爬行者被闪电击中时触发该事件.classCalled when an EnderDragon switches controller phase.class当实体的氧气值发生变化时触发本事件class当实体破坏门时触发本事件.class当一个实体与另一个实体交配繁殖时触发本事件.classCalled when any Entity changes a block and a more specific event is not available.class当方块造成实体燃烧时触发该事件.class当一个实体造成另外一个实体燃烧时触发该事件.class当实体燃烧时触发该事件class已过时。class当一个实体受到来自方块的伤害时触发该事件class当一个实体受到另外一个实体伤害时触发该事件class储存伤害事件的数据class当一个实体死亡时触发本事件classCalled when an entity stops riding another entity.classThrown when an entity creates an item drop.class当实体进入方块, 保存到那个方块时触发本事件.class当实体进入求爱模式时触发本事件.classCalled when a human entity experiences exhaustion.class当一个实体爆炸的时候触发本事件class当一个实体与其他物体互交时触发本事件classCalled when an entity receives knockback from another entity.classCalled when a living entity receives knockback.classCalled when an entity attempts to ride another entity.class当实体捡起地面上的掉落物时触发本事件.class当一个实体因玩家在一个方块上"放置"一物品而创建时触发本事件.class当一个实体与传送门接触时触发本事件.class当一个非玩家的实体被传送门传送时触发本事件class在实体退出传送门前触发本事件.class当实体改变它的姿态时触发本事件.class当实体上的药水效果发生改变时触发本事件.class当实体恢复生命值时触发本事件.classCalled when anEntityis removed.class当实体死亡并且有机会复活时触发本事件.classCalled when a LivingEntity shoots a bow firing an arrowclass当实体生成于世界内时触发本事件.classCalled when aSpellcastercasts a spell.class当生物实体被驯服时触发本事件.classCalled when a creature targets or untargets another entityclassCalled when an Entity targets aLivingEntityand can only target LivingEntity's.class当非玩家实体从一处传送到另一处时触发本事件.classSent when an entity's gliding status is toggled with an Elytra.class当实体游泳状态改变时触发本事件.class当实体将转化/蜕变为其它实体时触发本事件.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当马跳起时调用此事件.class当掉落物存在时间超过5分钟后被移除时触发本事件 (注:掉落物存在时间因服务器配置和安装的插件而异).classclass当掉落物生成于某个世界时触发本事件.classCalled when a splash potion hits an areaclassStores all data related to the bartering interaction with a piglin.classStores data for pigs being zappedclassCalled when a Pig Zombie is angered by another entity.class当一个玩家死亡时触发本事件classCalled when a splash potion hits an areaclassCalled when a projectile hits an objectclass当一个抛射物被发射时触发本事件.class当羊身上的毛被染色时触发本事件.class当羊身上的羊毛重新长出时触发本事件.class当史莱姆死亡后分裂成小史莱姆时触发本事件class当刷怪笼刷出实体时触发本事件.classCalled when aStrider's temperature has changed as a result of entering or exiting blocks it considers warm.classCalled when an entity is spawned into a world by a trial spawner.classCalled whenever a villager acquires a new trade.classclassCalled when aVillageris about to restock one of its trades.classCalled whenever an entity's reputation with a villager changes. -
org.bukkit.event.player中EntityEvent的使用
PortalCreateEvent