public class AreaEffectCloudApplyEvent extends EntityEvent
Event.Result
entity
构造器和说明 |
---|
AreaEffectCloudApplyEvent(AreaEffectCloud entity,
java.util.List<LivingEntity> affectedEntities) |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<LivingEntity> |
getAffectedEntities()
获取一个受影响实体的可变列表。
|
AreaEffectCloud |
getEntity()
返回这个事件所涉及的实体.
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
getEntityType
getEventName, isAsynchronous
public AreaEffectCloudApplyEvent(AreaEffectCloud entity, java.util.List<LivingEntity> affectedEntities)
public AreaEffectCloud getEntity()
EntityEvent
原文: Returns the Entity involved in this event
getEntity
在类中 EntityEvent
public java.util.List<LivingEntity> getAffectedEntities()
特别注意不是在列表里的每个实体都保证受影响。
药水效果云可能由于AreaEffectCloud.getDurationOnUse()
或AreaEffectCloud.getRadiusOnUse()
的消耗死在应用过程中的影响
原文: Retrieves a mutable list of the effected entities
It is important to note that not every entity in this list
is guaranteed to be effected. The cloud may die during the
application of its effects due to the depletion of AreaEffectCloud.getDurationOnUse()
or AreaEffectCloud.getRadiusOnUse()
public HandlerList getHandlers()
getHandlers
在类中 Event
public static HandlerList getHandlerList()