Template:Hardness values: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Create a template for sourcing hardness values
 
m update module
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
<includeonly>{{#invoke: block value | value | type=hardness }}</includeonly><noinclude>
| Bedrock = -1
{{documentation}}
| Portal = -1
<!-- Put categories/interwiki on the documentation page -->
| Water = 100.0
| Lava = 100.0
| Obsidian = 10.0
| Iron Door = 5.0
| Diamond (Block) = 5.0
| Iron (Block) = 5.0
| Monster Spawner = 5.0
| Dispenser = 3.5
| Furnace = 3.5
| Wooden Door = 3.0
| Coal (Ore) = 3.0
| Diamond (Ore) = 3.0
| Gold (Ore) = 3.0
| Iron (Ore) = 3.0
| Lapis Lazuli (Ore) = 3.0
| Redstone (Ore) = 3.0
| Gold (Block) = 3.0
| Lapis Lazuli (Block) = 3.0
| Chest = 2.5
| Crafting Table = 2.5
| Brick (Block) = 2.0
| Cobblestone = 2.0
| Moss Stone = 2.0
| Fence = 2.0
| Jukebox = 2.0
| Slabs = 2.0
| Stairs = 2.0
| Wood = 2.0
| Wooden Plank = 2.0
| Bookshelf = 1.5
| Stone = 1.5
| Jack-O-Lantern = 1.0
| Pumpkin = 1.0
| Sign = 1.0
| Note Block = 0.8
| Sandstone = 0.8
| Wool = 0.8
| Rails = 0.7
| Clay (Block) = 0.6
| Farming = 0.6
| Sponge = 0.6
| Grass = 0.6
| Gravel = 0.6
| Button = 0.5
| Cake = 0.5
| Dirt = 0.5
| Ice = 0.5
| Lever = 0.5
| Pressure Plates = 0.5
| Sand = 0.5
| Soul Sand = 0.5
| Cactus = 0.4
| Ladders = 0.4
| Netherrack = 0.4
| Glass = 0.3
| Glowstone (Block) = 0.3
| Bed = 0.2
| Leaves = 0.2
| Snow (Block) = 0.2
| Snow = 0.1
| Air = 0.0
| Seeds (Item) = 0.0
| Fire = 0.0
| Flowers = 0.0
| Mushrooms = 0.0
| Redstone (Repeater) = 0.0
| Redstone (Torch) = 0.0
| Redstone (Wire) = 0.0
| Sugar Cane = 0.0
| Sapling = 0.0
| TNT = 0.0
| Torch = 0.0
| #default = [[Template:Hardness Values#Missing_value|?]]}}</includeonly><noinclude>
{{/doc}}
 
[[Category:Data Templates]]
</noinclude>
</noinclude>

Latest revision as of 15:41, 23 December 2014

[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.