@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 manyBlockStatesmay be changing within aServerWorld.ChangeBlockEvent.All ChangeBlockEvent.Post Called when there are multiple block changes due to aBlockTypehaving "ticked", in which theCausewill have aBlockSnapshot, or, in the case that anEntityhas "ticked", in which theCausewill have anEntity, or, in the case that aBlockEntity"ticked", theCausewill have theBlockEntity.ChangeBlockEvent.Pre Called before running specific block logic at one or moreServerLocation's such asBlockTypes.WATER.CollideBlockEvent Fired when anEntitycollides with aBlockSnapshot.CollideBlockEvent.Fall Fires when anEntityfalls on a block.CollideBlockEvent.Impact Fired when anEntityimpacts anotherBlockSnapshot.CollideBlockEvent.Inside Fires when anEntityis inside a block.CollideBlockEvent.Move Fires when anEntitymoves into a block and collides with it.CollideBlockEvent.StepOn Fires when anEntitysteps on a block.InteractBlockEvent Base event for all interactions involving aBlockSnapshotat 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 aBlockStatereceives a tick.TickBlockEvent.Random An event when a block is told to "randomly" tick.TickBlockEvent.Scheduled An event when a block at aServerLocationis scheduled to tick.