Interface TickBlockEvent
-
- All Superinterfaces:
Cancellable
,Event
- All Known Subinterfaces:
TickBlockEvent.Random
,TickBlockEvent.Scheduled
public interface TickBlockEvent extends Event, Cancellable
Called when aBlockState
receives a tick.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TickBlockEvent.Random
An event when a block is told to "randomly" tick.static interface
TickBlockEvent.Scheduled
An event when a block at aServerLocation
is scheduled to tick.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BlockSnapshot
block()
Gets theBlockSnapshot
.-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-
-
-
Method Detail
-
block
BlockSnapshot block()
Gets theBlockSnapshot
.- Returns:
- The block snapshot
-
-