Skip to content

API reference Obsidian.API.Inventory

ItemUseContext class

A player using an item.

public class ItemUseContext

In Obsidian.API.

Constructors

public ItemUseContext();

Properties

public required InteractionHand Hand { get; init; }public required IPlayer Player { get; init; }

Stack

public required ItemStack Stack { get; init; }

The stack the player uses.

On this page