Difference between revisions of "Template:Breaking"

From Mine Blocks Wiki
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

m (Removed obsidian pickaxe)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{| class="wikitable breaking-table"
 
{| class="wikitable breaking-table"
! colspan="8"| Breaking time: {{I|{{{Item|{{BASEPAGENAME}}}}}}} {{{Item-name|{{BASEPAGENAME}}}}}
+
! colspan="8"| Breaking time: {{I|{{{Item|{{BASEPAGENAME}}}}}}} {{{Item|{{BASEPAGENAME}}}}}
 
|-
 
|-
 
! Tool
 
! Tool
Line 18: Line 18:
 
{{#if: {{{Diamond|}}}|
 
{{#if: {{{Diamond|}}}|
 
! {{I|Diamond {{{Tool|}}}}}
 
! {{I|Diamond {{{Tool|}}}}}
}}
 
{{#if: {{{Obsidian|}}}|
 
! {{I|Obsidian {{{Tool|}}}}}
 
 
}}
 
}}
 
|-
 
|-
Line 39: Line 36:
 
{{#if: {{{Diamond|}}}|
 
{{#if: {{{Diamond|}}}|
 
{{!}} {{#ifeq:{{{Diamond}}}|{{{Golden}}}|class="cell-eq"|{{#ifexpr: {{{Diamond}}} < {{{Golden}}}|class="cell-pos"|class="cell-neg"}}}} {{!}} {{{Diamond}}}s
 
{{!}} {{#ifeq:{{{Diamond}}}|{{{Golden}}}|class="cell-eq"|{{#ifexpr: {{{Diamond}}} < {{{Golden}}}|class="cell-pos"|class="cell-neg"}}}} {{!}} {{{Diamond}}}s
}}
 
{{#if: {{{Obsidian|}}}|
 
{{!}} {{#ifeq:{{{Obsidian}}}|{{{Diamond}}}|class="cell-eq"|{{#ifexpr: {{{Obsidian}}} < {{{Diamond}}}|class="cell-pos"|class="cell-neg"}}}} {{!}} {{{Obsidian}}}s
 
 
}}
 
}}
 
|}<noinclude>
 
|}<noinclude>
Line 56: Line 50:
 
| Golden =  
 
| Golden =  
 
| Diamond =  
 
| Diamond =  
| Obsidian =
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 70: Line 63:
 
| Golden = 0.5
 
| Golden = 0.5
 
| Diamond = 0.25
 
| Diamond = 0.25
| Obsidian = 0.1
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 84: Line 76:
 
| Golden = 0.5
 
| Golden = 0.5
 
| Diamond = 0.25
 
| Diamond = 0.25
| Obsidian = 0.1
 
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:13, 8 July 2022

Breaking time: Breaking Breaking
Tool Default



Time s



Usage

{{Breaking
| Item = 
| Item-name = 
| Tool = 
| Default = 
| Wood = 
| Stone = 
| Iron = 
| Golden = 
| Diamond = 
}}

Example

{{Breaking
| Tool = Pickaxe
| Default = 1.5
| Wood = 1.25
| Stone = 1
| Iron = 0.75
| Golden = 0.5
| Diamond = 0.25
}}

Results in:

Breaking time: Breaking Breaking
Tool Default Wooden Pickaxe Stone Pickaxe Iron Pickaxe Golden Pickaxe Diamond Pickaxe
Time 1.5s 1.25s 1s 0.75s 0.5s 0.25s