Changes
Page history
updated layout and informations
authored
May 15, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/conditions/EnderDragonPhase.md
View page @
6436d077
**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 | Alias
es
| Description
| Default
|
|
----------
| ------ |
-----------------------------------
|
|
-
----------
|-----------|----------------
-----------------------------------
-------------------|---------
|
| phase
s
| p
hase | the ender dragon phases to check for
|
| phase | p
| A list of phases to match |
|
---
**Examples:**
## Examples
```
yaml
```
Conditions
:
Conditions
:
-
enderdragonphase{phase=CIRCLING}
true
-
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