Skip to content

API reference Obsidian.API.Blocks

EntityBlockContext class

An entity touching a block (see IBlockBehavior.EntityInsideAsync).

public sealed class EntityBlockContext

In Obsidian.API.

Constructors

public EntityBlockContext();

Properties

public required IEntity Entity { get; init; }public required ILevel Level { get; init; }public required Vector Position { get; init; }

State

public required IBlock State { get; init; }

The block's state.

On this page