|
**Description:** checks the ender dragon phases
|
|
## Description
|
|
|
|
Checks the phase of the target Ender Dragon entity.
|
|
|
|
A list of valid phases can be found in the [Spigot Phase javadoc](https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EnderDragon.Phase.html).
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**Attributes:**
|
|
## Attributes
|
|
|
|
|
|
| Attribute | Alias | Description |
|
|
| Attribute | Aliases | Description | Default |
|
|
| ---------- | ------ | ----------------------------------- |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| phases | phase | the ender dragon phases to check for |
|
|
| phase | p | A list of phases to match | |
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**Examples:**
|
|
|
|
|
|
|
|
```
|
|
|
|
Conditions:
|
|
|
|
- enderdragonphase{phase=CIRCLING} true
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
```yaml
|
|
|
|
Conditions:
|
|
|
|
- enderdragonphase{phase=CIRCLING} true
|
|
```
|
|
```
|
|
|
|
```yaml
|
|
Conditions:
|
|
Conditions:
|
|
- enderdragonphase{phases=FLY_TO_PORTAL,LEAVE_PORTAL} true
|
|
- enderdragonphase{phases=FLY_TO_PORTAL,LEAVE_PORTAL} true
|
|
```
|
|
```
|
|
|
|
|
|
List of ender dragon phases: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EnderDragon.Phase.html
|
|
## Aliases
|
|
|
|
- [x] edragonPhase |
|
**Extra Information:**
|
|
\ No newline at end of file |
|
|
|
|
|
- [x] Type: Entity |
|
|
|
\ No newline at end of file |
|
|