Package org.spongepowered.api.event.block
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.spongepowered.api.event.block
-
InterfacesClassDescriptionPlain event for when one or many
BlockStatesmay be changing within aServerWorld.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.Called before running specific block logic at one or moreServerLocation's such asBlockTypes.WATER.Fired when anEntitycollides with aBlockSnapshot.Fires when anEntityfalls on a block.Fired when anEntityimpacts anotherBlockSnapshot.Fires when anEntityis inside a block.Fires when anEntitymoves into a block and collides with it.Fires when anEntitysteps on a block.Base event for all interactions involving aBlockSnapshotat 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 updateis being proposed to the engine.Called when aBlockStatereceives a tick.An event when a block is told to "randomly" tick.An event when a block at aServerLocationis scheduled to tick.