Module:Hardness values

return { --Arrange from greatest hardness to least hardness. ['flowing lava'] = 100, ['lava'] = 100, ['flowing water'] = 100, ['water'] = 100, ['obsidian'] = 50, ['block of netherite'] = 50, ['crying obsidian'] = 50, ['respawn anchor'] = 50, ['ancient debris'] = 30, ['ender chest'] = 22.5, ['hardened glass'] = 10, ['hardened glass pane'] = 10, ['anvil'] = 5, ['bell'] = 5, ['coal block'] = 5, ['block of coal'] = 5, ['diamond block'] = 5, ['block of diamond'] = 5, ['emerald block'] = 5, ['block of emerald'] = 5, ['enchanting table'] = 5, ['enchantment table'] = 5, ['iron block'] = 5, ['block of iron'] = 5, ['iron bars'] = 5, ['iron door'] = 5, ['spawner'] = 5, ['mob spawner'] = 5, ['monster spawner'] = 5, ['redstone block'] = 5, ['block of redstone'] = 5, ['iron trapdoor'] = 5, ['web'] = 4, ['cobweb'] = 4, ['blast furnace'] = 3.5, ['dispenser'] = 3.5, ['dropper'] = 3.5, ['furnace'] = 3.5, ['lantern'] = 3.5, ['observer'] = 3.5, ['smoker'] = 3.5, ['stonecutter'] = 3.5, ['beacon'] = 3, ['coal ore'] = 3, ['diamond ore'] = 3, ['dragon egg'] = 3, ['emerald ore'] = 3, ['end stone'] = 3, ['end stone bricks'] = 3, ['gold'] = 3, ['block of gold'] = 3, ['gold ore'] = 3, ['hopper'] = 3, ['iron ore'] = 3, ['lapis'] = 3, ['lapis lazuli block'] = 3, ['lapis ore'] = 3, ['lapis lazuli ore'] = 3, ['quartz ore'] = 3, ['nether quartz ore'] = 3, ['redstone ore'] = 3, ['trapdoor'] = 3, ['wooden trapdoor'] = 3, ['wooden door'] = 3, ['conduit'] = 3, ['nether gold ore'] = 3, ['blue ice'] = 2.8, ['barrel'] = 2.5, ['cartography table'] = 2.5, ['chest'] = 2.5, ['compound creator'] = 2.5, ['crafting table'] = 2.5, ['element constructor'] = 2.5, ['fletching table'] = 2.5, ['heat block'] = 2.5, ['lab table'] = 2.5, ['lectern'] = 2.5, ['loom'] = 2.5, ['material reducer'] = 2.5, ['smithing table'] = 2.5, ['trapped chest'] = 2.5, ['bricks'] = 2, ['brick stairs'] = 2, ['campfire'] = 2, ['cauldron'] = 2, ['cobblestone'] = 2, ['grindstone'] = 2, ['stone stairs'] = 2, ['cobblestone stairs'] = 2, ['cobblestone wall'] = 2, ['double slab'] = 2, ['wooden double slab'] = 2, ['stone double slab'] = 2, ['fence'] = 2, ['wooden fence'] = 2, ['fence gate'] = 2, ['jukebox'] = 2, ['moss stone'] = 2, ['mossy cobblestone'] = 2, ['nether bricks'] = 2, ['red nether bricks'] = 2, ['nether brick fence'] = 2, ['nether brick stairs'] = 2, ['slab'] = 2, ['wooden slab'] = 2, ['petrified oak slab'] = 2, ['stone slab'] = 2, ['bark'] = 2, ['log'] = 2, ['wood'] = 2, ['planks'] = 2, ['wooden planks'] = 2, ['wooden stairs'] = 2, ['purpur stairs'] = 2, ['purpur slab'] = 2, ['purpur double slab'] = 2, ['bone block'] = 2, ['shulker box'] = 2, ['concrete'] = 1.8, ['bookshelf'] = 1.5, ['prismarine'] = 1.5, ['dark prismarine'] = 1.5, ['prismarine bricks'] = 1.5, ['smoothstone'] = 1.5, ['stone'] = 1.5, ['andesite'] = 1.5, ['diorite'] = 1.5, ['granite'] = 1.5, ['polished andesite'] = 1.5, ['polished diorite'] = 1.5, ['polished granite'] = 1.5, ['stone bricks'] = 1.5, ['stone brick stairs'] = 1.5, ['purpur block'] = 1.5, ['purpur pillar'] = 1.5, ['coral block'] = 1.5, ['glazed terracotta'] = 1.4,

['terracotta'] = 1.25, ['stained terracotta'] = 1.25, ['colored terracotta'] = 1.25, ['hardened clay'] = 1.25, ['stained clay'] = 1.25, ['basalt'] = 1.25, ['melon'] = 1, ['melon block'] = 1, ['pumpkin'] = 1, ["jack o'lantern"] = 1, ['sign'] = 1, ['banner'] = 1, ['skull'] = 1, ['nether wart block'] = 1, ['mob head'] = 1, ['wart block'] = 1, ['stem'] = 1, ['nylium'] = 1, ['shroomlight'] = 1,

['note block'] = 0.8, ['quartz block'] = 0.8, ['block of quartz'] = 0.8, ['quartz stairs'] = 0.8, ['sandstone'] = 0.8, ['sandstone stairs'] = 0.8, ['red sandstone'] = 0.8, ['red sandstone stairs'] = 0.8, ['wool'] = 0.8, ['monster egg'] = 0.75, ['infested block'] = 0.75, ['block97'] = 0.75, ['rail'] = 0.7, ['detector rail'] = 0.7, ['powered rail'] = 0.7, ['activator rail'] = 0.7,

['grass path'] = 0.6,

['beehive'] = 0.6, ['clay'] = 0.6, ['clay block'] = 0.6, ['composter'] = 0.6, ['farmland'] = 0.6, ['grass block'] = 0.6, ['gravel'] = 0.6, ['mycelium'] = 0.6, ['sponge'] = 0.6, ['wet sponge'] = 0.6, ['honeycomb block'] = 0.6, ['button'] = 0.5, ['stone button'] = 0.5, ['wooden button'] = 0.5, ['brewing stand'] = 0.5, ['cake'] = 0.5, ['dirt'] = 0.5, ['podzol'] = 0.5, ['coarse dirt'] = 0.5, ['hay bale'] = 0.5, ['hay'] = 0.5, ['ice'] = 0.5, ['frosted ice'] = 0.5, ['packed ice'] = 0.5, ['lever'] = 0.5, ['piston'] = 0.5, ['sticky piston'] = 0.5, ['piston extension'] = 0.5, ['piston head'] = 0.5, ['block34'] = 0.5, ['pressure plate'] = 0.5, ['stone pressure plate'] = 0.5, ['target'] = 0.5, ['wooden pressure plate'] = 0.5, ['weighted pressure plate'] = 0.5, ['heavy weighted pressure plate'] = 0.5, ['light weighted pressure plate'] = 0.5, ['sand'] = 0.5, ['red sand'] = 0.5, ['soul sand'] = 0.5, ['magma block'] = 0.5, ['concrete powder'] = 0.5, ['dried kelp block'] = 0.5, ['soul soil'] = 0.5, ['cactus'] = 0.4, ['ladder'] = 0.4, ['netherrack'] = 0.4, ['chorus plant'] = 0.4, ['chorus flower'] = 0.4, ['bee nest'] = 0.3, ['glass'] = 0.3, ['glass pane'] = 0.3, ['glowstone'] = 0.3, ['sea lantern'] = 0.3, ['redstone lamp'] = 0.3, ['stained glass'] = 0.3, ['stained glass pane'] = 0.3, ['bed'] = 0.2, ['cocoa'] = 0.2, ['cocoa plant'] = 0.2, ['daylight sensor'] = 0.2, ['daylight detector'] = 0.2, ['huge mushroom'] = 0.2, ['huge brown mushroom'] = 0.2, ['huge red mushroom'] = 0.2, ['mushroom block'] = 0.2, ['leaves'] = 0.2, ['vines'] = 0.2, ['snow block'] = 0.2, ['carpet'] = 0.1, ['snow'] = 0.1, ['snow cover'] = 0.1, ['snow layer'] = 0.1, ['air'] = undefined, ['camera'] = 0, ['carrot'] = 0, ['comparator'] = 0, ['colored torch'] = 0, ['redstone comparator'] = 0, ['dead bush'] = 0, ['flower'] = 0, ['flower pot'] = 0, ['fire'] = 0, ['grass'] = 0, ['tall grass'] = 0, ['lilypad'] = 0, ['locked chest'] = 0, ['mushroom'] = 0, ['brown mushroom'] = 0, ['red mushroom'] = 0, ['melon stem'] = 0, ['melon seed'] = 0, ['pumpkin stem'] = 0, ['pumpkin seed'] = 0, ['nether wart'] = 0, ['potato'] = 0, ['potatoes'] = 0, ['redstone'] = 0, ['redstone dust'] = 0, ['redstone wire'] = 0, ['repeater'] = 0, ['redstone repeater'] = 0, ['redstone torch'] = 0, ['reserved6'] = 0, ['sapling'] = 0, ['sugar cane'] = 0, ['torch'] = 0, ['tripwire'] = 0, ['tripwire hook'] = 0, ['string'] = 0, ['tnt'] = 0, ['wheat'] = 0, ['crop'] = 0, ['seed'] = 0, ['slime block'] = 0, ['air'] = 0, ['beetroot seed'] = 0, ['end rod'] = 0, ['structure void'] = 0, ['underwater tnt'] = 0, ['underwater torch'] = 0, ['element'] = 0, ['coral'] = 0, ['coral fan'] = 0, ['honey block'] = 0, -- BLOCKS BELOW THIS LINE ARE UNBREAKABLE IN SURVIVAL & ADVENTURE MODE -- ['barrier'] = -1, ['bedrock'] = -1, ['invisible bedrock'] = -1, ['command block'] = -1, ['end gateway'] = -1, ['end gateway block'] = -1, ['end portal'] = -1, ['end portal frame'] = -1, ['end portal block'] = -1, ['nether portal'] = -1, ['portal'] = -1, ['piston extension'] = -1, ['block36'] = -1, ['jigsaw block'] = -1, ['structure block'] = -1 }