###############################################################################
#    Minecraft ID to Friendly Name                                            #
#    Copyright (C) 2016  TransportLayer                                       #
#                                                                             #
#    This program is free software: you can redistribute it and/or modify     #
#    it under the terms of the GNU General Public License as published by     #
#    the Free Software Foundation, either version 3 of the License, or        #
#    (at your option) any later version.                                      #
#                                                                             #
#    This program is distributed in the hope that it will be useful,          #
#    but WITHOUT ANY WARRANTY; without even the implied warranty of           #
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            #
#    GNU General Public License for more details.                             #
#                                                                             #
#    You should have received a copy of the GNU General Public License        #
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.    #
###############################################################################

items = {
	'minecraft': {
		'__VERSION__': 1.10,
		'__LANGUAGE__': 'en_US',
		'stone': {
			'id': 1,
			'category': 'Building Blocks',
			0: 'Stone',
			1: 'Granite',
			2: 'Polished Granite',
			3: 'Diorite',
			4: 'Polished Diorite',
			5: 'Andesite',
			6: 'Polished Andesite'
		},
		'grass': {
			'id': 2,
			'category': 'Building Blocks',
			0: 'Grass Block'
		},
		'dirt': {
			'id': 3,
			'category': 'Building Blocks',
			0: 'Dirt',
			1: 'Coarse Dirt',
			2: 'Podzol'
		},
		'cobblestone': {
			'id': 4,
			'category': 'Building Blocks',
			0: 'Cobblestone'
		},
		'planks': {
			'id': 5,
			'category': 'Building Blocks',
			0: 'Oak Wood Planks',
			1: 'Spruce Wood Planks',
			2: 'Birch Wood Planks',
			3: 'Jungle Wood Planks',
			4: 'Acacia Wood Planks',
			5: 'Dark Oak Wood Planks'
		},
		'sapling': {
			'id': 6,
			'category': 'Decoration Blocks',
			0: 'Oak Sapling',
			1: 'Spruce Sapling',
			2: 'Birch Sapling',
			3: 'Jungle Sapling',
			4: 'Acacia Sapling',
			5: 'Dark Oak Sapling'
		},
		'bedrock': {
			'id': 7,
			'category': 'Building Blocks',
			0: 'Bedrock'
		},
		# No item 8?
		# No item 9?
		# No item 10?
		# No item 11?
		'sand': {
			'id': 12,
			'category': 'Building Blocks',
			0: 'Sand',
			1: 'Red Sand'
		},
		'gravel': {
			'id': 13,
			'category': 'Building Blocks',
			0: 'Gravel'
		},
		'gold_ore': {
			'id': 14,
			'category': 'Building Blocks',
			0: 'Gold Ore'
		},
		'iron_ore': {
			'id': 15,
			'category': 'Building Blocks',
			0: 'Iron Ore'
		},
		'coal_ore': {
			'id': 16,
			'category': 'Building Blocks',
			0: 'Coal Ore'
		},
		'log': {
			'id': 17,
			'category': 'Building Blocks',
			0: 'Oak Wood',
			1: 'Spruce Wood',
			2: 'Birch Wood',
			3: 'Jungle Wood'
		},
		'leaves': {
			'id': 18,
			'category': 'Decoration Blocks',
			0: 'Oak Leaves',
			1: 'Spruce Leaves',
			2: 'Birch Leaves',
			3: 'Jungle Leaves'
		},
		'sponge': {
			'id': 19,
			'category': 'Building Blocks',
			0: 'Sponge',
			1: 'Wet Sponge'
		},
		'glass': {
			'id': 20,
			'category': 'Building Blocks',
			0: 'Glass'
		},
		'lapis_ore': {
			'id': 21,
			'category': 'Building Blocks',
			0: 'Lapis Lazuli Ore'
		},
		'lapis_block': {
			'id': 22,
			'category': 'Building Blocks',
			0: 'Lapis Lazuli Block'
		},
		'dispenser': {
			'id': 23,
			'category': 'Redstone',
			0: 'Dispenser'
		},
		'sandstone': {
			'id': 24,
			'category': 'Building Blocks',
			0: 'Sandstone',
			1: 'Chiseled Sandstone',
			2: 'Smooth Sandstone'
		},
		'noteblock': {
			'id': 25,
			'category': 'Redstone',
			0: 'Note Block'
		},
		# No item 26?
		'golden_rail': {
			'id': 27,
			'category': 'Transportation',
			0: 'Powered Rail'
		},
		'detector_rail': {
			'id': 28,
			'category': 'Transportation',
			0: 'Detector Rail'
		},
		'sticky_piston': {
			'id': 29,
			'category': 'Redstone',
			0: 'Sticky Piston'
		},
		'web': {
			'id': 30,
			'category': 'Decoration Blocks',
			0: 'Cobweb'
		},
		'tallgrass': {
			'id': 31,
			'category': 'Decoration Blocks',
			# Missing DV 0?
			1: 'Grass',
			2: 'Fern'
		},
		'deadbush': {
			'id': 32,
			'category': 'Decoration Blocks',
			0: 'Dead Bush'
		},
		'piston': {
			'id': 33,
			'category': 'Redstone',
			0: 'Piston'
		},
		# No item 34?
		'wool': {
			'id': 35,
			'category': 'Building Blocks',
			0: 'Wool',
			1: 'Orange Wool',
			2: 'Magenta Wool',
			3: 'Light Blue Wool',
			4: 'Yellow Wool',
			5: 'Lime Wool',
			6: 'Pink Wool',
			7: 'Gray Wool',
			8: 'Light Gray Wool',
			9: 'Cyan Wool',
			10: 'Purple Wool',
			11: 'Blue Wool',
			12: 'Brown Wool',
			13: 'Green Wool',
			14: 'Red Wool',
			15: 'Black Wool'
		},
		# No item 36?
		'yellow_flower': {
			'id': 37,
			'category': 'Decoration Blocks',
			0: 'Dandelion'
			# Marked for more DVs.
		},
		'red_flower': {
			'id': 38,
			'category': 'Decoration Blocks',
			0: 'Poppy',
			1: 'Blue Orchid',	# Not red.
			2: 'Allium',		# Also not red.
			3: 'Azure Bluet',	# Still not red.
			4: 'Red Tulip',		# Wow, good job, this one's red.
			5: 'Orange Tulip',	# Closer to red...?
			6: 'White Tulip',	# Farther from red.
			7: 'Pink Tulip',	# Ah, there we go, back on track.
			8: 'Oxeye Daisy'	# I give up at this point.
		},
		'brown_mushroom': {
			'id': 39,
			'category': 'Decoration Blocks',
			0: 'Mushroom'
		},
		'red_mushroom': {
			'id': 40,
			'category': 'Decoration Blocks',
			0: 'Mushroom'
		},
		'gold_block': {
			'id': 41,
			'category': 'Building Blocks',
			0: 'Block of Gold'
		},
		'iron_block': {
			'id': 42,
			'category': 'Building Blocks',
			0: 'Block of Iron'
		},
		# No item 43?
		'stone_slab': {
			'id': 44,
			'category': 'Building Blocks',
			0: 'Stone Slab',
			1: 'Sandstone Slab',
			# No DV 2?
			3: 'Cobblestone Slab',
			4: 'Bricks Slab',
			5: 'Stone Bricks Slab',
			6: 'Nether Brick Slab',
			7: 'Quartz Slab'
		},
		'brick_block': {
			'id': 45,
			'category': 'Building Blocks',
			0: 'Bricks'
		},
		'tnt': {
			'id': 46,
			'category': 'Redstone',
			0: 'TNT'
		},
		'bookshelf': {
			'id': 47,
			'category': 'Building Blocks',
			0: 'Bookshelf'
		},
		'mossy_cobblestone': {
			'id': 48,
			'category': 'Building Blocks',
			0: 'Moss Stone'
		},
		'obsidian': {
			'id': 49,
			'category': 'Building Blocks',
			0: 'Obsidian'
		},
		'torch': {
			'id': 50,
			'category': 'Decoration Blocks',
			0: 'Torch'
		},
		# No item 51?
		# No item 52?
		'oak_stairs': {
			'id': 53,
			'category': 'Building Blocks',
			0: 'Oak Wood Stairs'
		},
		'chest': {
			'id': 54,
			'category': 'Decoration Blocks',
			0: 'Chest'
		},
		# No item 55?
		'diamond_ore': {
			'id': 56,
			'category': 'Building Blocks',
			0: 'Diamond Ore'
		},
		'diamond_block': {
			'id': 57,
			'category': 'Building Blocks',
			0: 'Block of Diamond'
		},
		'crafting_table': {
			'id': 58,
			'category': 'Decoration Blocks',
			0: 'Crafting Table'
		},
		# No item 59?
		# No item 60?
		'furnace': {
			'id': 61,
			'category': 'Decoration Blocks',
			0: 'Furnace'
		},
		# No item 62?
		# No item 63?
		# No item 64?
		'ladder': {
			'id': 65,
			'category': 'Decoration Blocks',
			0: 'Ladder'
		},
		'rail': {
			'id': 66,
			'category': 'Transportation',
			0: 'Rail'
		},
		'stone_stairs': {
			'id': 67,
			'category': 'Building Blocks',
			0: 'Cobblestone Stairs'
		},
		# No item 68?
		'lever': {
			'id': 69,
			'category': 'Redstone',
			0: 'Lever'
		},
		'stone_pressure_plate': {
			'id': 70,
			'category': 'Redstone',
			0: 'Stone Pressure Plate'
		},
		# No item 71?
		'wooden_pressure_plate': {
			'id': 72,
			'category': 'Redstone',
			0: 'Wooden Pressure Plate'
		},
		'redstone_ore': {
			'id': 73,
			'category': 'Building Blocks',
			0: 'Redstone Ore'
		},
		# No item 74?
		# No item 75?
		'redstone_torch': {
			'id': 76,
			'category': 'Redstone',
			0: 'Redstone Torch'
		},
		'stone_button': {
			'id': 77,
			'category': 'Redstone',
			0: 'Button'
		},
		'snow_layer': {
			'id': 78,
			'category': 'Decoration Blocks',
			0: 'Snow'
			# Marked for more DVs.
		},
		'ice': {
			'id': 79,
			'category': 'Building Blocks',
			0: 'Ice'
		},
		'snow': {
			'id': 80,
			'category': 'Building Blocks',
			0: 'Snow'
		},
		'cactus': {
			'id': 81,
			'category': 'Decoration Blocks',
			0: 'Cactus'
		},
		'clay': {
			'id': 82,
			'category': 'Building Blocks',
			0: 'Clay'
		},
		# No item 83?
		'jukebox': {
			'id': 84,
			'category': 'Decoration Blocks',
			0: 'Jukebox'
		},
		'fence': {
			'id': 85,
			'category': 'Decoration Blocks',
			0: 'Oak Fence'
		},
		'pumpkin': {
			'id': 86,
			'category': 'Building Blocks',
			0: 'Pumpkin'
		},
		'netherrack': {
			'id': 87,
			'category': 'Building Blocks',
			0: 'Netherrack'
		},
		'soul_sand': {
			'id': 88,
			'category': 'Building Blocks',
			0: 'Soul Sand'
		},
		'glowstone': {
			'id': 89,
			'category': 'Building Blocks',
			0: 'Glowstone'
		},
		# No item 90?
		'lit_pumpkin': {
			'id': 91,
			'category': 'Building Blocks',
			0: 'Jack o\'Lantern'
		},
		# No item 92?
		# No item 93?
		# No item 94?
		'stained_glass': {
			'id': 95,
			'category': 'Building Blocks',
			0: 'White Stained Glass',
			1: 'Orange Stained Glass',
			2: 'Magenta Stained Glass',
			3: 'Light Blue Stained Glass',
			4: 'Yellow Stained Glass',
			5: 'Lime Stained Glass',
			6: 'Pink Stained Glass',
			7: 'Gray Stained Glass',
			8: 'Light Gray Stained Glass',
			9: 'Cyan Stained Glass',
			10: 'Purple Stained Glass',
			11: 'Blue Stained Glass',
			12: 'Brown Stained Glass',
			13: 'Green Stained Glass',
			14: 'Red Stained Glass',
			15: 'Black Stained Glass'
		},
		'trapdoor': {
			'id': 96,
			'category': 'Redstone',
			0: 'Wooden Trapdoor'
		},
		'monster_egg': {
			'id': 97,
			'category': 'Decoration Blocks',
			0: 'Stone Monster Egg',
			1: 'Cobblestone Monster Egg',
			2: 'Stone Brick Monster Egg',
			3: 'Mossy Stone Brick Monster Egg',
			4: 'Cracked Stone Brick Monster Egg',
			5: 'Chiseled Stone Brick Monster Egg'
		},
		'stonebrick': {
			'id': 98,
			'category': 'Building Blocks',
			0: 'Stone Bricks',
			1: 'Mossy Stone Bricks',
			2: 'Cracked Stone Bricks',
			3: 'Chiseled Stone Bricks'
		},
		# No item 99?
		# No item 100?
		'iron_bars': {
			'id': 101,
			'category': 'Decoration Blocks',
			0: 'Iron Bars'
		},
		'glass_pane': {
			'id': 102,
			'category': 'Decoration Blocks',
			0: 'Glass Pane'
		},
		'melon_block': {
			'id': 103,
			'category': 'Building Blocks',
			0: 'Melon'
		},
		# No item 104?
		# No item 105?
		'vine': {
			'id': 106,
			'category': 'Decoration Blocks',
			0: 'Vines'
		},
		'fence_gate': {
			'id': 107,
			'category': 'Redstone',
			0: 'Oak Fence Gate'
		},
		'brick_stairs': {
			'id': 108,
			'category': 'Building Blocks',
			0: 'Brick Stairs'
		},
		'stone_brick_stairs': {
			'id': 109,
			'category': 'Building Blocks',
			0: 'Stone Brick Stairs'
		},
		'mycelium': {
			'id': 110,
			'category': 'Building Blocks',
			0: 'Mycelium'
		},
		'waterlily': {
			'id': 111,
			'category': 'Decoration Blocks',
			0: 'Lily Pad'
		},
		'nether_brick': {
			'id': 112,
			'category': 'Building Blocks',
			0: 'Nether Brick'
		},
		'nether_brick_fence': {
			'id': 113,
			'category': 'Decoration Blocks',
			0: 'Nether Brick Fence'
		},
		'nether_brick_stairs': {
			'id': 114,
			'category': 'Building Blocks',
			0: 'Nether Brick Stairs'
		},
		# No item 115?
		'enchanting_table': {
			'id': 116,
			'category': 'Decoration Blocks',
			0: 'Enchantment Table'
		},
		# No item 117?
		# No item 118?
		# No item 119?
		'end_portal_frame': {
			'id': 120,
			'category': 'Decoration Blocks',
			0: 'End Portal'
		},
		'end_stone': {
			'id': 121,
			'category': 'Building Blocks',
			0: 'End Stone'
		},
		'redstone_lamp': {
			'id': 123,
			'category': 'Redstone',
			0: 'Redstone Lamp'
		},
		# No item 124?
		# No item 125?
		'wooden_slab': {
			'id': 126,
			'category': 'Building Blocks',
			0: 'Oak Wood Slab',
			1: 'Spruce Wood Slab',
			2: 'Birch Wood Slab',
			3: 'Jungle Wood Slab',
			4: 'Acacia Wood Slab',
			5: 'Dark Oak Wood Slab'
		},
		# No item 127?
		'sandstone_stairs': {
			'id': 128,
			'category': 'Building Blocks',
			0: 'Sandstone Stairs'
		},
		'emerald_ore': {
			'id': 129,
			'category': 'Building Blocks',
			0: 'Emerald Ore'
		},
		'ender_chest': {
			'id': 130,
			'category': 'Decoration Blocks',
			0: 'Ender Chest'
		},
		'tripwire_hook': {
			'id': 131,
			'category': 'Redstone',
			0: 'Tripwire Hook'
		},
		# No item 132?
		'emerald_block': {
			'id': 133,
			'category': 'Building Blocks',
			0: 'Block of Emerald'
		},
		'spruce_stairs': {
			'id': 134,
			'category': 'Building Blocks',
			0: 'Spruce Wood Stairs'
		},
		'birch_stairs': {
			'id': 135,
			'category': 'Building Blocks',
			0: 'Birch Wood Stairs'
		},
		'jungle_stairs': {
			'id': 136,
			'category': 'Building Blocks',
			0: 'Jungle Wood Stairs'
		},
		# No item 137?
		'beacon': {
			'id': 138,
			'category': 'Miscellaneous',
			0: 'Beacon'
		},
		'cobblestone_wall': {
			'id': 139,
			'category': 'Building Blocks',
			0: 'Cobblestone Wall',
			1: 'Mossy Cobblestone Wall'
		},
		# No item 140?
		# No item 141?
		# No item 142?
		'wooden_button': {
			'id': 143,
			'category': 'Redstone',
			0: 'Button'
		},
		# No item 144?
		'anvil': {
			'id': 145,
			'category': 'Decoration Blocks',
			0: 'Anvil',
			1: 'Slightly Damaged Anvil',
			2: 'Very Damaged Anvil'
		},
		'trapped_chest': {
			'id': 146,
			'category': 'Redstone',
			0: 'Trapped Chest'
		},
		'light_weighted_pressure_plate': {
			'id': 147,
			'category': 'Redstone',
			0: 'Weighted Pressure Plate (Light)'
		},
		'heavy_weighted_pressure_plate': {
			'id': 148,
			'category': 'Redstone',
			0: 'Weighted Pressure Plate (Heavy)'
		},
		# No item 149?
		# No item 150?
		'daylight_detector': {
			'id': 151,
			'category': 'Redstone',
			0: 'Daylight Sensor'
		},
		'redstone_block': {
			'id': 152,
			'category': 'Redstone',
			0: 'Block of Redstone'
		},
		'quartz_ore': {
			'id': 153,
			'category': 'Building Blocks',
			0: 'Nether Quartz Ore'
		},
		'hopper': {
			'id': 154,
			'category': 'Redstone',
			0: 'Hopper'
		},
		'quartz_block': {
			'id': 155,
			'category': 'Building Blocks',
			0: 'Block of Quartz',
			1: 'Chiseled Quartz Block',
			2: 'Pillar Quartz Block'
		},
		'quartz_stairs': {
			'id': 156,
			'category': 'Building Blocks',
			0: 'Quartz Stairs'
		},
		'activator_rail': {
			'id': 157,
			'category': 'Transportation',
			0: 'Activator Rail'
		},
		'dropper': {
			'id': 158,
			'category': 'Redstone',
			0: 'Dropper'
		},
		'stained_hardened_clay': {
			'id': 159,
			'category': 'Building Blocks',
			0: 'White Hardened Clay',
			1: 'Orange Hardened Clay',
			2: 'Magenta Hardened Clay',
			3: 'Light Blue Hardened Clay',
			4: 'Yellow Hardened Clay',
			5: 'Lime Hardened Clay',
			6: 'Pink Hardened Clay',
			7: 'Gray Hardened Clay',
			8: 'Light Gray Hardened Clay',
			9: 'Cyan Hardened Clay',
			10: 'Purple Hardened Clay',
			11: 'Blue Hardened Clay',
			12: 'Brown Hardened Clay',
			13: 'Green Hardened Clay',
			14: 'Red Hardened Clay',
			15: 'Black Hardened Clay'
		},
		'stained_glass_pane': {
			'id': 160,
			'category': 'Decoration Blocks',
			0: 'White Stained Glass Pane',
			1: 'Orange Stained Glass Pane',
			2: 'Magenta Stained Glass Pane',
			3: 'Light Blue Stained Glass Pane',
			4: 'Yellow Stained Glass Pane',
			5: 'Lime Stained Glass Pane',
			6: 'Pink Stained Glass Pane',
			7: 'Gray Stained Glass Pane',
			8: 'Light Gray Stained Glass Pane',
			9: 'Cyan Stained Glass Pane',
			10: 'Purple Stained Glass Pane',
			11: 'Blue Stained Glass Pane',
			12: 'Brown Stained Glass Pane',
			13: 'Green Stained Glass Pane',
			14: 'Red Stained Glass Pane',
			15: 'Black Stained Glass Pane'
		},
		'leaves2': {
			'id': 161,
			'category': 'Decoration Blocks',
			0: 'Acacia Leaves',
			1: 'Dark Oak Leaves'
		},
		'log2': {
			'id': 162,
			'category': 'Building Blocks',
			0: 'Acacia Wood',
			1: 'Dark Oak Wood'
		},
		'acacia_stairs': {
			'id': 163,
			'category': 'Building Blocks',
			0: 'Acacia Wood Stairs'
		},
		'dark_oak_stairs': {
			'id': 164,
			'category': 'Building Blocks',
			0: 'Dark Oak Wood Stairs'
		},
		'slime': {
			'id': 165,
			'category': 'Decoration Blocks',
			0: 'Slime Block'
		},
		'iron_trapdoor': {
			'id': 167,
			'category': 'Redstone',
			0: 'Iron Trapdoor'
		},
		'prismarine': {
			'id': 168,
			'category': 'Building Blocks',
			0: 'Prismarine',
			1: 'Prismarine Bricks',
			2: 'Dark Prismarine'
		},
		'sea_lantern': {
			'id': 169,
			'category': 'Building Blocks',
			0: 'Sea Lantern'
		},
		'hay_block': {
			'id': 170,
			'category': 'Building Blocks',
			0: 'Hay Bale'
		},
		'carpet': {
			'id': 171,
			'category': 'Decoration Blocks',
			0: 'Carpet',
			1: 'Orange Carpet',
			2: 'Magenta Carpet',
			3: 'Light Blue Carpet',
			4: 'Yellow Carpet',
			5: 'Lime Carpet',
			6: 'Pink Carpet',
			7: 'Gray Carpet',
			8: 'Light Gray Carpet',
			9: 'Cyan Carpet',
			10: 'Purple Carpet',
			11: 'Blue Carpet',
			12: 'Brown Carpet',
			13: 'Green Carpet',
			14: 'Red Carpet',
			15: 'Black Carpet'
		},
		'hardened_clay': {
			'id': 172,
			'category': 'Building Blocks',
			0: 'Hardened Clay'
		},
		'coal_block': {
			'id': 173,
			'category': 'Building Blocks',
			0: 'Block of Coal'
		},
		'packed_ice': {
			'id': 174,
			'category': 'Building Blocks',
			0: 'Packed Ice'
		},
		'double_plant': {
			'id': 175,
			'category': 'Decoration Blocks',
			0: 'Sunflower',
			1: 'Lilac',
			2: 'Double Tallgrass',
			3: 'Large Fern',
			4: 'Rose Bush',
			5: 'Peony'
		},
		# No item 176?
		# No item 177?
		# No item 178?
		'red_sandstone': {
			'id': 179,
			'category': 'Building Blocks',
			0: 'Red Sandstone',
			1: 'Chiseled Red Sandstone',
			2: 'Smooth Red Sandstone'
		},
		'red_sandstone_stairs': {
			'id': 180,
			'category': 'Building Blocks',
			0: 'Red Sandstone Stairs'
		},
		# No item 181?
		'stone_slab2': {
			'id': 182,
			'category': 'Building Blocks',
			0: 'Red Sandstone Slab'
			# Marked for more DVs.
		},
		'spruce_fence_gate': {
			'id': 183,
			'category': 'Redstone',
			0: 'Spruce Fence Gate'
		},
		'birch_fence_gate': {
			'id': 184,
			'category': 'Redstone',
			0: 'Birch Fence Gate'
		},
		'jungle_fence_gate': {
			'id': 185,
			'category': 'Redstone',
			0: 'Jungle Fence Gate'
		},
		'dark_oak_fence_gate': {
			'id': 186,
			'category': 'Redstone',
			0: 'Dark Oak Fence Gate'
		},
		'acacia_fence_gate': {
			'id': 187,
			'category': 'Redstone',
			0: 'Acacia Fence Gate'
		},
		'spruce_fence': {
			'id': 188,
			'category': 'Decoration Blocks',
			0: 'Spruce Fence'
		},
		'birch_fence': {
			'id': 189,
			'category': 'Decoration Blocks',
			0: 'Birch Fence'
		},
		'jungle_fence': {
			'id': 190,
			'category': 'Decoration Blocks',
			0: 'Jungle Fence'
		},
		'dark_oak_fence': {
			'id': 191,
			'category': 'Decoration Blocks',
			0: 'Dark Oak Fence'
		},
		'acacia_fence': {
			'id': 192,
			'category': 'Decoration Blocks',
			0: 'Acacia Fence'
		},
		# No item 193?
		# No item 194?
		# No item 195?
		# No item 196?
		# No item 197?
		'end_rod': {
			'id': 198,
			'category': 'Decoration Blocks',
			0: 'End Rod'
		},
		'chorus_plant': {
			'id': 199,
			'category': 'Decoration Blocks',
			0: 'Chorus Plant'
		},
		'chorus_flower': {
			'id': 200,
			'category': 'Decoration Blocks',
			0: 'Chorus Flower'
		},
		'purpur_block': {
			'id': 201,
			'category': 'Building Blocks',
			0: 'Purpur Block'
		},
		'purpur_pillar': {
			'id': 202,
			'category': 'Building Blocks',
			0: 'Purpur Pillar'
		},
		'purpur_stairs': {
			'id': 203,
			'category': 'Building Blocks',
			0: 'Purpur Stairs'
		},
		# No item 204?
		'purpur_slab': {
			'id': 205,
			'category': 'Building Blocks',
			0: 'Purpur Slab'
			# Marked for more DVs.
		},
		'end_bricks': {
			'id': 206,
			'category': 'Building Blocks',
			0: 'End Stone Bricks'
		},
		# No item 207?
		# No item 208?
		# No item 209?
		# No item 210?
		# No item 211?
		# No item 212?
		'magma': {
			'id': 213,
			'category': 'Building Blocks',
			0: 'Magma Block'
		},
		'nether_wart_block': {
			'id': 214,
			'category': 'Building Blocks',
			0: 'Nether Wart Block'
		},
		'red_nether_brick': {
			'id': 215,
			'category': 'Building Blocks',
			0: 'Red Nether Brick'
		},
		'bone_block': {
			'id': 216,
			'category': 'Building Blocks',
			0: 'Bone Block'
		},
		# No item...
		# ...
		# Start of 256 block.
		'iron_shovel': {
			'id': 256,
			'category': 'Tools',
			'name': 'Iron Shovel',
			'uses': 251
		},
		'iron_pickaxe': {
			'id': 257,
			'category': 'Tools',
			'name': 'Iron Pickaxe',
			'uses': 251
		},
		'iron_axe': {
			'id': 258,
			'category': 'Tools',
			'name': 'Iron Axe',
			'uses': 251
		},
		'flint_and_steel': {
			'id': 259,
			'category': 'Tools',
			'name': 'Flint and Steel',
			'uses': 65
		},
		'apple': {
			'id': 260,
			'category': 'Foodstuffs',
			0: 'Apple'
		},
		'bow': {
			'id': 261,
			'category': 'Combat',
			'name': 'Bow',
			'uses': 385
		},
		'arrow': {
			'id': 262,
			'category': 'Combat',
			0: 'Arrow'
		},
		'coal': {
			'id': 263,
			'category': 'Materials',
			0: 'Coal',
			1: 'Charcoal'
		},
		'diamond': {
			'id': 264,
			'category': 'Materials',
			0: 'Diamond'
		},
		'iron_ingot': {
			'id': 265,
			'category': 'Materials',
			0: 'Iron Ingot'
		},
		'gold_ingot': {
			'id': 266,
			'category': 'Materials',
			0: 'Gold Ingot'
		},
		'iron_sword': {
			'id': 267,
			'category': 'Combat',
			'name': 'Iron Sword',
			'uses': 251
		},
		'wooden_sword': {
			'id': 268,
			'category': 'Combat',
			'name': 'Wooden Sword',
			'uses': 60
		},
		'wooden_shovel': {
			'id': 269,
			'category': 'Tools',
			'name': 'Wooden Shovel',
			'uses': 60
		},
		'wooden_pickaxe': {
			'id': 270,
			'category': 'Tools',
			'name': 'Wooden Pickaxe',
			'uses': 60
		},
		'wooden_axe': {
			'id': 271,
			'category': 'Tools',
			'name': 'Wooden Axe',
			'uses': 60
		},
		'stone_sword': {
			'id': 272,
			'category': 'Combat',
			'name': 'Stone Sword',
			'uses': 132
		},
		'stone_shovel': {
			'id': 273,
			'category': 'Tools',
			'name': 'Stone Shovel',
			'uses': 132
		},
		'stone_pickaxe': {
			'id': 274,
			'category': 'Tools',
			'name': 'Stone Pickaxe',
			'uses': 132
		},
		'stone_axe': {
			'id': 275,
			'category': 'Tools',
			'name': 'Stone Axe',
			'uses': 132
		},
		'diamond_sword': {
			'id': 276,
			'category': 'Combat',
			'name': 'Diamond Sword',
			'uses': 1562
		},
		'diamond_shovel': {
			'id': 277,
			'category': 'Tools',
			'name': 'Diamond Shovel',
			'uses': 1562
		},
		'diamond_pickaxe': {
			'id': 278,
			'category': 'Tools',
			'name': 'Diamond Pickaxe',
			'uses': 1562
		},
		'diamond_axe': {
			'id': 279,
			'category': 'Tools',
			'name': 'Diamond Axe',
			'uses': 1562
		},
		'stick': {
			'id': 280,
			'category': 'Materials',
			0: 'Stick'
		},
		'bowl': {
			'id': 281,
			'category': 'Materials',
			0: 'Bowl'
		},
		'mushroom_stew': {
			'id': 282,
			'category': 'Foodstuffs',
			0: 'Mushroom Stew'
		},
		'golden_sword': {
			'id': 283,
			'category': 'Combat',
			'name': 'Golden Sword',
			'uses': 33
		},
		'golden_shovel': {
			'id': 284,
			'category': 'Tools',
			'name': 'Golden Shovel',
			'uses': 33
		},
		'golden_pickaxe': {
			'id': 285,
			'category': 'Tools',
			'name': 'Golden Pickaxe',
			'uses': 33
		},
		'golden_axe': {
			'id': 286,
			'category': 'Tools',
			'name': 'Golden Axe',
			'uses': 33
		},
		'string': {
			'id': 287,
			'category': 'Materials',
			0: 'String'
		},
		'feather': {
			'id': 288,
			'category': 'Materials',
			0: 'Feather'
		},
		'gunpowder': {
			'id': 289,
			'category': 'Materials',
			0: 'Gunpowder'
		},
		'wooden_hoe': {
			'id': 290,
			'category': 'Tools',
			'name': 'Wooden Hoe',
			'uses': 60
		},
		'stone_hoe': {
			'id': 291,
			'category': 'Tools',
			'name': 'Stone Hoe',
			'uses': 132
		},
		'iron_hoe': {
			'id': 292,
			'category': 'Tools',
			'name': 'Iron Hoe',
			'uses': 251
		},
		'diamond_hoe': {
			'id': 293,
			'category': 'Tools',
			'name': 'Diamond Hoe',
			'uses': 1562
		},
		'golden_hoe': {
			'id': 294,
			'category': 'Tools',
			'names': 'Golden Hoe',
			'uses': 33
		},
		'wheat_seeds': {
			'id': 295,
			'category': 'Materials',
			0: 'Seeds'
		},
		'wheat': {
			'id': 296,
			'category': 'Materials',
			0: 'Wheat'
		},
		'bread': {
			'id': 297,
			'category': 'Foodstuffs',
			0: 'Bread'
		},
		'leather_helmet': {
			'id': 298,
			'category': 'Combat',
			'name': 'Leather Cap',
			'uses': 56,
			'armor': 1,
			'toughness': 0
		},
		'leather_chestplate': {
			'id': 299,
			'category': 'Combat',
			'name': 'Leather Tunic',
			'uses': 81,
			'armor': 3,
			'toughness': 0
		},
		'leather_leggings': {
			'id': 300,
			'category': 'Combat',
			'name': 'Leather Pants',
			'uses': 76,
			'armor': 2,
			'toughness': 0
		},
		'leather_boots': {
			'id': 301,
			'category': 'Combat',
			'name': 'Leather Boots',
			'uses': 66,
			'armor': 1,
			'toughness': 0
		},
		'chainmail_helmet': {
			'id': 302,
			'category': 'Combat',
			'name': 'Chain Helmet',
			'uses': 166,
			'armor': 2,
			'toughness': 0
		},
		'chainmail_chestplate': {
			'id': 303,
			'category': 'Combat',
			'name': 'Chain Chestplate',
			'uses': 241,
			'armor': 5,
			'toughness': 0
		},
		'chainmail_leggings': {
			'id': 304,
			'category': 'Combat',
			'name': 'Chain Leggings',
			'uses': 226,
			'armor': 4,
			'toughness': 0
		},
		'chainmail_boots': {
			'id': 305,
			'category': 'Combat',
			'name': 'Chain Boots',
			'uses': 196,
			'armor': 1,
			'toughness': 0
		},
		'iron_helmet': {
			'id': 306,
			'category': 'Combat',
			'name': 'Iron Helmet',
			'uses': 166,
			'armor': 2,
			'toughness': 0
		},
		'iron_chestplate': {
			'id': 307,
			'category': 'Combat',
			'name': 'Iron Chestplate',
			'uses': 241,
			'armor': 6,
			'toughness': 0
		},
		'iron_leggings': {
			'id': 308,
			'category': 'Combat',
			'name': 'Iron Leggings',
			'uses': 226,
			'armor': 5,
			'toughness': 0
		},
		'iron_boots': {
			'id': 309,
			'category': 'Combat',
			'name': 'Iron Boots',
			'uses': 196,
			'armor': 2,
			'toughness': 0
		},
		'diamond_helmet': {
			'id': 310,
			'category': 'Combat',
			'name': 'Diamond Helmet',
			'uses': 364,
			'armor': 3,
			'toughness': 2
		},
		'diamond_chestplate': {
			'id': 311,
			'category': 'Combat',
			'name': 'Diamond Chestplate',
			'uses': 529,
			'armor': 8,
			'toughness': 2
		},
		'diamond_leggings': {
			'id': 312,
			'category': 'Combat',
			'name': 'Diamond Leggings',
			'uses': 496,
			'armor': 6,
			'toughness': 2
		},
		'diamond_boots': {
			'id': 313,
			'category': 'Combat',
			'name': 'Diamond Boots',
			'uses': 430,
			'armor': 3,
			'toughness': 2
		},
		'golden_helmet': {
			'id': 314,
			'category': 'Combat',
			'name': 'Golden Helmet',
			'uses': 78,
			'armor': 2,
			'toughness': 0
		},
		'golden_chestplate': {
			'id': 315,
			'category': 'Combat',
			'name': 'Golden Chestplate',
			'uses': 113,
			'armor': 5,
			'toughness': 0
		},
		'golden_leggings': {
			'id': 316,
			'category': 'Combat',
			'name': 'Golden Leggings',
			'uses': 106,
			'armor': 3,
			'toughness': 0
		},
		'golden_boots': {
			'id': 317,
			'category': 'Combat',
			'name': 'Golden Boots',
			'uses': 92,
			'armor': 1,
			'toughness': 0
		},
		'flint': {
			'id': 318,
			'category': 'Materials',
			0: 'Flint'
		},
		'porkchop': {
			'id': 319,
			'category': 'Foodstuffs',
			0: 'Raw Porkchop'
		},
		'cooked_porkchop': {
			'id': 320,
			'category': 'Foodstuffs',
			0: 'Cooked Porkchop'
		},
		'painting': {
			'id': 321,
			'category': 'Decoration Blocks',
			0: 'Painting'
		},
		'golden_apple': {
			'id': 322,
			'category': 'Foodstuffs',
			0: 'Golden Apple',	# Regular.
			1: 'Golden Apple'	# Notch Apple.
		},
		'sign': {
			'id': 323,
			'category': 'Decoration Blocks',
			0: 'Sign'
		},
		'wooden_door': {
			'id': 324,
			'category': 'Redstone',
			0: 'Oak Door'
		},
		'bucket': {
			'id': 325,
			'category': 'Miscellaneous',
			0: 'Bucket'
		},
		'water_bucket': {
			'id': 326,
			'category': 'Miscellaneous',
			0: 'Water Bucket'
		},
		'lava_bucket': {
			'id': 327,
			'category': 'Miscellaneous',
			0: 'Lava Bucket'
		},
		'minecart': {
			'id': 328,
			'category': 'Transportation',
			0: 'Minecart'
		},
		'saddle': {
			'id': 329,
			'category': 'Transportation',
			0: 'Saddle'
		},
		'iron_door': {
			'id': 330,
			'category': 'Redstone',
			0: 'Iron Door'
		},
		'redstone': {
			'id': 331,
			'category': 'Redstone',
			0: 'Redstone'
		},
		'snowball': {
			'id': 332,
			'category': 'Miscellaneous',
			0: 'Snowball'
		},
		'boat': {
			'id': 333,
			'category': 'Transportation',
			0: 'Oak Boat'
		},
		'leather': {
			'id': 334,
			'category': 'Materials',
			0: 'Leather'
		},
		'milk_bucket': {
			'id': 335,
			'category': 'Miscellaneous',
			0: 'Milk'
		},
		'brick': {
			'id': 336,
			'category': 'Materials',
			0: 'Brick'
		},
		'clay_ball': {
			'id': 337,
			'category': 'Materials',
			0: 'Clay'
		},
		'reeds': {
			'id': 338,
			'category': 'Materials',
			0: 'Sugar Canes'
		},
		'paper': {
			'id': 339,
			'category': 'Miscellaneous',
			0: 'Paper'
		},
		'book': {
			'id': 340,
			'category': 'Miscellaneous',
			0: 'Book'
		},
		'slime_ball': {
			'id': 341,
			'category': 'Miscellaneous',
			0: 'Slimeball'
		},
		'chest_minecart': {
			'id': 342,
			'category': 'Transportation',
			0: 'Minecart with Chest'
		},
		'furnace_minecart': {
			'id': 343,
			'category': 'Transportation',
			0: 'Minecart with Furnace'
		},
		'egg': {
			'id': 334,
			'category': 'Materials',
			0: 'Egg'
		},
		'compass': {
			'id': 345,
			'category': 'Tools',
			0: 'Compass'
		},
		'fishing_rod': {
			'id': 346,
			'category': 'Tools',
			'name': 'Fishing Rod',
			'uses': 65
		},
		'clock': {
			'id': 347,
			'category': 'Tools',
			0: 'Clock'
		},
		'glowstone_dust': {
			'id': 348,
			'category': 'Materials',
			0: 'Glowstone Dust'
		},
		'fish': {
			'id': 349,
			'category': 'Foodstuffs',
			0: 'Raw Fish',
			1: 'Raw Salmon',
			2: 'Clownfish',
			3: 'Pufferfish'
		},
		'cooked_fish': {
			'id': 350,
			'category': 'Foodstuffs',
			0: 'Cooked Fish',
			1: 'Cooked Salmon'
		},
		'dye': {
			'id': 351,
			'category': 'Materials',
			0: 'Ink Sac',
			1: 'Rose Red',
			2: 'Cactus Green',
			3: 'Cocoa Beans',
			4: 'Lapis Lazuli',
			5: 'Purple Dye',
			6: 'Cyan Dye',
			7: 'Light Gray Dye',
			8: 'Gray Dye',
			9: 'Pink Dye',
			10: 'Lime Dye',
			11: 'Dandelion Yellow',
			12: 'Light Blue Dye',
			13: 'Magenta Dye',
			14: 'Orange Dye',
			15: 'Bone Meal'
		},
		'bone': {
			'id': 352,
			'category': 'Miscellaneous',
			0: 'Bone'
		},
		'sugar': {
			'id': 353,
			'category': 'Materials',
			0: 'Sugar'
		},
		'cake': {
			'id': 354,
			'category': 'Foodstuffs',
			0: 'Cake'
		},
		'bed': {
			'id': 355,
			'category': 'Decoration Blocks',
			0: 'Bed'
		},
		'repeater': {
			'id': 356,
			'category': 'Redstone',
			0: 'Redstone Repeater'
		},
		'cookie': {
			'id': 357,
			'category': 'Foodstuffs',
			0: 'Cookie'
		},
		# No item 358?
		'shears': {
			'id': 359,
			'category': 'Tools',
			'name': 'Shears',
			'uses': 238
		},
		'melon': {
			'id': 360,
			'category': 'Foodstuffs',
			0: 'Melon'
		},
		'pumpkin_seeds': {
			'id': 361,
			'category': 'Materials',
			0: 'Pumpkin Seeds'
		},
		'melon_seeds': {
			'id': 362,
			'category': 'Materials',
			0: 'Melon Seeds'
		},
		'beef': {
			'id': 363,
			'category': 'Foodstuffs',
			0: 'Raw Beef'
		},
		'cooked_beef': {
			'id': 364,
			'category': 'Foodstuffs',
			0: 'Steak'
		},
		'chicken': {
			'id': 365,
			'category': 'Foodstuffs',
			0: 'Raw Chicken'
		},
		'cooked_chicken': {
			'id': 366,
			'category': 'Foodstuffs',
			0: 'Cooked Chicken'
		},
		'rotten_flesh': {
			'id': 367,
			'category': 'Foodstuffs',
			0: 'Rotten Flesh'
		},
		'ender_pearl': {
			'id': 368,
			'category': 'Miscellaneous',
			0: 'Ender Pearl'
		},
		'blaze_rod': {
			'id': 369,
			'category': 'Materials',
			0: 'Blaze Rod'
		},
		'ghast_tear': {
			'id': 370,
			'category': 'Brewing',
			0: 'Ghast Tear'
		},
		'gold_nugget': {
			'id': 371,
			'category': 'Materials',
			0: 'Gold Nugget'
		},
		'nether_wart': {
			'id': 372,
			'category': 'Materials',
			0: 'Nether Wart'
		},
		'potion': {
			'id': 373,
			'category': 'Brewing',
			0: 'Potion'	# Potions are stored as NBT data.
		},
		'glass_bottle': {
			'id': 374,
			'category': 'Brewing',
			0: 'Glass Bottle'
		},
		'spider_eye': {
			'id': 375,
			'category': 'Foodstuffs',
			0: 'Spider Eye'
		},
		'fermented_spider_eye': {
			'id': 376,
			'category': 'Brewing',
			0: 'Fermented Spider Eye'
		},
		'blaze_powder': {
			'id': 377,
			'category': 'Brewing',
			0: 'Blaze Powder'
		},
		'magma_cream': {
			'id': 378,
			'category': 'Brewing',
			0: 'Magma Cream'
		},
		'brewing_stand': {
			'id': 379,
			'category': 'Brewing',
			0: 'Brewing Stand'
		},
		'cauldron': {
			'id': 380,
			'category': 'Brewing',
			0: 'Cauldron'
		},
		'ender_eye': {
			'id': 381,
			'category': 'Miscellaneous',
			0: 'Eye of Ender'
		},
		'speckled_melon': {
			'id': 382,
			'category': 'Brewing',
			0: 'Glistering Melon'
		},
		'spawn_egg': {
			'id': 383,
			'category': 'Miscellaneous',
			0: 'Spawn Egg'	# Entity data is stored as NBT data.
		},
		'experience_bottle': {
			'id': 384,
			'category': 'Miscellaneous',
			0: 'Bottle o\' Enchanting'
		},
		'fire_charge': {
			'id': 385,
			'category': 'Miscellaneous',
			0: 'Fire Charge'
		},
		'writable_book': {
			'id': 386,
			'category': 'Miscellaneous',
			0: 'Book and Quill'
		},
		# No item 387?
		'emerald': {
			'id': 388,
			'category': 'Materials',
			0: 'Emerald'
		},
		'item_frame': {
			'id': 389,
			'category': 'Decoration Blocks',
			0: 'Item Frame'
		},
		'flower_pot': {
			'id': 390,
			'category': 'Decoration Blocks',
			0: 'Flower Pot'
		},
		'carrot': {
			'id': 391,
			'category': 'Foodstuff',
			0: 'Carrot'
		},
		'potato': {
			'id': 392,
			'category': 'Foodstuff',
			0: 'Potato'
		},
		'baked_potato': {
			'id': 393,
			'category': 'Foodstuffs',
			0: 'Baked Potato'
		},
		'poisonous_potato': {
			'id': 394,
			'category': 'Foodstuffs',
			0: 'Poisonous Potato'
		},
		'map': {
			'id': 395,
			'category': 'Miscellaneous',
			0: 'Empty Map'
		},
		'golden_carrot': {
			'id': 396,
			'category': 'Brewing',
			0: 'Golden Carrot'
		},
		'skull': {
			'id': 397,
			'category': 'Decoration Blocks',
			0: 'Skeleton Skull',
			1: 'Wither Skeleton Skull',
			2: 'Zombie Head',
			3: 'Head',
			4: 'Creeper Head',
			5: 'Dragon Head'
		},
		'carrot_on_a_stick': {
			'id': 398,
			'category': 'Transportation',
			'name': 'Carrot on a Stick',
			'uses': 26
		},
		'nether_star': {
			'id': 399,
			'category': 'Materials',
			0: 'Nether Star'
		},
		'pumpkin_pie': {
			'id': 400,
			'category': 'Foodstuffs',
			0: 'Pumpkin Pie'
		},
		# No item 401?
		'firework_charge': {
			'id': 402,
			'category': 'Miscellaneous',
			0: 'Firework Star'
		},
		'enchanted_book': {
			'id': 403,
			'category': 'Miscellaneous',	# Category changes based on enchant.
			0: 'Enchanted Book'		# Enchant is stored as NBT data.
		},
		'comparator': {
			'id': 404,	# If you make a HTTP joke you will be slapped.
			'category': 'Redstone',
			0: 'Redstone Comparator'
		},
		'netherbrick': {
			'id': 405,
			'category': 'Materials',
			0: 'Nether Brick'
		},
		'quartz': {
			'id': 406,
			'category': 'Materials',
			0: 'Nether Quartz'
		},
		'tnt_minecart': {
			'id': 407,
			'category': 'Transportation',
			0: 'Minecart with TNT'
		},
		'hopper_minecart': {
			'id': 408,
			'category': 'Transportation',
			0: 'Minecart with Hopper'
		},
		'prismarine_shard': {
			'id': 409,
			'category': 'Materials',
			0: 'Prismarine Shard'
		},
		'prismarine_crystals': {
			'id': 410,
			'category': 'Materials',
			0: 'Prismarine Crystals'
		},
		'rabbit': {
			'id': 411,
			'category': 'Foodstuffs',
			0: 'Raw Rabbit'
		},
		'cooked_rabbit': {
			'id': 412,
			'category': 'Foodstuffs',
			0: 'Cooked Rabbit'
		},
		'rabbit_stew': {
			'id': 413,
			'category': 'Foodstuffs',
			0: 'Rabbit Stew'
		},
		'rabbit_foot': {
			'id': 414,
			'category': 'Brewing',
			0: 'Rabbit\'s Foot'
		},
		'rabbit_hide': {
			'id': 415,
			'category': 'Materials',
			0: 'Rabbit Hide'
		},
		'armor_stand': {
			'id': 416,
			'category': 'Decoration Blocks',
			0: 'Armor Stand'
		},
		'iron_horse_armor': {
			'id': 417,
			'category': 'Miscellaneous',
			0: 'Iron Horse Armor'
		},
		'golden_horse_armor': {
			'id': 418,
			'category': 'Miscellaneous',
			0: 'Gold Horse Armor'
		},
		'diamond_horse_armor': {
			'id': 419,
			'category': 'Miscellaneous',
			0: 'Diamond Horse Armor'
		},
		'lead': {
			'id': 420,
			'category': 'Tools',
			0: 'Lead'
		},
		'name_tag': {
			'id': 421,
			'category': 'Tools',
			0: 'Name Tag'
		},
		# No item 422?
		'mutton': {
			'id': 423,
			'category': 'Foodstuffs',
			0: 'Raw Mutton'
		},
		'cooked_mutton': {
			'id': 424,
			'category': 'Foodstuffs',
			0: 'Cooked Mutton'
		},
		'banner': {
			'id': 425,
			'category': 'Decoration Blocks',
			0: 'Black Banner',	# Colours are in reverse order...?
			1: 'Red Banner',
			2: 'Green Banner',
			3: 'Brown Banner',
			4: 'Blue Banner',
			5: 'Purple Banner',
			6: 'Cyan Banner',
			7: 'Light Gray Banner',
			8: 'Gray Banner',
			9: 'Pink Banner',
			10: 'Lime Banner',
			11: 'Yellow Banner',
			12: 'Light Blue Banner',
			13: 'Magenta Banner',
			14: 'Orange Banner',
			15: 'White Banner'
		},
		'end_crystal': {
			'id': 426,
			'category': 'Decoration Blocks',
			0: 'End Crystal'
		},
		'spruce_door': {
			'id': 427,
			'category': 'Redstone',
			0: 'Spruce Door'
		},
		'birch_door': {
			'id': 428,
			'category': 'Redstone',
			0: 'Birch Door'
		},
		'jungle_door': {
			'id': 429,
			'category': 'Redstone',
			0: 'Jungle Door'
		},
		'acacia_door': {
			'id': 430,
			'category': 'Redstone',
			0: 'Acacia Door'
		},
		'dark_oak_door': {
			'id': 431,
			'category': 'Redstone',
			0: 'Dark Oak Door'
		},
		'chorus_fruit': {
			'id': 432,
			'category': 'Materials',
			0: 'Chorus Fruit'
		},
		'chorus_fruit_popped': {
			'id': 433,
			'category': 'Materials',
			0: 'Popped Chorus Fruit'
		},
		'beetroot': {
			'id': 434,
			'category': 'Foodstuffs',
			0: 'Beetroot'
		},
		'beetroot_seeds': {
			'id': 435,
			'category': 'Materials',
			0: 'Beetroot Seeds'
		},
		'beetroot_soup': {
			'id': 436,
			'category': 'Foodstuffs',
			0: 'Beetroot Soup'
		},
		'dragon_breath': {
			'id': 437,
			'category': 'Brewing',
			0: 'Dragon\'s Breath'
		},
		'splash_potion': {
			'id': 438,
			'category': 'Brewing',
			0: 'Splash Potion'	# Potion is stored as NBT data.
		},
		'spectral_arrow': {
			'id': 439,
			'category': 'Combat',
			0: 'Spectral Arrow'
		},
		'tipped_arrow': {
			'id': 440,
			'category': 'Combat',
			0: 'Tipped Arrow'	# Arrow type is stored as NBT data.
		},
		'lingering_potion': {
			'id': 441,
			'category': 'Brewing',
			0: 'Lingering Potion'	# Potion is stored as NBT data.
		},
		'shield': {
			'id': 442,
			'category': 'Combat',
			'name': 'Shield',
			'uses': 337
		},
		'elytra': {
			'id': 443,
			'category': 'Transportation',
			'name': 'Elytra',
			'uses': 431
		},
		'spruce_boat': {
			'id': 444,
			'category': 'Transportation',
			0: 'Spruce Boat'
		},
		'birch_boat': {
			'id': 445,
			'category': 'Transportation',
			0: 'Birch Boat'
		},
		'jungle_boat': {
			'id': 446,
			'category': 'Transportation',
			0: 'Jungle Boat'
		},
		'acacia_boat': {
			'id': 447,
			'category': 'Transportation',
			0: 'Acacia Boat'
		},
		'dark_oak_boat': {
			'id': 448,
			'category': 'Transportation',
			0: 'Dark Oak Boat'
		},
		# Missing item...
		# ...
		# Start of 2256 block.
		'record_13': {
			'id': 2256,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_cat': {
			'id': 2257,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_blocks': {
			'id': 2258,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_chirp': {
			'id': 2259,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_far': {
			'id': 2260,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_mall': {
			'id': 2261,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_mellohi': {
			'id': 2262,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_stal': {
			'id': 2263,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_strad': {
			'id': 2264,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_ward': {
			'id': 2265,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_11': {
			'id': 2266,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		},
		'record_wait': {
			'id': 2267,
			'category': 'Miscellaneous',
			0: 'Music Disc'
		}
	}
}

enchantments = {
	'minecraft': {
		'__VERSION__': 1.10,
		'__LANGUAGE__': 'en_US',
		# Begin Armour Block.
		'protection': {
			'id': 0,
			'name': 'Protection'
		},
		'fire_protection': {
			'id': 1,
			'name': 'Fire Protection'
		},
		'feather_falling': {
			'id': 2,
			'name': 'Feather Falling'
		},
		'blast_protection': {
			'id': 3,
			'name': 'Blast Protection'
		},
		'projectile_protection': {
			'id': 4,
			'name': 'Projectile Protection'
		},
		'respiration': {
			'id': 5,
			'name': 'Respiration'
		},
		'aqua_affinity': {
			'id': 6,
			'name': 'Aqua Affinity'
		},
		'thorns': {
			'id': 7,
			'name': 'Thorns'
		},
		'depth_strider': {
			'id': 8,
			'name': 'Depth Strider'
		},
		'frost_walker': {
			'id': 9,
			'name': 'Frost Walker'
		},
		# End Armour Block.

		# Begin Sword Block.
		'sharpness': {
			'id': 16,
			'name': 'Sharpness'
		},
		'smite': {
			'id': 17,
			'name': 'Smite'
		},
		'bane_of_arthropods': {
			'id': 18,
			'name': 'Bane of Arthropods'
		},
		'knockback': {
			'id': 19,
			'name': 'Knockback'
		},
		'fire_aspect': {
			'id': 20,
			'name': 'Fire Aspect'
		},
		'looting': {
			'id': 21,
			'name': 'Looting'
		},
		# End Sword Block.

		# Begin Tools Block.
		'efficiency': {
			'id': 32,
			'name': 'Efficiency'
		},
		'silk_touch': {
			'id': 33,
			'name': 'Silk Touch'
		},
		'unbreaking': {
			'id': 34,
			'name': 'Unbreaking'
		},
		'fortune': {
			'id': 35,
			'name': 'Fortune'
		},
		# End Tools Block.

		# Begin Bows Block.
		'power': {
			'id': 48,
			'name': 'Power'
		},
		'punch': {
			'id': 49,
			'name': 'Punch'
		},
		'flame': {
			'id': 50,
			'name': 'Flame'
		},
		'infinity': {
			'id': 51,
			'name': 'Flame'
		},
		# End Bows Block.

		# Begin Fishing Rods Block.
		'luck_of_the_sea': {
			'id': 61,
			'name': 'Luck of the Sea'
		},
		'lure': {
			'id': 62,
			'name': 'Lure'
		},
		# End Fishing Rods Block.

		# Begin Misc Block.
		'mending': {
			'id': 70,
			'name': 'Mending'
		}
		# End Misc Block.
	}
}

# Roman Numeral Conversion
# Inspired by: https://stackoverflow.com/a/28777781
romanNumerals = (
	(1000, 'M'),
	(900, 'CM'),
	(500, 'D'),
	(400, 'CD'),
	(100, 'C'),
	(90, 'XC'),
	(50, 'L'),
	(40, 'XL'),
	(10, 'X'),
	(9, 'IX'),
	(5, 'V'),
	(4, 'IV'),
	(1, 'I')
)
def intToRoman(number):
	romanString = ''
	for romanTuple in romanNumerals:
		div, number = divmod(number, romanTuple[0])
		romanString += romanTuple[1] * div
	return romanString

def lookupItem(item, damage=0):
	mod, item = item.split(':')
	result = [None, None, None, None]
	if mod in items and item in items[mod]:
		if damage in items[mod][item]:
			result[0] = items[mod][item][damage]
		elif 'name' in items[mod][item]:
			result[0] = items[mod][item]['name']
		else:
			result[0] = '[Unknown Name]'
		if 'uses' in items[mod][item]:
			result[1] = '{:.1%}'.format((items[mod][item]['uses'] - damage) / float(items[mod][item]['uses']))
		if 'armor' in items[mod][item]:
			result[2] = items[mod][item]['armor']
		if 'toughness' in items[mod][item]:
			result[3] = items[mod][item]['toughness']
	else:
		result[0] = '[Item Not Found]'
	return result

def lookupNumericItem(itemNumeric, damage=0):
	print('WARNING: Item numeric IDs are deprecated. Please use text IDs.')
	result = [None, None, None, None]
	for mod in items.values():
		for item in mod.values():
			if type(item) is dict and item['id'] == itemNumeric:
				if damage in item:
					result[0] = item[damage]
				elif 'name' in item:
					result[0] = item['name']
				else:
					result[0] = '[Unknown Name]'
				if 'uses' in item:
					result[1] = '{:.1%}'.format((item['uses'] - damage) / float(item['uses']))
				if 'armor' in item:
					result[2] = item['armor']
				if 'toughness' in item:
					result[3] = item['toughness']
				break
	if not result[0]:
		result[0] = '[Item Not Found]'
	return result

def lookupEnchant(enchant, level=None):
	mod, enchant = enchant.split(':')
	result = [None, None]
	if mod in enchantments and enchant in enchantments[mod]:
		if 'name' in enchantments[mod][enchant]:
			result[0] = enchantments[mod][enchant]['name']
		else:
			result[0] = '[Unknown Name]'
	else:
		result[0] = '[Enchantment Not Found]'
	if level:
		result[1] = intToRoman(level)
	return result

def lookupNumericEnchant(enchantNumeric, level=None):
	result = [None, None]
	for mod in enchantments.values():
		for enchant in mod.values():
			if type(enchant) is dict and enchant['id'] == enchantNumeric:
				if 'name' in enchant:
					result[0] = enchant['name']
				else:
					result[0] = '[Unknown Name]'
				break
	if not result[0]:
		result[0] = '[Enchantment Not Found]'
	if level:
		result[1] = intToRoman(level)
	return result
