Changes
Page history
Create Skills/Targeters/UniqueIdentifier
authored
Jul 14, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/Targeters/UniqueIdentifier.md
0 → 100644
View page @
bee41e85
## Description
Targets a specific entity by their UUID. Can be a placeholder.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| uuid | u | The uuid of the entity | 0 |
## Examples
The following mob will remeber the uuid of the entity that first hit it after it spawned, and will continue to ignite them every 10 seconds after that
```
yaml
VengefulMob
:
Type
:
ZOMBIE
Skills
:
-
setvariable{var=caster.targetedentity;type=STRING;val=<trigger.uuid>} @self ~onDamaged =100% ?~isLiving
-
ignite @UniqueIdentifier{uuid=<caster.var.targetedentity>} ~onTimer:200 ?variableisset{var=caster.targetedentity}
```
## Aliases
-
[x] uuid
\ No newline at end of file