Skip to content

API reference Obsidian.API.Events

BlockEventArgs class

public abstract class BlockEventArgs : BaseMinecraftEventArgs

In Obsidian.API.

Constructors

protected BlockEventArgs(IServer server, IBlock block, Vector location, ILevel level);

Properties

Block

public IBlock Block { get; }

The impacted block.

Level

public ILevel Level { get; }

Level where the event took place.

Location

public Vector Location { get; }

Location of the impacted block.

public int Sequence { get; init; }

On this page