API reference Obsidian.API.Containers
Loom class
A loom's window, like vanilla's LoomMenu: the banner, the dye, the pattern item and the result.
public sealed class Loom : ResultContainer
In Obsidian.API.
Constructors
public Loom();Properties
public Vector BlockPosition { get; set; }SelectedPattern
public int SelectedPattern { get; set; }The index of the chosen pattern among those the pattern item (or none) offers; -1 for none.
Methods
public override ItemStack GetResult();public override void SetResult(ItemStack result);Fields
public const int BannerSlot = 0;public const int DyeSlot = 1;public const int PatternSlot = 2;public const int ResultSlot = 3;