VOOZH about

URL: https://minecraft.wiki/w/Template:Breaking_time

⇱ Template:Breaking time – Minecraft Wiki


Template:Breaking time

From Minecraft Wiki
Jump to navigation Jump to search


Documentation[view] [edit] [history] [purge]
This template uses Module:Breaking row, a script written in Lua.
👁 Image
For the template to make a row of detailed information about the time to break a block with a given tool, see Template:Breaking row.

This template calculates the time in seconds for a block to be broken.

{{Breaking time|1=Block|2=Tool|drop=Tool required|var=15 (hardness)}}

Parameters

[edit source]
Parameter Function Default/Example value
1 (Block) Which block is being broken. Obsidian
2 (Optional - Tool) The tool being used. Written as [material] [form] or [plain tool]: [material] can be Wood, Wooden, Stone, Iron, Golden, Diamond, or Netherite; [from] can be Shovel, Hoe, Sword, Axe, or Pickaxe; [plain tool] can be Shears, Any, or None Diamond Hoe, Wood Sword, Shears, or None
Default: Any
drop What level of tool is needed to harvest this block (i.e. which material the tool needs to be equal to or better than in order to make the block drop its corresponding item/items). Same as [material] used for Tool.
Can also be Any, or None.
Default: Any
var (Optional) The hardness of the block. If set, the hardness of the block used in the calculation will be var. If not set, the hardness of the block is whatever hardess defined by {{hardness values}} for the block. Any number, such as 0.2, 1, 15, 50, or 0.

Examples

[edit source]
*{{Breaking time|Obsidian}}
*{{Breaking time|Obsidian|drop=Diamond}}
*{{Breaking time|Obsidian|Iron}}
*{{Breaking time|Obsidian|Iron|drop=Diamond}}
*{{Breaking time|Obsidian|Diamond}}
*{{Breaking time|Obsidian|Diamond|drop=Diamond}}
Produces
  • 75
  • 250
  • 12.5
  • 41.666667
  • 9.375
  • 9.375
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Breaking time/doc.
Retrieved from "https://minecraft.wiki/w/Template:Breaking_time?oldid=737282"

Navigation menu