程序包的使用
org.bukkit.event.entity
使用org.bukkit.event.entity的程序包
-
-
类说明生成原因的枚举类.造成这次强化的原因当一个非玩家的实体在改变方块时调用该事件。当实体燃烧时触发该事件储存伤害事件的数据 原文: Stores data for damage eventsAn enum to specify the cause of the damage已过时。这个API被废弃了,具体见后面的网址,很快就要被移除了,就不深入解释了.This API is responsible for a large number of implementation problems and is in general unsustainable to maintain.当任何一个实体死亡时触发本事件代表实体相关事件.An enum to specify the type of health regaining that is occurringCalled when a creature targets or untargets another entityAn enum to specify the reason for the targetingThrown when a non-player entity (such as an Enderman) tries to teleport from one location to another.Called when a projectile hits an object
-
类说明代表实体相关事件.Called immediately prior to an entity being unleashed.