类 EntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
- 直接已知子类:
AreaEffectCloudApplyEvent
,ArrowBodyCountChangeEvent
,BatToggleSleepEvent
,CreeperPowerEvent
,EnderDragonChangePhaseEvent
,EntityAirChangeEvent
,EntityBreedEvent
,EntityChangeBlockEvent
,EntityCombustEvent
,EntityCreatePortalEvent
,EntityDamageEvent
,EntityDeathEvent
,EntityDismountEvent
,EntityDropItemEvent
,EntityEnterBlockEvent
,EntityEnterLoveModeEvent
,EntityExhaustionEvent
,EntityExplodeEvent
,EntityInteractEvent
,EntityKnockbackEvent
,EntityMountEvent
,EntityPickupItemEvent
,EntityPlaceEvent
,EntityPortalEnterEvent
,EntityPoseChangeEvent
,EntityPotionEffectEvent
,EntityRegainHealthEvent
,EntityRemoveEvent
,EntityResurrectEvent
,EntityShootBowEvent
,EntitySpawnEvent
,EntitySpellCastEvent
,EntityTameEvent
,EntityTargetEvent
,EntityTeleportEvent
,EntityToggleGlideEvent
,EntityToggleSwimEvent
,EntityTransformEvent
,EntityUnleashEvent
,ExplosionPrimeEvent
,FireworkExplodeEvent
,FoodLevelChangeEvent
,HorseJumpEvent
,ItemDespawnEvent
,ItemMergeEvent
,PiglinBarterEvent
,PigZombieAngerEvent
,ProjectileHitEvent
,SheepDyeWoolEvent
,SheepRegrowWoolEvent
,SlimeSplitEvent
,StriderTemperatureChangeEvent
,VillagerAcquireTradeEvent
,VillagerCareerChangeEvent
,VillagerReplenishTradeEvent
代表实体相关事件.
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
-
构造器概要
-
方法概要
修饰符和类型方法说明返回这个事件所涉及的实体.获取涉及这个事件的实体的EntityType.从类继承的方法 org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
-
字段详细资料
-
entity
-
-
构造器详细资料
-
EntityEvent
-
-
方法详细资料
-
getEntity
返回这个事件所涉及的实体.原文: Returns the Entity involved in this event
- 返回:
- 涉及这个事件的实体
-
getEntityType
获取涉及这个事件的实体的EntityType.原文:Gets the EntityType of the Entity involved in this event.
- 返回:
- 涉及这个事件的实体的EntityType
-