类 HangingBreakByEntityEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.hanging.HangingEvent
org.bukkit.event.hanging.HangingBreakEvent
org.bukkit.event.hanging.HangingBreakByEntityEvent
- 所有已实现的接口:
Cancellable
当一个悬挂实体被一个实体移除时调用本事件
-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.hanging.HangingBreakEvent
HangingBreakEvent.RemoveCause
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
从类继承的字段 org.bukkit.event.hanging.HangingEvent
hanging
-
构造器概要
构造器说明HangingBreakByEntityEvent
(@NotNull Hanging hanging, @Nullable Entity remover) HangingBreakByEntityEvent
(@NotNull Hanging hanging, @Nullable Entity remover, HangingBreakEvent.RemoveCause cause) -
方法概要
从类继承的方法 org.bukkit.event.hanging.HangingBreakEvent
getCause, getHandlerList, getHandlers, isCancelled, setCancelled
从类继承的方法 org.bukkit.event.hanging.HangingEvent
getEntity
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
HangingBreakByEntityEvent
-
HangingBreakByEntityEvent
-
-
方法详细资料
-
getRemover
获取移除这个悬挂实体的实体. 可能为null, 比如当此实体被爆炸破坏时.原文:Gets the entity that removed the hanging entity. May be null, for example when broken by an explosion.
- 返回:
- 移除这个悬挂实体的实体
-