Package org.bukkit.event.block
Class BlockSpreadEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BlockGrowEvent
org.bukkit.event.block.BlockFormEvent
org.bukkit.event.block.BlockSpreadEvent
- All Implemented Interfaces:
- Cancellable
Called when a block spreads based on world conditions.
 
 Use BlockFormEvent to catch blocks that "randomly" form instead of
 actually spread.
 
Examples:
- Mushrooms spreading.
- Fire spreading.
If a Block Spread event is cancelled, the block will not spread.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.block.BlockEventblock
- 
Constructor SummaryConstructorsConstructorDescriptionBlockSpreadEvent(@NotNull Block block, @NotNull Block source, @NotNull BlockState newState) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic @NotNull HandlerListGets the source block involved in this event.Methods inherited from class org.bukkit.event.block.BlockGrowEventgetNewState, isCancelled, setCancelledMethods inherited from class org.bukkit.event.block.BlockEventgetBlockMethods inherited from class org.bukkit.event.EventcallEvent, getEventName, isAsynchronous
- 
Constructor Details- 
BlockSpreadEvent
 
- 
- 
Method Details- 
getSourceGets the source block involved in this event.- Returns:
- the Block for the source block involved in this event.
 
- 
getHandlers- Overrides:
- getHandlersin class- BlockFormEvent
 
- 
getHandlerList
 
-