Code (cpp):
String [] ItemTechnicalName = {"stone","grass","dirt","cobblestone","planks","sapling","bedrock","flowing_water","water","flowing_lava","lava","sand","gravel","gold_ore","iron_ore","coal_ore","log","leaves","sponge","glass","lapis_ore","laps_block","dispenser","sandstone","noteblock","golder_rail","detector_rail","sticky_piston","web","tallgrass","deadbush","piston","wool","yellow_flower","red_flower","brown_mushroom","red_mushroom","gold_block","iron_block","double_stone_slab","stone_slab","brick_block","tnt","bookshelf","mossy_cobblestone","obsidian","torch","fire","mob_spawner","oak_stairs","chest","diamond_ore","diamond_block","crafting_table","farmland","furnace","lit_furnace","ladder","rail","stone_stairs","lever","stone_pressure_plate","wooden_pressure_plate","redstone_ore","redstone_torch","stone_button","snow_layer","ice","snow","cactus","clay","jukebox","fence","pumpkin","netherrack","soul_sand","glowstone","portal","lit_pumpkin","stained_glass","trapdoor","monster_egg","stone_brick","brown_mushroom_block","red_mushroom_block","iron_bars","glass_pane","melon_block","vine","fence_gate","brick_staris","stone_bricks_stairs","mycelium","waterlily","nether_brick","nether_brick_fence","nether_bricks_stairs","enchanting_table","end_portal_frame","end_stone","dragon_egg","redstone_lamp","wooden_slab","cocoa","sandstone_stairs","emerald_ore","ender_chest","tripwire_hook","emerald_block","spruce_staris","birch_stairs","jungle_stairs","command_block","beacon","cobblestone_wall","wooden_button","anvil","trapped_chest","light_weighted_pressure_plate","heavy_weighted_pressure_plate"}