Skip to content

API reference Obsidian.API.Containers

Stonecutter class

A stonecutter's window, like vanilla's StonecutterMenu: the input and the result of the chosen recipe.

public sealed class Stonecutter : ResultContainer

In Obsidian.API.

Constructors

public Stonecutter();

Properties

public Vector BlockPosition { get; set; }

SelectedRecipe

public int SelectedRecipe { get; set; }

The index of the chosen recipe among those the input can be cut by; -1 for none.

Methods

public override ItemStack GetResult();public override void SetResult(ItemStack result);

Fields

public const int InputSlot = 0;public const int ResultSlot = 1;

On this page