@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
Package org.spongepowered.api.event.block
-
Interface Summary Interface Description ChangeBlockEvent Plain event for when one or manyBlockStates
may be changing within aServerWorld
.ChangeBlockEvent.All ChangeBlockEvent.Post Called when there are multiple block changes due to aBlockType
having "ticked", in which theCause
will have aBlockSnapshot
, or, in the case that anEntity
has "ticked", in which theCause
will have anEntity
, or, in the case that aBlockEntity
"ticked", theCause
will have theBlockEntity
.ChangeBlockEvent.Pre Called before running specific block logic at one or moreServerLocation
's such asBlockTypes.WATER
.CollideBlockEvent Fired when anEntity
collides with aBlockSnapshot
.CollideBlockEvent.Fall Fires when anEntity
falls on a block.CollideBlockEvent.Impact Fired when anEntity
impacts anotherBlockSnapshot
.CollideBlockEvent.Inside Fires when anEntity
is inside a block.CollideBlockEvent.Move Fires when anEntity
moves into a block and collides with it.CollideBlockEvent.StepOn Fires when anEntity
steps on a block.InteractBlockEvent Base event for all interactions involving aBlockSnapshot
at aServerLocation
.InteractBlockEvent.Primary An event where the targeted block is being interacted with the client's "primary" button.InteractBlockEvent.Primary.Finish Called when a player finishes digging a block.InteractBlockEvent.Primary.Start Called when a player starts digging a block.InteractBlockEvent.Primary.Stop Called when a player cancels digging a block.InteractBlockEvent.Secondary An event where the targeted block is being interacted with the client's "secondary" button.NotifyNeighborBlockEvent TickBlockEvent Called when aBlockState
receives a tick.TickBlockEvent.Random An event when a block is told to "randomly" tick.TickBlockEvent.Scheduled An event when a block at aServerLocation
is scheduled to tick.