Skip to content
JasperLorelai edited this page Feb 21, 2025 · 1 revision

Source Code

Modifier condition: hasitem

Warning

This condition has been deprecated since 4.0 Beta 17.

Properties:

Property Value
Has Entity Target true
Has Location Target true

Description:

Passes if the entity or location is holding the item specified.

String Format Options:

Arguments:

  • material - Material
  • durability - Integer - Can be omitted, or you can put * to ignore checks
  • name - Spaces should be replaced with __
- hasitem (material):(durability)|(name) [modifier action]

Section Format Options:

(Unsupported for now.)

Clone this wiki locally