%e:ENTITY% (is|is not) [a] %type:ENTITY_TYPE% — Conditions

%e:ENTITY% (is|is not) [a] %type:ENTITY_TYPE%
Entity1.0.0

Description

Checks if an entity's type matches or does not match.

Examples

if mob is a zombie:
if mob is not a zombie:

All Possible Usages (4)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

<e> is <type>
<e> is not <type>
<e> is a <type>
<e> is not a <type>

Related (Entity)