This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
2015-09-30 18:29:07 -04:00

47 lines
1.1 KiB
C#

using System;
using TrueCraft.API.Logic;
using TrueCraft.API;
namespace TrueCraft.Core.Logic.Items
{
public class PaperItem : ItemProvider, ICraftingRecipe
{
public static readonly short ItemID = 0x153;
public override short ID { get { return 0x153; } }
public override Tuple<int, int> GetIconTexture(byte metadata)
{
return new Tuple<int, int>(10, 3);
}
public override string DisplayName { get { return "Paper"; } }
public ItemStack[,] Pattern
{
get
{
return new[,]
{
{ new ItemStack(SugarCanesItem.ItemID), new ItemStack(SugarCanesItem.ItemID), new ItemStack(SugarCanesItem.ItemID) },
};
}
}
public ItemStack Output
{
get
{
return new ItemStack(ItemID);
}
}
public bool SignificantMetadata
{
get
{
return true;
}
}
}
}