Skip to content

API reference Obsidian.API.Client.Razor

SlotGrid class

The menu's slots from SlotGrid.FirstSlot, SlotGrid.Columns by SlotGrid.Rows, 18 pixels apart, like SlotGrid. Its position is where its first item goes from the top left of the screen's panel, wherever it is in the markup: the menu's container screen draws the slots, which the player clicks, drags, shift-clicks and swaps with hotbar keys like any container's.

public sealed class SlotGrid : ScreenPart

In Obsidian.API.Client.

Constructors

public SlotGrid();

Properties

public int Columns { get; set; }public int FirstSlot { get; set; }public int Rows { get; set; }

On this page