public class HangingBreakByEntityEvent extends HangingBreakEvent
HangingBreakEvent.RemoveCause
Event.Result
hanging
Constructor and Description |
---|
HangingBreakByEntityEvent(Hanging hanging,
Entity remover) |
HangingBreakByEntityEvent(Hanging hanging,
Entity remover,
HangingBreakEvent.RemoveCause cause) |
Modifier and Type | Method and Description |
---|---|
Entity |
getRemover()
Gets the entity that removed the hanging entity.
|
getCause, getHandlerList, getHandlers, isCancelled, setCancelled
getEntity
callEvent, getEventName, isAsynchronous
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 © 2022. All rights reserved.