Interface InteractBlockEvent.Primary
- All Superinterfaces:
Event
,InteractBlockEvent
,InteractEvent
- All Known Subinterfaces:
InteractBlockEvent.Primary.Finish
,InteractBlockEvent.Primary.Start
,InteractBlockEvent.Primary.Stop
- Enclosing interface:
- InteractBlockEvent
An event where the targeted block is being interacted with the client's
"primary" button.
This is usually left-click.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Called when a player finishes digging a block.static interface
Called when a player starts digging a block.static interface
Called when a player cancels digging a block.Nested classes/interfaces inherited from interface org.spongepowered.api.event.block.InteractBlockEvent
InteractBlockEvent.Primary, InteractBlockEvent.Secondary
-
Method Summary
Methods inherited from interface org.spongepowered.api.event.block.InteractBlockEvent
block, targetSide