Skip to content

API reference Obsidian.API.Containers

CrafterContainer class

A crafter's grid, like vanilla's CrafterBlockEntity: nine slots, each of which can be disabled while empty, and whether it's powered.

public sealed class CrafterContainer : BaseContainer

In Obsidian.API.

Constructors

public CrafterContainer();

Properties

public Vector BlockPosition { get; set; }

CraftingTicksRemaining

public int CraftingTicksRemaining { get; set; }

The game ticks left while it shows itself crafting.

Result

public ItemStack Result { get; set; }

What its grid crafts now, shown in its window's result slot.

Triggered

public bool Triggered { get; set; }

Whether a redstone signal powers the crafter, which it crafts on as it rises.

Methods

public bool IsSlotDisabled(int slot);public void SetSlotDisabled(int slot, bool disabled);

Fields

public const int GridSize = 9;public const int ResultWindowSlot = 45;

On this page