Template:Blast resistance values: Difference between revisions

No edit summary
support lots more variants without having to actually list them out (and smack me hard if I broke something =D )
Line 1: Line 1:
<includeonly>{{ #switch: {{{1}}}<!-- all values per [[User:Orthotope/blocks]] as of 1.1.0; do not change them -->
<includeonly>{{
  #switch: {{ #replace: {{ #replace: {{ ucfirst: {{ lc: {{
    #switch: {{ lc: {{ #explode: {{{1}}} || -1 }} }}
    | glass | stairs | bars | cactus | leaves | grass = <!-- don't strip the trailing "s" from these; that just looks weird =) -->
    | #default = {{
      #ifeq: {{ #sub: {{{1}}} | {{ #expr: {{ #len: {{{1}}} }} - 1 }} | 1 }} | s
      | {{ #sub: {{{1}}} || {{ #expr: {{ #len: {{{1}}} }} - 1 }} }}
      | {{{1}}}
    }}
  }} }} }} | ( }} | ) }}<!--
 
all values per [[User:Orthotope/blocks]] as of 1.1.0; do not change them
 
-->
| Bedrock
| Bedrock
| End Portal
| End portal
| End Portal Frame = 18,000,000
| End portal frame = 18,000,000


| Obsidian
| Obsidian
| Enchantment Table
| Enchantment table
| Ender Chest = 6,000
| Ender chest = 6,000


| Water | Still Water | Flowing Water
| Water | Still water | Flowing water
| Lava  | Still Lava = 500
| Lava  | Still lava = 500


| Flowing Lava = 0
| Flowing lava = 0


| End Stone
| End stone
| Dragon Egg = 45
| Dragon egg = 45


| Stone
| Stone
| Stone Bricks
| Stone brick
| Cobblestone
| Cobblestone
| Block of Gold  | Gold (Block)
| Block of gold    | Gold block
| Block of Iron  | Iron (Block)
| Block of iron    | Iron block
| Double Slab    | Double Slabs | Stone Double Slab | Cobblestone Double Slab | Wooden Double Slab | Sandstone Double Slab
| Double slab      | Stone double slab | Cobblestone double slab | Wood double slab | Wooden double slab | Sandstone double slab
| Slab   | Slabs | Stone Slab  | Cobblestone Slab  | Wooden Slab | Sandstone Slab
| Slab             | Stone slab        | Cobblestone slab        | Wood slab        | Wooden slab        | Sandstone slab
| Bricks | Brick (Block)
| Brick            | Brick block
| Moss Stone
| Moss stone
| Nether Brick
| Nether brick
| Nether Brick Fence
| Nether brick fence
| Nether Brick Stairs
| Nether brick stairs
| Block of Diamond | Diamond (Block)
| Block of diamond | Diamond block
| Stone Stairs | Brick Stairs | Stone Brick Stairs
| Stone stairs    | Brick stairs      | Stone brick stairs
| Iron Bars
| Iron bars
| Jukebox = 30
| Jukebox = 30


| Monster Spawner
| Monster spawner
| Iron Door = 25
| Iron door = 25


| Cobweb = 20
| Cobweb = 20


| Dispenser
| Dispenser
| Furnace | Burning Furnace = 17.5
| Furnace | Burning furnace = 17.5


| Wooden Planks | Wooden Plank
| Wood plank  | Wooden plank
| Gold Ore | Gold (Ore)
| Gold ore
| Iron Ore | Iron (Ore)
| Iron ore
| Coal Ore | Coal (Ore)
| Coal ore
| Lapis Lazuli Ore  | Lapis Lazuli (Ore)
| Lapis lazuli ore
| Lapis Lazuli Block | Lapis Lazuli (Block)
| Lapis lazuli block
| Wooden Stairs
| Wood stairs  | Wooden stairs
| Diamond Ore  | Diamond (Ore)
| Diamond ore
| Wooden Door
| Wood door    | Wooden door
| Redstone Ore | Redstone (Ore) | Glowing Redstone Ore
| Redstone ore | Glowing redstone ore
| Fence | Fence Gate
| Fence       | Fence gate
| Trapdoor = 15
| Trapdoor = 15


| Chest
| Chest
| Crafting Table = 12.5
| Crafting table = 12.5


| Cauldron
| Cauldron
Line 64: Line 77:
| Sign
| Sign
| Pumpkin
| Pumpkin
| Melon | Melon Block | Melon (Block)
| Melon | Melon block
| Jack 'o' Lantern | Jack-O-Lantern = 5
| Jack 'o' lantern | Jack-o-lantern = 5


| Sandstone = 4
| Sandstone
| Note Block = 4
| Note block
| Wool = 4
| Wool = 4


| Hidden Silverfish | Block 97 = 3.75
| Hidden silverfish | Block 97 = 3.75


| Powered Rail  | Powered Rails
| Powered rail
| Detector Rail | Detector Rails
| Detector rail
| Rail | Rails  = 3.5
| Rail = 3.5


| Grass Block
| Grass block
| Gravel
| Gravel
| Sponge
| Sponge
| Farmland | Farming
| Farmland | Farming
| Clay | Clay (Block) = 3
| Clay | Clay block = 3


| Dirt
| Dirt
| Sand
| Sand
| Sticky Piston
| Sticky piston
| Piston
| Piston
| Block 34 | Piston Extension
| Block 34 | Piston extension
| Lever
| Lever
| Pressure Plate | Pressure Plates | Stone Pressure Plate | Wooden Pressure Plate
| Pressure plate | Stone pressure plate | Wood pressure plate | Wooden pressure plate
| Button
| Button
| Mycelium
| Mycelium
| Ice
| Ice
| Soul Sand
| Soul sand
| Brewing Stand | Brewing stand
| Brewing stand
| Cake = 2.5
| Cake = 2.5


| Ladder | Ladders
| Ladder
| Cactus
| Cactus
| Netherrack = 2
| Netherrack = 2


| Glass | Glass Pane
| Glass | Glass pane
| Glowstone | Glowstone (Block)
| Glowstone | Glowstone block
| Redstone Lamp = 1.5
| Redstone lamp = 1.5


| Leaves
| Leaves
| Bed
| Bed
| Huge Brown Mushroom | Huge Red Mushroom | Huge Mushroom
| Huge brown mushroom | Huge red mushroom | Huge mushroom
| Vines
| Vine
| Snow (Block) = 1
| Snow block = 1


| Snow = 0.5
| Snow = 0.5


| Sapling | Saplings
| Sapling
| Tall Grass
| Tall grass
| Dead Bush | Dead Shrub
| Dead bush        | Dead shrub
| Block 36 | Piston Extension | Piston Arm
| Block 36         | Piston extension | Piston arm
| Flower   | Flowers  | Rose
| Flower           | Rose
| Mushroom | Mushrooms | Red Mushroom | Brown Mushroom
| Mushroom         | Red mushroom    | Brown mushroom
| Pumpkin Stem | Melon Stem
| Pumpkin stem      | Melon stem
| TNT
| Tnt
| Torch
| Torch
| Fire
| Fire
| Redstone Dust  | Redstone (Wire)
| Redstone dust    | Redstone wire
| Crops          | Seeds (Item) | Seed | Seeds
| Crop              | Seeds item      | Seed
| Redstone Torch | Redstone (Torch)
| Redstone torch
| Sugar cane     | Sugar Cane
| Sugar cane
| Nether Wart | Nether wart | Netherwart
| Nether wart       | Netherwart
| Portal
| Portal
| Redstone Repeater | Redstone (Repeater) | Active Redstone Repeater
| Redstone repeater | Active redstone repeater
| Locked chest | Locked Chest = 0
| Locked chest = 0


| Air = 0
| Air = 0