Module:Hardness values: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m added woodfence, for the fence article
correct iron trapdoor and prismarine bricks, added slime block and locked chest, fixed coarse dirt. Numbers added were from mcp
Line 26: Line 26:
['redstoneblock'] = 5,
['redstoneblock'] = 5,
['blockofredstone'] = 5,
['blockofredstone'] = 5,
['irontrapdoor'] = 5,
['web'] = 4,
['web'] = 4,
Line 54: Line 55:
['trapdoor'] = 3,
['trapdoor'] = 3,
['woodtrapdoor'] = 3,
['woodtrapdoor'] = 3,
['irontrapdoor'] = 3,
['wooddoor'] = 3,
['wooddoor'] = 3,
Line 91: Line 91:
['prismarine'] = 1.5,
['prismarine'] = 1.5,
['darkprismarine'] = 1.5,
['darkprismarine'] = 1.5,
['prismarinebrick'] = 1.5,
['stone'] = 1.5,
['stone'] = 1.5,
['andesite'] = 1.5,
['andesite'] = 1.5,
Line 103: Line 104:
['hardenedclay'] = 1.25,
['hardenedclay'] = 1.25,
['stainedclay'] = 1.25,
['stainedclay'] = 1.25,
['prismarinebrick'] = 1.2,
['melon'] = 1,
['melon'] = 1,
Line 150: Line 149:
['dirt'] = 0.5,
['dirt'] = 0.5,
['podzol'] = 0.5,
['podzol'] = 0.5,
['coarse dirt'] = 0.5,
['coarsedirt'] = 0.5,
['haybale'] = 0.5,
['haybale'] = 0.5,
['hay'] = 0.5,
['hay'] = 0.5,
Line 208: Line 207:
['grass'] = 0,
['grass'] = 0,
['tallgrass'] = 0,
['tallgrass'] = 0,
['lockedchest'] = 0,
['mushroom'] = 0,
['mushroom'] = 0,
['brownmushroom'] = 0,
['brownmushroom'] = 0,
['redmushroom'] = 0,
['redmushroom'] = 0,
['melonstem'] = 0,
['melonstem'] = 0,
['melonseed'] = 0,
['melonseed'] = 0,
Line 233: Line 233:
['crop'] = 0,
['crop'] = 0,
['seed'] = 0,
['seed'] = 0,
['slimeblock'] = 0,
 
['barrier'] = -1,
['barrier'] = -1,
['bedrock'] = -1,
['bedrock'] = -1,

Revision as of 16:14, 26 February 2015

Documentation for this module may be created at Module:Hardness values/doc

return {
	['flowinglava'] = 100,
	['lava'] = 100,
	['flowingwater'] = 100,
	['water'] = 100,
	
	['obsidian'] = 50,
	
	['enderchest'] = 22.5,
	
	['anvil'] = 5,
	['coalblock'] = 5,
	['blockofcoal'] = 5,
	['diamondblock'] = 5,
	['blockofdiamond'] = 5,
	['emeraldblock'] = 5,
	['blockofemerald'] = 5,
	['enchantingtable'] = 5,
	['enchantmenttable'] = 5,
	['ironblock'] = 5,
	['blockofiron'] = 5,
	['ironbars'] = 5,
	['irondoor'] = 5,
	['mobspawner'] = 5,
	['monsterspawner'] = 5,
	['redstoneblock'] = 5,
	['blockofredstone'] = 5,
	['irontrapdoor'] = 5,
	
	['web'] = 4,
	['cobweb'] = 4,
	
	['dispenser'] = 3.5,
	['dropper'] = 3.5,
	['furnace'] = 3.5,
	
	['beacon'] = 3,
	['coalore'] = 3,
	['diamondore'] = 3,
	['dragonegg'] = 3,
	['emeraldore'] = 3,
	['endstone'] = 3,
	['gold'] = 3,
	['blockofgold'] = 3,
	['goldore'] = 3,
	['hopper'] = 3,
	['ironore'] = 3,
	['lapis'] = 3,
	['lapislazuliblock'] = 3,
	['lapisore'] = 3,
	['lapislazuliore'] = 3,
	['quartzore'] = 3,
	['netherquartzore'] = 3,
	['redstoneore'] = 3,
	['trapdoor'] = 3,
	['woodtrapdoor'] = 3,
	['wooddoor'] = 3,
	
	['chest'] = 2.5,
	['trappedchest'] = 2.5,
	['craftingtable'] = 2.5,
	
	['brick'] = 2,
	['brickstairs'] = 2,
	['cauldron'] = 2,
	['cobblestone'] = 2,
	['stonestairs'] = 2,
	['cobblestonestairs'] = 2,
	['cobblestonewall'] = 2,
	['doubleslab'] = 2,
	['wooddoubleslab'] = 2,
	['stonedoubleslab'] = 2,
	['fence'] = 2,
	['woodfence'] = 2,
	['fencegate'] = 2,
	['jukebox'] = 2,
	['mossstone'] = 2,
	['mosscobblestone'] = 2,
	['netherbrick'] = 2,
	['netherbrickfence'] = 2,
	['netherbrickstairs'] = 2,
	['slab'] = 2,
	['woodslab'] = 2,
	['stoneslab'] = 2,
	['log'] = 2,
	['wood'] = 2,
	['woodplank'] = 2,
	['woodstairs'] = 2,
	
	['bookshelf'] = 1.5,
	['prismarine'] = 1.5,
	['darkprismarine'] = 1.5,
	['prismarinebrick'] = 1.5,
	['stone'] = 1.5,
	['andesite'] = 1.5,
	['diorite'] = 1.5,
	['granite'] = 1.5,
	['polishedandesite'] = 1.5,
	['polisheddiorite'] = 1.5,
	['polishedgranite'] = 1.5,
	['stonebrick'] = 1.5,
	['stonebrickstairs'] = 1.5,
	
	['hardenedclay'] = 1.25,
	['stainedclay'] = 1.25,
	
	['melon'] = 1,
	['melonblock'] = 1,
	['pumpkin'] = 1,
	['jackolantern'] = 1,
	['sign'] = 1,
	['banner'] = 1,
	['skull'] = 1,
	['mobhead'] = 1,
	
	['noteblock'] = 0.8,
	['quartzblock'] = 0.8,
	['blockofquartz'] = 0.8,
	['quartzstairs'] = 0.8,
	['sandstone'] = 0.8,
	['sandstonestairs'] = 0.8,
	['redsandstone'] = 0.8,
	['redsandstonestairs'] = 0.8,
	['wool'] = 0.8,
	
	['monsteregg'] = 0.75,
	['block97'] = 0.75,
	
	['rail'] = 0.7,
	['detectorrail'] = 0.7,
	['poweredrail'] = 0.7,
	['activatorrail'] = 0.7,

	['clay'] = 0.6,	
	['clayblock'] = 0.6,
	['farmland'] = 0.6,
	['grassblock'] = 0.6,
	['gravel'] = 0.6,
	['lilypad'] = 0.6,
	['mycelium'] = 0.6,
	['sponge'] = 0.6,
	['wetsponge'] = 0.6,
	
	['button'] = 0.5,
	['stonebutton'] = 0.5,
	['woodbutton'] = 0.5,
	['brewingstand'] = 0.5,
	['cake'] = 0.5,
	['dirt'] = 0.5,
	['podzol'] = 0.5,
	['coarsedirt'] = 0.5,
	['haybale'] = 0.5,
	['hay'] = 0.5,
	['ice'] = 0.5,
	['packedice'] = 0.5,
	['lever'] = 0.5,
	['piston'] = 0.5,
	['stickypiston'] = 0.5,
	['pistonextension'] = 0.5,
	['pistonhead'] = 0.5,
	['block34'] = 0.5,
	['pressureplate'] = 0.5,
	['stonepressureplate'] = 0.5,
	['woodpressureplate'] = 0.5,
	['weightedpressureplate'] = 0.5,
	['heavyweightedpressureplate'] = 0.5,
	['lightweightedpressureplate'] = 0.5,
	['sand'] = 0.5,
	['soulsand'] = 0.5,
	
	['cactus'] = 0.4,
	['ladder'] = 0.4,
	['netherrack'] = 0.4,
	
	['glass'] = 0.3,
	['glasspane'] = 0.3,
	['glowstone'] = 0.3,
	['sealantern'] = 0.3,
	['redstonelamp'] = 0.3,
	['stainedglass'] = 0.3,
	['stainedglasspane'] = 0.3,
	
	['bed'] = 0.2,
	['cocoa'] = 0.2,
	['cocoaplant'] = 0.2,
	['daylightsensor'] = 0.2,
	['daylightdetector'] = 0.2,
	['hugemushroom'] = 0.2,
	['hugebrownmushroom'] = 0.2,
	['hugeredmushroom'] = 0.2,
	['mushroomblock'] = 0.2,
	['leaves'] = 0.2,
	['vine'] = 0.2,
	['snow'] = 0.2,
	
	['carpet'] = 0.1,
	['snowcover'] = 0.1,
	['snowlayer'] = 0.1,
	
	['carrot'] = 0,
	['comparator'] = 0,
	['redstonecomparator'] = 0,
	['deadbush'] = 0,
	['flower'] = 0,
	['flowerpot'] = 0,
	['fire'] = 0,
	['grass'] = 0,
	['tallgrass'] = 0,
	['lockedchest'] = 0,
	['mushroom'] = 0,
		['brownmushroom'] = 0,
		['redmushroom'] = 0,
	['melonstem'] = 0,
	['melonseed'] = 0,
	['pumpkinstem'] = 0,
	['pumpkinseed'] = 0,
	['netherwart'] = 0,
	['potato'] = 0,
	['potatoes'] = 0,
	['redstone'] = 0,
	['redstonewire'] = 0,
	['repeater'] = 0,
	['redstonerepeater'] = 0,
	['redstonetorch'] = 0,
	['sapling'] = 0,
	['sugarcane'] = 0,
	['torch'] = 0,
	['tripwire'] = 0,
	['tripwirehook'] = 0,
	['string'] = 0,
	['tnt'] = 0,
	['wheat'] = 0,
	['crop'] = 0,
	['seed'] = 0,
	['slimeblock'] = 0,

	['barrier'] = -1,
	['bedrock'] = -1,
	['commandblock'] = -1,
	['endportal'] = -1,
	['endportalframe'] = -1,
	['endportalblock'] = -1,
	['netherportal'] = -1,
	['portal'] = -1,
	['pistonextension'] = -1,
	['block36'] = -1,
}