Skip to content

API reference Obsidian.API

Container class

public sealed class Container : BaseContainer

In Obsidian.API.

Constructors

public Container(int size, InventoryType type = 10);public Container(InventoryType type = 10);

Properties

public Vector BlockPosition { get; set; }public string Id { get; set; }public bool IsPlayerInventory { get; }public Guid Owner { get; set; }

Methods

public override int AddItem(ItemStack item);

On this page