Cancellable
public class HangingBreakByEntityEvent extends HangingBreakEvent
Event.Result
HangingBreakEvent.RemoveCause
hanging
Constructor | Description |
---|---|
HangingBreakByEntityEvent(Hanging hanging,
Entity remover) |
|
HangingBreakByEntityEvent(Hanging hanging,
Entity remover,
HangingBreakEvent.RemoveCause cause) |
Modifier and Type | Method | Description |
---|---|---|
Entity |
getRemover() |
Gets the entity that removed the hanging entity
|
getEventName, isAsynchronous
getCause, getHandlerList, getHandlers, isCancelled, setCancelled
getEntity
public HangingBreakByEntityEvent(Hanging hanging, Entity remover, HangingBreakEvent.RemoveCause cause)
public Entity getRemover()
Copyright © 2018. All rights reserved.