Skip to content

Condition Custom Name

JasperLorelai edited this page Jul 16, 2026 · 2 revisions

Source Code

Modifier condition: customname

Properties:

Property Value
Has Entity Target true
Has Location Target false

Description:

Passes if the entity's custom name is equal to the one specified. This does not work with players.

String Format Options:

Arguments:

- customname (name) [modifier action]

[Section Format](Modifiers#section-format-condition

(Unsupported for now.)

Clone this wiki locally