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(@NotNull Hanging hanging, @Nullable Entity remover)
public HangingBreakByEntityEvent(@NotNull Hanging hanging, @Nullable Entity remover, @NotNull HangingBreakEvent.RemoveCause cause)
@Nullable public Entity getRemover()
Copyright © 2020. All rights reserved.