Block Hardness (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.6

Syntax

[the] [block] hardness of %itemtypes%

Description

Obtains the block's hardness level (also known as "strength"). This number is used to calculate the time required to break each block.

Examples

set {_hard} to block hardness of target block
if block hardness of target block > 5:

View source