类 EntityKnockbackByEntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityKnockbackEvent
org.bukkit.event.entity.EntityKnockbackByEntityEvent
- 所有已实现的接口:
Cancellable
Called when an entity receives knockback from another entity.
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.entity.EntityKnockbackEvent
EntityKnockbackEvent.KnockbackCause
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
从类继承的字段 org.bukkit.event.entity.EntityEvent
entity
-
构造器概要
构造器说明EntityKnockbackByEntityEvent
(@NotNull LivingEntity entity, @NotNull Entity source, @NotNull EntityKnockbackEvent.KnockbackCause cause, double force, @NotNull Vector rawKnockback, @NotNull Vector knockback) -
方法概要
修饰符和类型方法说明Get the entity that has caused knockback to the defender.从类继承的方法 org.bukkit.event.entity.EntityKnockbackEvent
getCause, getEntity, getFinalKnockback, getForce, getHandlerList, getHandlers, getKnockback, isCancelled, setCancelled, setFinalKnockback
从类继承的方法 org.bukkit.event.entity.EntityEvent
getEntityType
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
EntityKnockbackByEntityEvent
-
-
方法详细资料
-
getSourceEntity
Get the entity that has caused knockback to the defender.- 返回:
- entity that caused knockback
-