Package | Description |
---|---|
org.bukkit.event.hanging |
Events relating to entities that hang . |
Modifier and Type | Method and Description |
---|---|
HangingBreakEvent.RemoveCause |
HangingBreakEvent.getCause()
Gets the cause for the hanging entity's removal
|
static HangingBreakEvent.RemoveCause |
HangingBreakEvent.RemoveCause.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HangingBreakEvent.RemoveCause[] |
HangingBreakEvent.RemoveCause.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
HangingBreakByEntityEvent(@NotNull Hanging hanging,
@Nullable Entity remover,
HangingBreakEvent.RemoveCause cause) |
HangingBreakEvent(@NotNull Hanging hanging,
HangingBreakEvent.RemoveCause cause) |
Copyright © 2021. All rights reserved.