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.
TrueCraft/TrueCraft.Core/Logic/Items/FishingRodItem.cs
2015-09-30 18:29:07 -04:00

53 lines
1.4 KiB
C#

using System;
using TrueCraft.API.Logic;
using TrueCraft.API;
namespace TrueCraft.Core.Logic.Items
{
public class FishingRodItem : ToolItem, ICraftingRecipe
{
public static readonly short ItemID = 0x15A;
public override short ID { get { return 0x15A; } }
public override Tuple<int, int> GetIconTexture(byte metadata)
{
return new Tuple<int, int>(5, 4);
}
public override sbyte MaximumStack { get { return 1; } }
public override short BaseDurability { get { return 65; } }
public override string DisplayName { get { return "Fishing Rod"; } }
public ItemStack[,] Pattern
{
get
{
return new[,]
{
{ ItemStack.EmptyStack, ItemStack.EmptyStack, new ItemStack(StickItem.ItemID) },
{ ItemStack.EmptyStack, new ItemStack(StickItem.ItemID), new ItemStack(StringItem.ItemID) },
{ new ItemStack(StickItem.ItemID), ItemStack.EmptyStack, new ItemStack(StringItem.ItemID) },
};
}
}
public ItemStack Output
{
get
{
return new ItemStack(ItemID);
}
}
public bool SignificantMetadata
{
get
{
return false;
}
}
}
}