Repository navigation
Condition Has Item
JasperLorelai edited this page Sep 21, 2026
·
3 revisions
Modifier condition: hasitem
Warning
This condition has been deprecated since 4.0 Beta 17.
| Property | Value |
|---|---|
| Has Entity Target | true |
| Has Location Target | true |
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.)