|
|
(4 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| <includeonly>{{ #vardefine: $block | {{{1}}}<!-- easy testing: insert test value here --> | | <includeonly>{{#invoke: block value | value | type=blast resistance }}</includeonly><noinclude> |
| }}{{ #vardefine: $block | {{ lc: {{<!-- initial transform: lowercase, singularize -->
| | {{documentation}} |
| #switch: {{ lc: {{ #explode: {{ #var: $block }} || -1 }} }}
| | <!-- Put categories/interwiki on the documentation page --> |
| | glass | steps | stairs | bars | cactus | leaves | grass = {{ #var: $block }} <!-- don't strip the trailing "s" from these; that just looks weird =) -->
| | </noinclude> |
| | #default = {{
| |
| #ifeq: {{ #sub: {{ #var: $block }} | -1 }} | s
| |
| | {{ #sub: {{ #var: $block }} || -1 }}
| |
| | {{ #var: $block }}
| |
| }}
| |
| }} }}
| |
| }}{{ #vardefine: $block | {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #replace: {{ #var: $block }} | wooden | wood }} | mossy | moss }} | steps | stairs }} | ( }} | ) }} | ' }} | - }}<!-- "wooden" to "wood", "mossy" to "moss", "steps" to "stairs", strip parentheses, apostrophes, hyphen-minuses -->
| |
| }}{{ #vardefine: $block | {{ #ifeq: {{ #explode: {{ #var: $block }} || -1 }} | block<!-- strip "block" -->
| |
| | {{ #switch: {{ #var: $block }}
| |
| | redstone block | grass block | mushroom block = {{ #var: $block }}
| |
| | #default = {{ #replace: {{ #var: $block }} | block }}
| |
| }}
| |
| | {{ #var: $block }}
| |
| }}
| |
| }}{{ #vardefine: $block | {{ #replace: {{ #var: $block }} }}<!-- final transform: strip whitespace -->
| |
| }}{{ #switch: {{ #var: $block }}<!--
| |
| | |
| all values per [[User:Orthotope/blocks]] as of 1.5; do not change them without cause
| |
| | |
| -->
| |
| | barrier
| |
| | bedrock
| |
| | command
| |
| | endportal
| |
| | endportalframe = 18,000,000
| |
| | |
| | anvil
| |
| | obsidian
| |
| | enchantmenttable = 6,000
| |
| | |
| | enderchest = 3,000
| |
| | |
| | water | stillwater | flowingwater
| |
| | lava | stilllava = 500
| |
| | |
| | flowinglava = 0
| |
| | |
| | endstone
| |
| | dragonegg = 45
| |
| | |
| | stone
| |
| | andesite
| |
| | diorite
| |
| | granite
| |
| | stonebrick
| |
| | cobblestone
| |
| | blockofcoal | coal
| |
| | blockofdiamond | diamond
| |
| | blockofemerald | emerald
| |
| | blockofgold | gold
| |
| | blockofiron | iron
| |
| | blockofredstone | redstoneblock
| |
| | doubleslab | stonedoubleslab | cobblestonedoubleslab | wooddoubleslab | sandstonedoubleslab | quartzdoubleslab
| |
| | slab | stoneslab | cobblestoneslab | sandstoneslab | quartzslab
| |
| | brick
| |
| | mossstone | mosscobblestone
| |
| | cobblestonewall
| |
| | netherbrick
| |
| | netherbrickfence
| |
| | netherbrickstairs
| |
| | stonestairs | cobblestonestairs | brickstairs | stonebrickstairs
| |
| | ironbars
| |
| | hardenedclay | stainedclay | |
| | prismarine
| |
| | darkprismarine
| |
| | prismarinebricks
| |
| | jukebox = 30
| |
| | |
| | monsterspawner
| |
| | irondoor
| |
| | irontrapdoor = 25
| |
| | |
| | cobweb = 20
| |
| | |
| | dispenser
| |
| | dropper
| |
| | furnace | burningfurnace
| |
| | stonecutter = 17.5
| |
| | |
| | coalore
| |
| | diamondore
| |
| | emeraldore
| |
| | goldore
| |
| | ironore
| |
| | lapislazuli
| |
| | lapislazuliore
| |
| | netherquartzore
| |
| | wooddoor
| |
| | woodplank
| |
| | woodslab
| |
| | woodstairs
| |
| | redstoneore | glowingredstoneore
| |
| | fence | fencegate
| |
| | cocoa | cocoaplant
| |
| | trapdoor
| |
| | beacon
| |
| | hopper = 15
| |
| | |
| | chest
| |
| | craftingtable
| |
| | trappedchest = 12.5
| |
| | |
| | cauldron
| |
| | wood = 10
| |
| | |
| | bookshelf = 7.5
| |
| | |
| | sign
| |
| | pumpkin
| |
| | melon
| |
| | jackolantern
| |
| | head | mobhead = 5
| |
| | |
| | sandstone
| |
| | sandstonestairs | quartzstairs
| |
| | redsandstone
| |
| | note
| |
| | wool
| |
| | blockofquartz | blockofpillarquartz | blockofchiseledquartz
| |
| | quartz | pillarquartz | chiseledquartz = 4
| |
| | |
| | spawnegg | monsteregg | silverfish | hiddensilverfish | block97 = 3.75
| |
| | |
| | poweredrail
| |
| | detectorrail
| |
| | activatorrail
| |
| | rail = 3.5
| |
| | |
| | grassblock
| |
| | gravel
| |
| | sponge | wetsponge
| |
| | farmland | farming
| |
| | clay = 3
| |
| | |
| | dirt | podzol | coarsedirt
| |
| | sand
| |
| | stickypiston
| |
| | piston
| |
| | block34 | pistonextension | pistonarm
| |
| | lever
| |
| | pressureplate | stonepressureplate | woodpressureplate
| |
| | weightedpressureplate
| |
| | button | woodbutton | stonebutton
| |
| | mycelium
| |
| | ice
| |
| | packedice
| |
| | soulsand
| |
| | brewingstand
| |
| | haybale | hayblock
| |
| | cake = 2.5
| |
| | |
| | ladder
| |
| | cactus
| |
| | netherrack = 2
| |
| | |
| | glass | glasspane | stainedglass | stainedglasspane
| |
| | glowstone
| |
| | sealantern
| |
| | redstonelamp = 1.5
| |
| | |
| | leaves
| |
| | bed
| |
| | hugemushroom | hugebrownmushroom | hugeredmushroom
| |
| | mushroomblock | brownmushroomblock | redmushroomblock
| |
| | vine
| |
| | snow
| |
| | daylightdetector | daylightsensor = 1
| |
| | |
| | carpet
| |
| | snowcover | snowlayer = 0.5
| |
| | |
| | sapling
| |
| | tallgrass | grass
| |
| | deadbush | deadshrub
| |
| | block36 | pistonmoving
| |
| | flower | rose
| |
| | mushroom | redmushroom | brownmushroom
| |
| | pumpkinstem | pumpkinseed | melonstem | melonseed
| |
| | lilypad
| |
| | tnt
| |
| | torch
| |
| | fire
| |
| | redstonedust | redstonewire | redstone
| |
| | redstonetorch
| |
| | repeater | redstonerepeater | activerepeater | activeredstonerepeater | lockedrepeater | lockedredstonerepeater
| |
| | comparator | redstonecomparator
| |
| | crop | seedsitem | seed | wheat
| |
| | sugarcane
| |
| | netherwart
| |
| | portal | netherportal
| |
| | tripwirehook | tripwire | string
| |
| | lockedchest
| |
| | flowerpot
| |
| | slimeblock
| |
| | carrot
| |
| | potato = 0
| |
| | |
| | air = 0
| |
| | technicalblocks = 0
| |
| | #default = [[Template:Blast resistance values#Missing value|?]]{{
| |
| #if: {{NAMESPACE}}{{#pos: {{PAGENAME}} | / }} || [[Category:Missing blast resistance]]
| |
| }}
| |
| }}</includeonly><noinclude>{{documentation}}<!-- Put categories/interwiki on the documentation page --></noinclude> | |
This template has no documentation. If you know how to use this template, please create it.