public class BlockIgniteEvent extends BlockEvent implements Cancellable
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockIgniteEvent.Cause
Cause of block ignition
|
| Constructor and Description |
|---|
BlockIgniteEvent(Block block,
BlockIgniteEvent.Cause cause) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(boolean cancelled) |
BlockIgniteEvent.Cause |
cause()
Returns the cause of this event
|
boolean |
isIgnored() |
blockpublic BlockIgniteEvent(Block block, BlockIgniteEvent.Cause cause)
block - Block associated with this eventcause - Cause of this eventpublic boolean isIgnored()
isIgnored in interface Cancellablepublic void cancel(boolean cancelled)
cancel in interface Cancellablecancelled - set the cancellation state of the eventpublic BlockIgniteEvent.Cause cause()
Copyright © 2016. All rights reserved.