| Name | <ItemTag.with_flag[<flag_set_action>]> |
| Returns | ItemTag |
| Mechanism | ItemTag.flag |
| Description | Returns a copy of the item with the specified flag data action applied to it.
For example: <[item].with_flag[myflagname]>, or <[item].with_flag[myflag:myvalue]>, or <[item].with_flag[mycounter:+:<[amount]>]> |
| Group | properties |
| Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFlags.java#L53 |