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