Cancellablepublic class HangingBreakByEntityEvent extends HangingBreakEvent
Event.ResultHangingBreakEvent.RemoveCausehanging| 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 | 
callEvent, getEventName, isAsynchronousgetCause, getHandlerList, getHandlers, isCancelled, setCancelledgetEntitypublic HangingBreakByEntityEvent(Hanging hanging, Entity remover, HangingBreakEvent.RemoveCause cause)
public Entity getRemover()
Copyright © 2018. All rights reserved.