Added items

This commit is contained in:
Daniel Vidmar 2015-01-26 06:17:42 -05:00 committed by Drew DeVault
parent c037aef597
commit 90923522bc
110 changed files with 1918 additions and 0 deletions

View 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
}
}

View File

@ -5,5 +5,7 @@ namespace TrueCraft.API.Logic
public interface IItemProvider
{
short ID { get; }
sbyte MaximumStack { get; }
string DisplayName { get; }
}
}

View 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
}
}

View File

@ -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" />

View File

@ -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>

View 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; } }
}
}

View 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"; } }
}
}

View 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; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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; }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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"; } }
}
}

View 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