Skip to content

Custom Name

Entity Condition.

Checks if the item's custom name is the specified string.

Type ID: dieyourway:custom_name

Fields:

Field Type Default Description
name String The name to check for on the itemstack. This ignores any other NBT and only goes for the name.
case_sensitive Boolean true Whether the check is case sensitive (capitalisation matters).

Example:

"condition": {
    "type": "dieyourway:custom_name",
    "name": "string"
}
This example checks if the item's name is string.