ConditionEntity
itemissimilar
Checks if the ItemStack is similar
Aliases
issimilarsimilarto
Configuration Fields (2)
| Name | Type | Default | Description |
|---|---|---|---|
| slot s | String | — | |
| item i, material, m, mm, mythicitem | AbstractItemStack | DIRT | The item/material to check for |
Examples & Notes
Examples
Tests the item in slot 0, or the first slot, of the targeted player’s inventory.
Conditions:
- itemissimilar{i=MyCustomItem;slot=0} true
Universal Condition Options
- Author:
- Phil
