-
Get the specific cause or action of the bed destruction.
Returns the enum constant of this type with the specified name.
BedDestructionInfo.Cause.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
void
Set the specific cause or action of the bed destruction.
-
Returns the specific cause of the bed destruction.
ArenaBedBreakEvent(Arena arena,
@Nullable Player player,
String altDisplayName,
Team team,
Location bedLocation,
BedDestructionInfo.Cause cause,
ArenaBedBreakEvent.Result result,
boolean playSound,
boolean sendTitle,
boolean sendMessage,
Function<Player,Message> messageFunction)