static EnchantmentInfo() { _enchTable = new Dictionary <int, EnchantmentInfo>(); _enchTableCache = new CacheTableDict <EnchantmentInfo>(_enchTable); Protection = new EnchantmentInfo(EnchantmentType.PROTECTION, "Protection").SetMaxLevel(4); FireProtection = new EnchantmentInfo(EnchantmentType.FIRE_PROTECTION, "Fire Protection").SetMaxLevel(4); FeatherFalling = new EnchantmentInfo(EnchantmentType.FEATHER_FALLING, "Feather Falling").SetMaxLevel(4); BlastProtection = new EnchantmentInfo(EnchantmentType.BLAST_PROTECTION, "Blast Protection").SetMaxLevel(4); ProjectileProtection = new EnchantmentInfo(EnchantmentType.PROJECTILE_PROTECTION, "Projectile Protection").SetMaxLevel(4); Respiration = new EnchantmentInfo(EnchantmentType.RESPIRATION, "Respiration").SetMaxLevel(3); AquaAffinity = new EnchantmentInfo(EnchantmentType.AQUA_AFFINITY, "Aqua Affinity").SetMaxLevel(1); Thorns = new EnchantmentInfo(EnchantmentType.THORNS, "Thorns").SetMaxLevel(3); Sharpness = new EnchantmentInfo(EnchantmentType.SHARPNESS, "Sharpness").SetMaxLevel(5); Smite = new EnchantmentInfo(EnchantmentType.SMITE, "Smite").SetMaxLevel(5); BaneOfArthropods = new EnchantmentInfo(EnchantmentType.BANE_OF_ARTHROPODS, "Bane of Arthropods").SetMaxLevel(5); Knockback = new EnchantmentInfo(EnchantmentType.KNOCKBACK, "Knockback").SetMaxLevel(2); FireAspect = new EnchantmentInfo(EnchantmentType.FIRE_ASPECT, "Fire Aspect").SetMaxLevel(2); Looting = new EnchantmentInfo(EnchantmentType.LOOTING, "Looting").SetMaxLevel(3); Efficiency = new EnchantmentInfo(EnchantmentType.EFFICIENCY, "Efficiency").SetMaxLevel(5); SilkTouch = new EnchantmentInfo(EnchantmentType.SILK_TOUCH, "Silk Touch").SetMaxLevel(1); Unbreaking = new EnchantmentInfo(EnchantmentType.UNBREAKING, "Unbreaking").SetMaxLevel(3); Fortune = new EnchantmentInfo(EnchantmentType.FORTUNE, "Fortune").SetMaxLevel(3); Power = new EnchantmentInfo(EnchantmentType.POWER, "Power").SetMaxLevel(5); Punch = new EnchantmentInfo(EnchantmentType.PUNCH, "Punch").SetMaxLevel(2); Flame = new EnchantmentInfo(EnchantmentType.FLAME, "Flame").SetMaxLevel(1); Infinity = new EnchantmentInfo(EnchantmentType.INFINITY, "Infinity").SetMaxLevel(1); }
static ItemInfo() { _itemTable = new Dictionary <int, ItemInfo>(); _itemTableCache = new CacheTableDict <ItemInfo>(_itemTable); IronShovel = new ItemInfo(256, "Iron Shovel"); IronPickaxe = new ItemInfo(257, "Iron Pickaxe"); IronAxe = new ItemInfo(258, "Iron Axe"); FlintAndSteel = new ItemInfo(259, "Flint and Steel"); Apple = new ItemInfo(260, "Apple").SetStackSize(64); Bow = new ItemInfo(261, "Bow"); Arrow = new ItemInfo(262, "Arrow").SetStackSize(64); Coal = new ItemInfo(263, "Coal").SetStackSize(64); Diamond = new ItemInfo(264, "Diamond").SetStackSize(64); IronIngot = new ItemInfo(265, "Iron Ingot").SetStackSize(64); GoldIngot = new ItemInfo(266, "Gold Ingot").SetStackSize(64); IronSword = new ItemInfo(267, "Iron Sword"); WoodenSword = new ItemInfo(268, "Wooden Sword"); WoodenShovel = new ItemInfo(269, "Wooden Shovel"); WoodenPickaxe = new ItemInfo(270, "Wooden Pickaxe"); WoodenAxe = new ItemInfo(271, "Wooden Axe"); StoneSword = new ItemInfo(272, "Stone Sword"); StoneShovel = new ItemInfo(273, "Stone Shovel"); StonePickaxe = new ItemInfo(274, "Stone Pickaxe"); StoneAxe = new ItemInfo(275, "Stone Axe"); DiamondSword = new ItemInfo(276, "Diamond Sword"); DiamondShovel = new ItemInfo(277, "Diamond Shovel"); DiamondPickaxe = new ItemInfo(278, "Diamond Pickaxe"); DiamondAxe = new ItemInfo(279, "Diamond Axe"); Stick = new ItemInfo(280, "Stick").SetStackSize(64); Bowl = new ItemInfo(281, "Bowl").SetStackSize(64); MushroomSoup = new ItemInfo(282, "Mushroom Soup"); GoldSword = new ItemInfo(283, "Gold Sword"); GoldShovel = new ItemInfo(284, "Gold Shovel"); GoldPickaxe = new ItemInfo(285, "Gold Pickaxe"); GoldAxe = new ItemInfo(286, "Gold Axe"); String = new ItemInfo(287, "String").SetStackSize(64); Feather = new ItemInfo(288, "Feather").SetStackSize(64); Gunpowder = new ItemInfo(289, "Gunpowder").SetStackSize(64); WoodenHoe = new ItemInfo(290, "Wooden Hoe"); StoneHoe = new ItemInfo(291, "Stone Hoe"); IronHoe = new ItemInfo(292, "Iron Hoe"); DiamondHoe = new ItemInfo(293, "Diamond Hoe"); GoldHoe = new ItemInfo(294, "Gold Hoe"); Seeds = new ItemInfo(295, "Seeds").SetStackSize(64); Wheat = new ItemInfo(296, "Wheat").SetStackSize(64); Bread = new ItemInfo(297, "Bread").SetStackSize(64); LeatherCap = new ItemInfo(298, "Leather Cap"); LeatherTunic = new ItemInfo(299, "Leather Tunic"); LeatherPants = new ItemInfo(300, "Leather Pants"); LeatherBoots = new ItemInfo(301, "Leather Boots"); ChainHelmet = new ItemInfo(302, "Chain Helmet"); ChainChestplate = new ItemInfo(303, "Chain Chestplate"); ChainLeggings = new ItemInfo(304, "Chain Leggings"); ChainBoots = new ItemInfo(305, "Chain Boots"); IronHelmet = new ItemInfo(306, "Iron Helmet"); IronChestplate = new ItemInfo(307, "Iron Chestplate"); IronLeggings = new ItemInfo(308, "Iron Leggings"); IronBoots = new ItemInfo(309, "Iron Boots"); DiamondHelmet = new ItemInfo(310, "Diamond Helmet"); DiamondChestplate = new ItemInfo(311, "Diamond Chestplate"); DiamondLeggings = new ItemInfo(312, "Diamond Leggings"); DiamondBoots = new ItemInfo(313, "Diamond Boots"); GoldHelmet = new ItemInfo(314, "Gold Helmet"); GoldChestplate = new ItemInfo(315, "Gold Chestplate"); GoldLeggings = new ItemInfo(316, "Gold Leggings"); GoldBoots = new ItemInfo(317, "Gold Boots"); Flint = new ItemInfo(318, "Flint").SetStackSize(64); RawPorkchop = new ItemInfo(319, "Raw Porkchop").SetStackSize(64); CookedPorkchop = new ItemInfo(320, "Cooked Porkchop").SetStackSize(64); Painting = new ItemInfo(321, "Painting").SetStackSize(64); GoldenApple = new ItemInfo(322, "Golden Apple").SetStackSize(64); Sign = new ItemInfo(323, "Sign"); WoodenDoor = new ItemInfo(324, "Door"); Bucket = new ItemInfo(325, "Bucket"); WaterBucket = new ItemInfo(326, "Water Bucket"); LavaBucket = new ItemInfo(327, "Lava Bucket"); Minecart = new ItemInfo(328, "Minecart"); Saddle = new ItemInfo(329, "Saddle"); IronDoor = new ItemInfo(330, "Iron Door"); RedstoneDust = new ItemInfo(331, "Redstone Dust").SetStackSize(64); Snowball = new ItemInfo(332, "Snowball").SetStackSize(16); Boat = new ItemInfo(333, "Boat"); Leather = new ItemInfo(334, "Leather").SetStackSize(64); Milk = new ItemInfo(335, "Milk"); ClayBrick = new ItemInfo(336, "Clay Brick").SetStackSize(64); Clay = new ItemInfo(337, "Clay").SetStackSize(64); SugarCane = new ItemInfo(338, "Sugar Cane").SetStackSize(64); Paper = new ItemInfo(339, "Paper").SetStackSize(64); Book = new ItemInfo(340, "Book").SetStackSize(64); Slimeball = new ItemInfo(341, "Slimeball").SetStackSize(64); StorageMinecart = new ItemInfo(342, "Storage Minecart"); PoweredMinecart = new ItemInfo(343, "Powered Minecart"); Egg = new ItemInfo(344, "Egg").SetStackSize(16); Compass = new ItemInfo(345, "Compass"); FishingRod = new ItemInfo(346, "Fishing Rod"); Clock = new ItemInfo(347, "Clock"); GlowstoneDust = new ItemInfo(348, "Glowstone Dust").SetStackSize(64); RawFish = new ItemInfo(349, "Raw Fish").SetStackSize(64); CookedFish = new ItemInfo(350, "Cooked Fish").SetStackSize(64); Dye = new ItemInfo(351, "Dye").SetStackSize(64); Bone = new ItemInfo(352, "Bone").SetStackSize(64); Sugar = new ItemInfo(353, "Sugar").SetStackSize(64); Cake = new ItemInfo(354, "Cake"); Bed = new ItemInfo(355, "Bed"); RedstoneRepeater = new ItemInfo(356, "Redstone Repeater").SetStackSize(64); Cookie = new ItemInfo(357, "Cookie").SetStackSize(8); Map = new ItemInfo(358, "Map"); Shears = new ItemInfo(359, "Shears"); MelonSlice = new ItemInfo(360, "Melon Slice").SetStackSize(64); PumpkinSeeds = new ItemInfo(361, "Pumpkin Seeds").SetStackSize(64); MelonSeeds = new ItemInfo(362, "Melon Seeds").SetStackSize(64); RawBeef = new ItemInfo(363, "Raw Beef").SetStackSize(64); Steak = new ItemInfo(364, "Steak").SetStackSize(64); RawChicken = new ItemInfo(365, "Raw Chicken").SetStackSize(64); CookedChicken = new ItemInfo(366, "Cooked Chicken").SetStackSize(64); RottenFlesh = new ItemInfo(367, "Rotten Flesh").SetStackSize(64); EnderPearl = new ItemInfo(368, "Ender Pearl").SetStackSize(64); BlazeRod = new ItemInfo(369, "Blaze Rod").SetStackSize(64); GhastTear = new ItemInfo(370, "Ghast Tear").SetStackSize(64); GoldNugget = new ItemInfo(371, "Gold Nugget").SetStackSize(64); NetherWart = new ItemInfo(372, "Nether Wart").SetStackSize(64); Potion = new ItemInfo(373, "Potion"); GlassBottle = new ItemInfo(374, "Glass Bottle").SetStackSize(64); SpiderEye = new ItemInfo(375, "Spider Eye").SetStackSize(64); FermentedSpiderEye = new ItemInfo(376, "Fermented Spider Eye").SetStackSize(64); BlazePowder = new ItemInfo(377, "Blaze Powder").SetStackSize(64); MagmaCream = new ItemInfo(378, "Magma Cream").SetStackSize(64); BrewingStand = new ItemInfo(379, "Brewing Stand").SetStackSize(64); Cauldron = new ItemInfo(380, "Cauldron"); EyeOfEnder = new ItemInfo(381, "Eye of Ender").SetStackSize(64); GlisteringMelon = new ItemInfo(382, "Glistering Melon").SetStackSize(64); SpawnEgg = new ItemInfo(383, "Spawn Egg").SetStackSize(64); BottleOEnchanting = new ItemInfo(384, "Bottle O' Enchanting").SetStackSize(64); FireCharge = new ItemInfo(385, "Fire Charge").SetStackSize(64); BookAndQuill = new ItemInfo(386, "Book and Quill"); WrittenBook = new ItemInfo(387, "Written Book"); Emerald = new ItemInfo(388, "Emerald").SetStackSize(64); ItemFrame = new ItemInfo(389, "Item Frame").SetStackSize(64); FlowerPot = new ItemInfo(390, "Flower Pot").SetStackSize(64); Carrot = new ItemInfo(391, "Carrot").SetStackSize(64); Potato = new ItemInfo(392, "Potato").SetStackSize(64); BakedPotato = new ItemInfo(393, "Baked Potato").SetStackSize(64); PoisonPotato = new ItemInfo(394, "Poisonous Potato").SetStackSize(64); EmptyMap = new ItemInfo(395, "Empty Map").SetStackSize(64); GoldenCarrot = new ItemInfo(396, "Golden Carrot").SetStackSize(64); MobHead = new ItemInfo(397, "Mob Head").SetStackSize(64); CarrotOnStick = new ItemInfo(398, "Carrot on a Stick"); NetherStar = new ItemInfo(399, "Nether Star").SetStackSize(64); PumpkinPie = new ItemInfo(400, "Pumpkin Pie").SetStackSize(64); FireworkRocket = new ItemInfo(401, "Firework Rocket"); FireworkStar = new ItemInfo(402, "Firework Star").SetStackSize(64); EnchantedBook = new ItemInfo(403, "Enchanted Book"); RedstoneComparator = new ItemInfo(404, "Redstone Comparator").SetStackSize(64); NetherBrick = new ItemInfo(405, "Nether Brick").SetStackSize(64); NetherQuartz = new ItemInfo(406, "Nether Quartz").SetStackSize(64); TntMinecart = new ItemInfo(407, "Minecart with TNT"); HopperMinecart = new ItemInfo(408, "Minecart with Hopper"); IronHorseArmor = new ItemInfo(417, "Iron Horse Armor"); GoldHorseArmor = new ItemInfo(418, "Gold Horse Armor"); DiamondHorseArmor = new ItemInfo(419, "Diamond Horse Armor"); Lead = new ItemInfo(420, "Lead").SetStackSize(64); NameTag = new ItemInfo(421, "Name Tag").SetStackSize(64); MusicDisc13 = new ItemInfo(2256, "13 Disc"); MusicDiscCat = new ItemInfo(2257, "Cat Disc"); MusicDiscBlocks = new ItemInfo(2258, "Blocks Disc"); MusicDiscChirp = new ItemInfo(2259, "Chirp Disc"); MusicDiscFar = new ItemInfo(2260, "Far Disc"); MusicDiscMall = new ItemInfo(2261, "Mall Disc"); MusicDiscMellohi = new ItemInfo(2262, "Mellohi Disc"); MusicDiscStal = new ItemInfo(2263, "Stal Disc"); MusicDiscStrad = new ItemInfo(2264, "Strad Disc"); MusicDiscWard = new ItemInfo(2265, "Ward Disc"); MusicDisc11 = new ItemInfo(2266, "11 Disc"); }
static ItemInfo() { _itemTable = new Dictionary <int, ItemInfo>(); _itemTableCache = new CacheTableDict <ItemInfo>(_itemTable); IronShovel = new ItemInfo(256, "Iron Shovel"); IronPickaxe = new ItemInfo(257, "Iron Pickaxe"); IronAxe = new ItemInfo(258, "Iron Axe"); FlintAndSteel = new ItemInfo(259, "Flint and Steel"); Apple = new ItemInfo(260, "Apple").SetStackSize(64); Bow = new ItemInfo(261, "Bow"); Arrow = new ItemInfo(262, "Arrow").SetStackSize(64); Coal = new ItemInfo(263, "Coal").SetStackSize(64); Diamond = new ItemInfo(264, "Diamond").SetStackSize(64); IronIngot = new ItemInfo(265, "Iron Ingot").SetStackSize(64); GoldIngot = new ItemInfo(266, "Gold Ingot").SetStackSize(64); IronSword = new ItemInfo(267, "Iron Sword"); WoodenSword = new ItemInfo(268, "Wooden Sword"); WoodenShovel = new ItemInfo(269, "Wooden Shovel"); WoodenPickaxe = new ItemInfo(270, "Wooden Pickaxe"); WoodenAxe = new ItemInfo(271, "Wooden Axe"); StoneSword = new ItemInfo(272, "Stone Sword"); StoneShovel = new ItemInfo(273, "Stone Shovel"); StonePickaxe = new ItemInfo(274, "Stone Pickaxe"); StoneAxe = new ItemInfo(275, "Stone Axe"); DiamondSword = new ItemInfo(276, "Diamond Sword"); DiamondShovel = new ItemInfo(277, "Diamond Shovel"); DiamondPickaxe = new ItemInfo(278, "Diamond Pickaxe"); DiamondAxe = new ItemInfo(279, "Diamond Axe"); Stick = new ItemInfo(280, "Stick").SetStackSize(64); Bowl = new ItemInfo(281, "Bowl").SetStackSize(64); MushroomSoup = new ItemInfo(282, "Mushroom Soup"); GoldSword = new ItemInfo(283, "Gold Sword"); GoldShovel = new ItemInfo(284, "Gold Shovel"); GoldPickaxe = new ItemInfo(285, "Gold Pickaxe"); GoldAxe = new ItemInfo(286, "Gold Axe"); String = new ItemInfo(287, "String").SetStackSize(64); Feather = new ItemInfo(288, "Feather").SetStackSize(64); Gunpowder = new ItemInfo(289, "Gunpowder").SetStackSize(64); WoodenHoe = new ItemInfo(290, "Wooden Hoe"); StoneHoe = new ItemInfo(291, "Stone Hoe"); IronHoe = new ItemInfo(292, "Iron Hoe"); DiamondHoe = new ItemInfo(293, "Diamond Hoe"); GoldHoe = new ItemInfo(294, "Gold Hoe"); Seeds = new ItemInfo(295, "Seeds").SetStackSize(64); Wheat = new ItemInfo(296, "Wheat").SetStackSize(64); Bread = new ItemInfo(297, "Bread").SetStackSize(64); LeatherCap = new ItemInfo(298, "Leather Cap"); LeatherTunic = new ItemInfo(299, "Leather Tunic"); LeatherPants = new ItemInfo(300, "Leather Pants"); LeatherBoots = new ItemInfo(301, "Leather Boots"); ChainHelmet = new ItemInfo(302, "Chain Helmet"); ChainChestplate = new ItemInfo(303, "Chain Chestplate"); ChainLeggings = new ItemInfo(304, "Chain Leggings"); ChainBoots = new ItemInfo(305, "Chain Boots"); IronHelmet = new ItemInfo(306, "Iron Helmet"); IronChestplate = new ItemInfo(307, "Iron Chestplate"); IronLeggings = new ItemInfo(308, "Iron Leggings"); IronBoots = new ItemInfo(309, "Iron Boots"); DiamondHelmet = new ItemInfo(310, "Diamond Helmet"); DiamondChestplate = new ItemInfo(311, "Diamond Chestplate"); DiamondLeggings = new ItemInfo(312, "Diamond Leggings"); DiamondBoots = new ItemInfo(313, "Diamond Boots"); GoldHelmet = new ItemInfo(314, "Gold Helmet"); GoldChestplate = new ItemInfo(315, "Gold Chestplate"); GoldLeggings = new ItemInfo(316, "Gold Leggings"); GoldBoots = new ItemInfo(317, "Gold Boots"); Flint = new ItemInfo(318, "Flint").SetStackSize(64); RawPorkchop = new ItemInfo(319, "Raw Porkchop").SetStackSize(64); CookedPorkchop = new ItemInfo(320, "Cooked Porkchop").SetStackSize(64); Painting = new ItemInfo(321, "Painting").SetStackSize(64); GoldenApple = new ItemInfo(322, "Golden Apple").SetStackSize(64); Sign = new ItemInfo(323, "Sign"); WoodenDoor = new ItemInfo(324, "Door"); Bucket = new ItemInfo(325, "Bucket"); WaterBucket = new ItemInfo(326, "Water Bucket"); LavaBucket = new ItemInfo(327, "Lava Bucket"); Minecart = new ItemInfo(328, "Minecart"); Saddle = new ItemInfo(329, "Saddle"); IronDoor = new ItemInfo(330, "Iron Door"); RedstoneDust = new ItemInfo(331, "Redstone Dust").SetStackSize(64); Snowball = new ItemInfo(332, "Snowball").SetStackSize(16); Boat = new ItemInfo(333, "Boat"); Leather = new ItemInfo(334, "Leather").SetStackSize(64); Milk = new ItemInfo(335, "Milk"); ClayBrick = new ItemInfo(336, "Clay Brick").SetStackSize(64); Clay = new ItemInfo(337, "Clay").SetStackSize(64); SugarCane = new ItemInfo(338, "Sugar Cane").SetStackSize(64); Paper = new ItemInfo(339, "Paper").SetStackSize(64); Book = new ItemInfo(340, "Book").SetStackSize(64); Slimeball = new ItemInfo(341, "Slimeball").SetStackSize(64); StorageMinecart = new ItemInfo(342, "Storage Miencart"); PoweredMinecart = new ItemInfo(343, "Powered Minecart"); Egg = new ItemInfo(344, "Egg").SetStackSize(16); Compass = new ItemInfo(345, "Compass"); FishingRod = new ItemInfo(346, "Fishing Rod"); Clock = new ItemInfo(347, "Clock"); GlowstoneDust = new ItemInfo(348, "Glowstone Dust").SetStackSize(64); RawFish = new ItemInfo(349, "Raw Fish").SetStackSize(64); CookedFish = new ItemInfo(350, "Cooked Fish").SetStackSize(64); Dye = new ItemInfo(351, "Dye").SetStackSize(64); Bone = new ItemInfo(352, "Bone").SetStackSize(64); Sugar = new ItemInfo(353, "Sugar").SetStackSize(64); Cake = new ItemInfo(354, "Cake"); Bed = new ItemInfo(355, "Bed"); RedstoneRepeater = new ItemInfo(356, "Redstone Repeater").SetStackSize(64); Cookie = new ItemInfo(357, "Cookie").SetStackSize(8); Map = new ItemInfo(358, "Map"); Shears = new ItemInfo(359, "Shears"); MelonSlice = new ItemInfo(360, "Melon Slice").SetStackSize(64); PumpkinSeeds = new ItemInfo(361, "Pumpkin Seeds").SetStackSize(64); MelonSeeds = new ItemInfo(362, "Melon Seeds").SetStackSize(64); RawBeef = new ItemInfo(363, "Raw Beef").SetStackSize(64); Steak = new ItemInfo(364, "Steak").SetStackSize(64); RawChicken = new ItemInfo(365, "Raw Chicken").SetStackSize(64); CookedChicken = new ItemInfo(366, "Cooked Chicken").SetStackSize(64); RottenFlesh = new ItemInfo(367, "Rotten Flesh").SetStackSize(64); EnderPearl = new ItemInfo(368, "Ender Pearl").SetStackSize(64); BlazeRod = new ItemInfo(369, "Blaze Rod").SetStackSize(64); GhastTear = new ItemInfo(370, "Ghast Tear").SetStackSize(64); GoldNugget = new ItemInfo(371, "Gold Nugget").SetStackSize(64); NetherWart = new ItemInfo(372, "Nether Wart").SetStackSize(64); Potion = new ItemInfo(373, "Potion"); GlassBottle = new ItemInfo(374, "Glass Bottle").SetStackSize(64); SpiderEye = new ItemInfo(375, "Spider Eye").SetStackSize(64); FermentedSpiderEye = new ItemInfo(376, "Fermented Spider Eye").SetStackSize(64); BlazePowder = new ItemInfo(377, "Blaze Powder").SetStackSize(64); MagmaCream = new ItemInfo(378, "Magma Cream").SetStackSize(64); BrewingStand = new ItemInfo(379, "Brewing Stand").SetStackSize(64); Cauldron = new ItemInfo(380, "Cauldron"); EyeOfEnder = new ItemInfo(381, "Eye of Ender").SetStackSize(64); GlisteringMelon = new ItemInfo(382, "Glistering Melon").SetStackSize(64); GoldMusicDisc = new ItemInfo(2256, "Gold Music Disc"); GreenMusicDisc = new ItemInfo(2257, "Green Music Disc"); }