ConditionEntity

itemissimilar

Checks if the ItemStack is similar

Aliases

issimilarsimilarto

Configuration Fields (2)

NameTypeDefaultDescription
slot
s
String
item
i, material, m, mm, mythicitem
AbstractItemStackDIRTThe 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
Community-maintained documentation for the Mythic plugin ecosystem.