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