Package org.spongepowered.api.event.block
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.spongepowered.api.event.block
-
ClassDescriptionPlain event for when one or many
BlockStates
may be changing within aServerWorld
.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
.Called before running specific block logic at one or moreServerLocation
's such asBlockTypes.WATER
.Fired when anEntity
collides with aBlockSnapshot
.Fires when anEntity
falls on a block.Fired when anEntity
impacts anotherBlockSnapshot
.Fires when anEntity
is inside a block.Fires when anEntity
moves into a block and collides with it.Fires when anEntity
steps on a block.Base event for all interactions involving aBlockSnapshot
at aServerLocation
.An event where the targeted block is being interacted with the client's "primary" button.Called when a player finishes digging a block.Called when a player starts digging a block.Called when a player cancels digging a block.An event where the targeted block is being interacted with the client's "secondary" button.Fired when ascheduled block update
is being proposed to the engine.Called when aBlockState
receives a tick.An event when a block is told to "randomly" tick.An event when a block at aServerLocation
is scheduled to tick.