41 lines
924 B
C#
41 lines
924 B
C#
using System;
|
|
using TrueCraft.API.Logic;
|
|
using TrueCraft.API;
|
|
|
|
namespace TrueCraft.Core.Logic.Items
|
|
{
|
|
public class SugarItem : ItemProvider, ICraftingRecipe
|
|
{
|
|
public static readonly short ItemID = 0x161;
|
|
|
|
public override short ID { get { return 0x161; } }
|
|
|
|
public override Tuple<int, int> GetIconTexture(byte metadata)
|
|
{
|
|
return new Tuple<int, int>(13, 0);
|
|
}
|
|
|
|
public override string DisplayName { get { return "Sugar"; } }
|
|
|
|
public ItemStack[,] Pattern
|
|
{
|
|
get
|
|
{
|
|
return new[,]
|
|
{
|
|
{ new ItemStack(SugarCanesItem.ItemID) }
|
|
};
|
|
}
|
|
}
|
|
|
|
public ItemStack Output
|
|
{
|
|
get { return new ItemStack(ItemID); }
|
|
}
|
|
|
|
public bool SignificantMetadata
|
|
{
|
|
get { return false; }
|
|
}
|
|
}
|
|
} |