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
Line 41: Line 41:
 
}}
 
}}
 
{{#if: {{{Obsidian|}}}|
 
{{#if: {{{Obsidian|}}}|
{{!}} {{#ifeq:{{{Obsidian}}}|{{{Diamond}}}|class="cell-eq"|{{#ifexpr: {{{Obsdian}}} > {{{Diamond}}}|class="cell-pos"|class="cell-neg"}}}} {{!}} {{{Obsidian}}}s
+
{{!}} {{#ifeq:{{{Obsidian}}}|{{{Diamond}}}|class="cell-eq"|{{#ifexpr: {{{Obsdian}}} < {{{Diamond}}}|class="cell-pos"|class="cell-neg"}}}} {{!}} {{{Obsidian}}}s
 
}}
 
}}
 
|}<noinclude>
 
|}<noinclude>

Revision as of 15:29, 7 July 2022

Breaking time: Breaking Breaking
Tool Default




Time s




Usage

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

Example

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

Results in:

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