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