using System;
namespace TrueCraft.API.Logic
{
///
/// Providers item providers for a server.
///
public interface IItemRepository
{
///
/// Gets this repository's item provider for the specified item ID. This may return null
/// if the item ID in question has no corresponding block provider.
///
IItemProvider GetItemProvider(short id);
///
/// Registers a new item provider. This overrides any existing item providers that use the
/// same item ID.
///
void RegisterItemProvider(IItemProvider provider);
}
}