Added items
This commit is contained in:
parent
c037aef597
commit
90923522bc
16
TrueCraft.API/ArmourMaterial.cs
Normal file
16
TrueCraft.API/ArmourMaterial.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace TrueCraft.API
|
||||
{
|
||||
public enum ArmourMaterial
|
||||
{
|
||||
Leather,
|
||||
Chain,
|
||||
Iron,
|
||||
Gold,
|
||||
Diamond
|
||||
}
|
||||
}
|
@ -5,5 +5,7 @@ namespace TrueCraft.API.Logic
|
||||
public interface IItemProvider
|
||||
{
|
||||
short ID { get; }
|
||||
sbyte MaximumStack { get; }
|
||||
string DisplayName { get; }
|
||||
}
|
||||
}
|
16
TrueCraft.API/ToolMaterial.cs
Normal file
16
TrueCraft.API/ToolMaterial.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace TrueCraft.API
|
||||
{
|
||||
public enum ToolMaterial
|
||||
{
|
||||
Wood,
|
||||
Stone,
|
||||
Iron,
|
||||
Gold,
|
||||
Diamond
|
||||
}
|
||||
}
|
@ -30,6 +30,8 @@
|
||||
<Reference Include="System" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="ArmourMaterial.cs" />
|
||||
<Compile Include="ToolMaterial.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Networking\IPacket.cs" />
|
||||
<Compile Include="Networking\IPacketReader.cs" />
|
||||
|
@ -21,6 +21,11 @@ namespace TrueCraft.Core.Logic
|
||||
/// </summary>
|
||||
public abstract byte ID { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The maximum amount that can be in a single stack of this block.
|
||||
/// </summary>
|
||||
public virtual sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
/// <summary>
|
||||
/// How resist the block is to explosions.
|
||||
/// </summary>
|
||||
|
18
TrueCraft.Core/Logic/ItemProvider.cs
Normal file
18
TrueCraft.Core/Logic/ItemProvider.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic
|
||||
{
|
||||
public abstract class ItemProvider : IItemProvider
|
||||
{
|
||||
public abstract short ID { get; }
|
||||
|
||||
public virtual sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public virtual string DisplayName { get { return string.Empty; } }
|
||||
}
|
||||
}
|
18
TrueCraft.Core/Logic/Items/AppleItem.cs
Normal file
18
TrueCraft.Core/Logic/Items/AppleItem.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class AppleItem : FoodItem
|
||||
{
|
||||
public static readonly short ItemID = 0x104;
|
||||
|
||||
public override short ID { get { return 0x104; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override float Restores { get { return 2; } }
|
||||
|
||||
public override string DisplayName { get { return "Apple"; } }
|
||||
}
|
||||
}
|
15
TrueCraft.Core/Logic/Items/ArmourItem.cs
Normal file
15
TrueCraft.Core/Logic/Items/ArmourItem.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public abstract class ArmourItem : ItemProvider
|
||||
{
|
||||
public abstract ArmourMaterial Material { get; }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/ArrowItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/ArrowItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class ArrowItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x106;
|
||||
|
||||
public override short ID { get { return 0x106; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Arrow"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/BedItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/BedItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class BedItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x163;
|
||||
|
||||
public override short ID { get { return 0x163; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Bed"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/BoatItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/BoatItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class BoatItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x14D;
|
||||
|
||||
public override short ID { get { return 0x14D; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Boat"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/BoneItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/BoneItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class BoneItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x160;
|
||||
|
||||
public override short ID { get { return 0x160; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Bone"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/BookItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/BookItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class BookItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x154;
|
||||
|
||||
public override short ID { get { return 0x154; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Book"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/BowItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/BowItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class BowItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x105;
|
||||
|
||||
public override short ID { get { return 0x105; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Bow"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/BowlItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/BowlItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class BowlItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x119;
|
||||
|
||||
public override short ID { get { return 0x119; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Bowl"; } }
|
||||
}
|
||||
}
|
18
TrueCraft.Core/Logic/Items/BreadItem.cs
Normal file
18
TrueCraft.Core/Logic/Items/BreadItem.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class BreadItem : FoodItem
|
||||
{
|
||||
public static readonly short ItemID = 0x129;
|
||||
|
||||
public override short ID { get { return 0x129; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override float Restores { get { return 2.5f; } }
|
||||
|
||||
public override string DisplayName { get { return "Bread"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/BrickItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/BrickItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class BrickItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x150;
|
||||
|
||||
public override short ID { get { return 0x150; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Brick"; } }
|
||||
}
|
||||
}
|
43
TrueCraft.Core/Logic/Items/BucketItem.cs
Normal file
43
TrueCraft.Core/Logic/Items/BucketItem.cs
Normal file
@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class BucketItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x145;
|
||||
|
||||
public override short ID { get { return 0x145; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Bucket"; } }
|
||||
}
|
||||
|
||||
public class LavabucketItem : BucketItem
|
||||
{
|
||||
public static readonly new short ItemID = 0x147;
|
||||
|
||||
public override short ID { get { return 0x147; } }
|
||||
|
||||
public override string DisplayName { get { return "Lava bucket"; } }
|
||||
}
|
||||
|
||||
public class MilkItem : BucketItem
|
||||
{
|
||||
public static readonly new short ItemID = 0x14F;
|
||||
|
||||
public override short ID { get { return 0x14F; } }
|
||||
|
||||
public override string DisplayName { get { return "Milk"; } }
|
||||
}
|
||||
|
||||
public class WaterBucketItem : BucketItem
|
||||
{
|
||||
public static readonly new short ItemID = 0x146;
|
||||
|
||||
public override short ID { get { return 0x146; } }
|
||||
|
||||
public override string DisplayName { get { return "Water Bucket"; } }
|
||||
}
|
||||
}
|
18
TrueCraft.Core/Logic/Items/CakeItem.cs
Normal file
18
TrueCraft.Core/Logic/Items/CakeItem.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class CakeItem : FoodItem
|
||||
{
|
||||
public static readonly short ItemID = 0x162;
|
||||
|
||||
public override short ID { get { return 0x162; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override float Restores { get { return 1.5f; } }
|
||||
|
||||
public override string DisplayName { get { return "Cake"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/ChainBootsItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/ChainBootsItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class ChainBootsItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x131;
|
||||
|
||||
public override short ID { get { return 0x131; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Chain; } }
|
||||
|
||||
public override string DisplayName { get { return "Chain Boots"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/ChainChestplateItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/ChainChestplateItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class ChainChestplateItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x12F;
|
||||
|
||||
public override short ID { get { return 0x12F; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Chain; } }
|
||||
|
||||
public override string DisplayName { get { return "Chain Chestplate"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/ChainHelmetItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/ChainHelmetItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class ChainHelmetItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x12E;
|
||||
|
||||
public override short ID { get { return 0x12E; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Chain; } }
|
||||
|
||||
public override string DisplayName { get { return "Chain Helmet"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/ChainLeggingsItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/ChainLeggingsItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class ChainLeggingsItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x130;
|
||||
|
||||
public override short ID { get { return 0x130; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Chain; } }
|
||||
|
||||
public override string DisplayName { get { return "Chain Leggings"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/ClayItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/ClayItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class ClayItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x151;
|
||||
|
||||
public override short ID { get { return 0x151; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Clay"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/ClockItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/ClockItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class ClockItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x15B;
|
||||
|
||||
public override short ID { get { return 0x15B; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Clock"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/CoalItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/CoalItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class CoalItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x107;
|
||||
|
||||
public override short ID { get { return 0x107; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Coal"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/CompassItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/CompassItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class CompassItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x159;
|
||||
|
||||
public override short ID { get { return 0x159; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Compass"; } }
|
||||
}
|
||||
}
|
18
TrueCraft.Core/Logic/Items/CookedFishItem.cs
Normal file
18
TrueCraft.Core/Logic/Items/CookedFishItem.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class CookedFishItem : FoodItem
|
||||
{
|
||||
public static readonly short ItemID = 0x15E;
|
||||
|
||||
public override short ID { get { return 0x15E; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override float Restores { get { return 2.5f; } }
|
||||
|
||||
public override string DisplayName { get { return "Cooked Fish"; } }
|
||||
}
|
||||
}
|
18
TrueCraft.Core/Logic/Items/CookedPorkchopItem.cs
Normal file
18
TrueCraft.Core/Logic/Items/CookedPorkchopItem.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class CookedPorkchopItem : FoodItem
|
||||
{
|
||||
public static readonly short ItemID = 0x140;
|
||||
|
||||
public override short ID { get { return 0x140; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override float Restores { get { return 4; } }
|
||||
|
||||
public override string DisplayName { get { return "Cooked Porkchop"; } }
|
||||
}
|
||||
}
|
18
TrueCraft.Core/Logic/Items/CookieItem.cs
Normal file
18
TrueCraft.Core/Logic/Items/CookieItem.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class CookieItem : FoodItem
|
||||
{
|
||||
public static readonly short ItemID = 0x165;
|
||||
|
||||
public override short ID { get { return 0x165; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 8; } }
|
||||
|
||||
public override float Restores { get { return 0.5f; } }
|
||||
|
||||
public override string DisplayName { get { return "Cookie"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/DiamondAxeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/DiamondAxeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DiamondAxeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x117;
|
||||
|
||||
public override short ID { get { return 0x117; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Diamond; } }
|
||||
|
||||
public override string DisplayName { get { return "Diamond Axe"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/DiamondBootsItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/DiamondBootsItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DiamondBootsItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x139;
|
||||
|
||||
public override short ID { get { return 0x139; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Diamond; } }
|
||||
|
||||
public override string DisplayName { get { return "Diamond Boots"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/DiamondChestplateItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/DiamondChestplateItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DiamondChestplateItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x137;
|
||||
|
||||
public override short ID { get { return 0x137; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Diamond; } }
|
||||
|
||||
public override string DisplayName { get { return "Diamond Chestplate"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/DiamondHelmetItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/DiamondHelmetItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DiamondHelmetItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x136;
|
||||
|
||||
public override short ID { get { return 0x136; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Diamond; } }
|
||||
|
||||
public override string DisplayName { get { return "Diamond Helmet"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/DiamondHoeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/DiamondHoeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DiamondHoeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x125;
|
||||
|
||||
public override short ID { get { return 0x125; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Diamond; } }
|
||||
|
||||
public override string DisplayName { get { return "Diamond Hoe"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/DiamondItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/DiamondItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DiamondItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x108;
|
||||
|
||||
public override short ID { get { return 0x108; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Diamond"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/DiamondLeggingsItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/DiamondLeggingsItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DiamondLeggingsItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x138;
|
||||
|
||||
public override short ID { get { return 0x138; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Diamond; } }
|
||||
|
||||
public override string DisplayName { get { return "Diamond Leggings"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/DiamondPickaxeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/DiamondPickaxeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DiamondPickaxeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x116;
|
||||
|
||||
public override short ID { get { return 0x116; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Diamond; } }
|
||||
|
||||
public override string DisplayName { get { return "Diamond Pickaxe"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/DiamondShovelItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/DiamondShovelItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DiamondShovelItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x115;
|
||||
|
||||
public override short ID { get { return 0x115; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Diamond; } }
|
||||
|
||||
public override string DisplayName { get { return "Diamond Shovel"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/DiamondSwordItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/DiamondSwordItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DiamondSwordItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x114;
|
||||
|
||||
public override short ID { get { return 0x114; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Diamond; } }
|
||||
|
||||
public override string DisplayName { get { return "Diamond Sword"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/DyeItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/DyeItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class DyeItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x15F;
|
||||
|
||||
public override short ID { get { return 0x15F; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Dye"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/EggItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/EggItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class EggItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x158;
|
||||
|
||||
public override short ID { get { return 0x158; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 16; } }
|
||||
|
||||
public override string DisplayName { get { return "Egg"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/FeatherItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/FeatherItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class FeatherItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x120;
|
||||
|
||||
public override short ID { get { return 0x120; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Feather"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/FishingRodItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/FishingRodItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class FishingRodItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x15A;
|
||||
|
||||
public override short ID { get { return 0x15A; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Fishing Rod"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/FlintItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/FlintItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class FlintItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x13E;
|
||||
|
||||
public override short ID { get { return 0x13E; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Flint"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/FlintandSteelItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/FlintandSteelItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class FlintandSteelItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x103;
|
||||
|
||||
public override short ID { get { return 0x103; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Flint and Steel"; } }
|
||||
}
|
||||
}
|
15
TrueCraft.Core/Logic/Items/FoodItem.cs
Normal file
15
TrueCraft.Core/Logic/Items/FoodItem.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public abstract class FoodItem : ItemProvider
|
||||
{
|
||||
/// <summary>
|
||||
/// The amount of health this food restores.
|
||||
/// </summary>
|
||||
public abstract float Restores { get; }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/GlowstoneDustItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/GlowstoneDustItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GlowstoneDustItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x15C;
|
||||
|
||||
public override short ID { get { return 0x15C; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Glowstone Dust"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/GoldIngotItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/GoldIngotItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldIngotItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x10A;
|
||||
|
||||
public override short ID { get { return 0x10A; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Gold Ingot"; } }
|
||||
}
|
||||
}
|
18
TrueCraft.Core/Logic/Items/GoldenAppleItem.cs
Normal file
18
TrueCraft.Core/Logic/Items/GoldenAppleItem.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldenAppleItem : FoodItem
|
||||
{
|
||||
public static readonly short ItemID = 0x142;
|
||||
|
||||
public override short ID { get { return 0x142; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override float Restores { get { return 10; } }
|
||||
|
||||
public override string DisplayName { get { return "Golden Apple"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/GoldenAxeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/GoldenAxeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldenAxeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x11E;
|
||||
|
||||
public override short ID { get { return 0x11E; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Gold; } }
|
||||
|
||||
public override string DisplayName { get { return "Golden Axe"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/GoldenBootsItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/GoldenBootsItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldenBootsItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x13D;
|
||||
|
||||
public override short ID { get { return 0x13D; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Gold; } }
|
||||
|
||||
public override string DisplayName { get { return "Golden boots"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/GoldenChestplateItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/GoldenChestplateItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldenChestplateItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x13B;
|
||||
|
||||
public override short ID { get { return 0x13B; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Gold; } }
|
||||
|
||||
public override string DisplayName { get { return "Golden Chestplate"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/GoldenHelmetItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/GoldenHelmetItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldenHelmetItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x13A;
|
||||
|
||||
public override short ID { get { return 0x13A; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Gold; } }
|
||||
|
||||
public override string DisplayName { get { return "Golden Helmet"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/GoldenHoeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/GoldenHoeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldenHoeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x126;
|
||||
|
||||
public override short ID { get { return 0x126; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Gold; } }
|
||||
|
||||
public override string DisplayName { get { return "Golden Hoe"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/GoldenLeggingsItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/GoldenLeggingsItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldenLeggingsItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x13C;
|
||||
|
||||
public override short ID { get { return 0x13C; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Gold; } }
|
||||
|
||||
public override string DisplayName { get { return "Golden Leggings"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/GoldenPickaxeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/GoldenPickaxeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldenPickaxeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x11D;
|
||||
|
||||
public override short ID { get { return 0x11D; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Gold; } }
|
||||
|
||||
public override string DisplayName { get { return "Golden Pickaxe"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/GoldenShovelItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/GoldenShovelItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldenShovelItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x11C;
|
||||
|
||||
public override short ID { get { return 0x11C; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Gold; } }
|
||||
|
||||
public override string DisplayName { get { return "Golden Shovel"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/GoldenSwordItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/GoldenSwordItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GoldenSwordItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x11B;
|
||||
|
||||
public override short ID { get { return 0x11B; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Gold; } }
|
||||
|
||||
public override string DisplayName { get { return "Golden Sword"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/GunpowderItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/GunpowderItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class GunpowderItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x121;
|
||||
|
||||
public override short ID { get { return 0x121; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Gunpowder"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/IronAxeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/IronAxeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronAxeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x102;
|
||||
|
||||
public override short ID { get { return 0x102; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Iron; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Axe"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/IronBootsItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/IronBootsItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronBootsItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x135;
|
||||
|
||||
public override short ID { get { return 0x135; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Iron; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Boots"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/IronChestplateItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/IronChestplateItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronChestplateItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x133;
|
||||
|
||||
public override short ID { get { return 0x133; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Iron; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Chestplate"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/IronDoorItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/IronDoorItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronDoorItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x14A;
|
||||
|
||||
public override short ID { get { return 0x14A; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Door"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/IronHelmetItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/IronHelmetItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronHelmetItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x132;
|
||||
|
||||
public override short ID { get { return 0x132; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Iron; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Helmet"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/IronHoeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/IronHoeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronHoeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x124;
|
||||
|
||||
public override short ID { get { return 0x124; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Iron; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Hoe"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/IronIngotItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/IronIngotItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronIngotItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x109;
|
||||
|
||||
public override short ID { get { return 0x109; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Ingot"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/IronLeggingsItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/IronLeggingsItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronLeggingsItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x134;
|
||||
|
||||
public override short ID { get { return 0x134; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Iron; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Leggings"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/IronPickaxeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/IronPickaxeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronPickaxeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x101;
|
||||
|
||||
public override short ID { get { return 0x101; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Iron; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Pickaxe"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/IronShovelItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/IronShovelItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronShovelItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x100;
|
||||
|
||||
public override short ID { get { return 0x100; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Iron; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Shovel"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/IronSwordItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/IronSwordItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class IronSwordItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x10B;
|
||||
|
||||
public override short ID { get { return 0x10B; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Iron; } }
|
||||
|
||||
public override string DisplayName { get { return "Iron Sword"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/LeatherBootsItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/LeatherBootsItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class LeatherBootsItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x12D;
|
||||
|
||||
public override short ID { get { return 0x12D; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Leather; } }
|
||||
|
||||
public override string DisplayName { get { return "Leather Boots"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/LeatherCapItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/LeatherCapItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class LeatherCapItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x12A;
|
||||
|
||||
public override short ID { get { return 0x12A; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Leather; } }
|
||||
|
||||
public override string DisplayName { get { return "Leather Cap"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/LeatherItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/LeatherItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class LeatherItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x14E;
|
||||
|
||||
public override short ID { get { return 0x14E; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Leather"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/LeatherPantsItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/LeatherPantsItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class LeatherPantsItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x12C;
|
||||
|
||||
public override short ID { get { return 0x12C; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Leather; } }
|
||||
|
||||
public override string DisplayName { get { return "Leather Pants"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/LeatherTunicItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/LeatherTunicItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class LeatherTunicItem : ArmourItem
|
||||
{
|
||||
public static readonly short ItemID = 0x12B;
|
||||
|
||||
public override short ID { get { return 0x12B; } }
|
||||
|
||||
public override ArmourMaterial Material { get { return ArmourMaterial.Leather; } }
|
||||
|
||||
public override string DisplayName { get { return "Leather Tunic"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/MapItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/MapItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class MapItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x166;
|
||||
|
||||
public override short ID { get { return 0x166; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Map"; } }
|
||||
}
|
||||
}
|
34
TrueCraft.Core/Logic/Items/MinecartItem.cs
Normal file
34
TrueCraft.Core/Logic/Items/MinecartItem.cs
Normal file
@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class MinecartItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x148;
|
||||
|
||||
public override short ID { get { return 0x148; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Minecart"; } }
|
||||
}
|
||||
|
||||
public class MinecartwithChestItem : MinecartItem
|
||||
{
|
||||
public static readonly short ItemID = 0x156;
|
||||
|
||||
public override short ID { get { return 0x156; } }
|
||||
|
||||
public override string DisplayName { get { return "Minecart with Chest"; } }
|
||||
}
|
||||
|
||||
public class MinecartwithFurnaceItem : MinecartItem
|
||||
{
|
||||
public static readonly short ItemID = 0x157;
|
||||
|
||||
public override short ID { get { return 0x157; } }
|
||||
|
||||
public override string DisplayName { get { return "Minecart with Furnace"; } }
|
||||
}
|
||||
}
|
18
TrueCraft.Core/Logic/Items/MushroomStewItem.cs
Normal file
18
TrueCraft.Core/Logic/Items/MushroomStewItem.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class MushroomStewItem : FoodItem
|
||||
{
|
||||
public static readonly short ItemID = 0x11A;
|
||||
|
||||
public override short ID { get { return 0x11A; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override float Restores { get { return 5; } }
|
||||
|
||||
public override string DisplayName { get { return "Mushroom Stew"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/MusicDiscItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/MusicDiscItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class MusicDiscItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x8D1;
|
||||
|
||||
public override short ID { get { return 0x8D1; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Music Disc"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/PaintingItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/PaintingItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class PaintingItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x141;
|
||||
|
||||
public override short ID { get { return 0x141; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Painting"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/PaperItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/PaperItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class PaperItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x153;
|
||||
|
||||
public override short ID { get { return 0x153; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Paper"; } }
|
||||
}
|
||||
}
|
18
TrueCraft.Core/Logic/Items/RawFishItem.cs
Normal file
18
TrueCraft.Core/Logic/Items/RawFishItem.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class RawFishItem : FoodItem
|
||||
{
|
||||
public static readonly short ItemID = 0x15D;
|
||||
|
||||
public override short ID { get { return 0x15D; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override float Restores { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Raw Fish"; } }
|
||||
}
|
||||
}
|
18
TrueCraft.Core/Logic/Items/RawPorkchopItem.cs
Normal file
18
TrueCraft.Core/Logic/Items/RawPorkchopItem.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class RawPorkchopItem : FoodItem
|
||||
{
|
||||
public static readonly short ItemID = 0x13F;
|
||||
|
||||
public override short ID { get { return 0x13F; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override float Restores { get { return 1.5f; } }
|
||||
|
||||
public override string DisplayName { get { return "Raw Porkchop"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/RedstoneItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/RedstoneItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class RedstoneItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x14B;
|
||||
|
||||
public override short ID { get { return 0x14B; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Redstone"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/RedstoneRepeaterItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/RedstoneRepeaterItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class RedstoneRepeaterItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x164;
|
||||
|
||||
public override short ID { get { return 0x164; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Redstone Repeater"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/SaddleItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/SaddleItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class SaddleItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x149;
|
||||
|
||||
public override short ID { get { return 0x149; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Saddle"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/SeedsItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/SeedsItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class SeedsItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x127;
|
||||
|
||||
public override short ID { get { return 0x127; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Seeds"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/ShearsItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/ShearsItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class ShearsItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x167;
|
||||
|
||||
public override short ID { get { return 0x167; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Shears"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/SignItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/SignItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class SignItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x143;
|
||||
|
||||
public override short ID { get { return 0x143; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 1; } }
|
||||
|
||||
public override string DisplayName { get { return "Sign"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/SlimeballItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/SlimeballItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class SlimeballItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x155;
|
||||
|
||||
public override short ID { get { return 0x155; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Slimeball"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/SnowballItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/SnowballItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class SnowballItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x14C;
|
||||
|
||||
public override short ID { get { return 0x14C; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 16; } }
|
||||
|
||||
public override string DisplayName { get { return "Snowball"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/StickItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/StickItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class StickItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x118;
|
||||
|
||||
public override short ID { get { return 0x118; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Stick"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/StoneAxeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/StoneAxeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class StoneAxeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x113;
|
||||
|
||||
public override short ID { get { return 0x113; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Stone; } }
|
||||
|
||||
public override string DisplayName { get { return "Stone Axe"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/StoneHoeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/StoneHoeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class StoneHoeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x123;
|
||||
|
||||
public override short ID { get { return 0x123; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Stone; } }
|
||||
|
||||
public override string DisplayName { get { return "Stone Hoe"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/StonePickaxeItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/StonePickaxeItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class StonePickaxeItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x112;
|
||||
|
||||
public override short ID { get { return 0x112; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Stone; } }
|
||||
|
||||
public override string DisplayName { get { return "Stone Pickaxe"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/StoneShovelItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/StoneShovelItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class StoneShovelItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x111;
|
||||
|
||||
public override short ID { get { return 0x111; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Stone; } }
|
||||
|
||||
public override string DisplayName { get { return "Stone Shovel"; } }
|
||||
}
|
||||
}
|
17
TrueCraft.Core/Logic/Items/StoneSwordItem.cs
Normal file
17
TrueCraft.Core/Logic/Items/StoneSwordItem.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
using TrueCraft.API;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class StoneSwordItem : ToolItem
|
||||
{
|
||||
public static readonly short ItemID = 0x110;
|
||||
|
||||
public override short ID { get { return 0x110; } }
|
||||
|
||||
public override ToolMaterial Material { get { return ToolMaterial.Stone; } }
|
||||
|
||||
public override string DisplayName { get { return "Stone Sword"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/StringItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/StringItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class StringItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x11F;
|
||||
|
||||
public override short ID { get { return 0x11F; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "String"; } }
|
||||
}
|
||||
}
|
16
TrueCraft.Core/Logic/Items/SugarCanesItem.cs
Normal file
16
TrueCraft.Core/Logic/Items/SugarCanesItem.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using TrueCraft.API.Logic;
|
||||
|
||||
namespace TrueCraft.Core.Logic.Items
|
||||
{
|
||||
public class SugarCanesItem : ItemProvider
|
||||
{
|
||||
public static readonly short ItemID = 0x152;
|
||||
|
||||
public override short ID { get { return 0x152; } }
|
||||
|
||||
public override sbyte MaximumStack { get { return 64; } }
|
||||
|
||||
public override string DisplayName { get { return "Sugar Canes"; } }
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user