Changes
Page history
Update Conditions
authored
Apr 07, 2021
by
Ethan
Show whitespace changes
Inline
Side-by-side
Conditions.md
View page @
2f028f70
...
@@ -56,18 +56,21 @@ These parameters are included in **every** condition.
...
@@ -56,18 +56,21 @@ These parameters are included in **every** condition.
| Conditions | Description |
| Conditions | Description |
| ------ | ----------- |
| ------ | ----------- |
|
[
bar-inactive
](
Bar-Inactive-Condition
)
| Used for bar inactivity. |
|
[
bar-inactive
](
Bar-Inactive-Condition
)
| Used for bar inactivity. |
|
[
bar-progress
](
Bar-Progress-Condition
)
| Used for detecting the progress of the bar. |
|
[
effect
](
Effect-Condition
)
| Used for detecting potion effects on the player. |
|
[
effect
](
Effect-Condition
)
| Used for detecting potion effects on the player. |
|
[
gamemode
](
Gamemode-Condition
)
| Checks for a player's gamemode. |
|
[
gamemode
](
Gamemode-Condition
)
| Checks for a player's gamemode. |
|
[
mounted
](
Mounted-Condition
)
| Checks if a player is mounted on a
**living**
entity. |
|
[
mounted
](
Mounted-Condition
)
| Checks if a player is mounted on a
**living**
entity. |
| placeholder | Used for making custom conditions. |
## Comparison Conditions
## Comparison Conditions
### Default Parameters
### Default Parameters
These parameters are included in
**
every
**
condition.
These parameters are included in every
comparison
condition.
| Parameter | Aliases | Description | Type | Default Value |
| Parameter | Aliases | Description | Type | Default Value |
| ------ | ------ | ------ | ------ | ------ |
| ------ | ------ | ------ | ------ | ------ |
|
`operator`
|
`oper, op`
| Which operator to use for comparing the values. |
`greater, g, equal, e, less, l`
|
`N/A`
|
|
`operator`
|
`oper, op`
| Which operator to use for comparing the values. |
`greater, g, equal, e, less, l`
|
`N/A`
|
|
`equalto`
|
`et`
| If set to true
`less`
or
`greater`
will also resolve as true if both of the values equal each other. | Boolean |
`false`
|
|
`equalto`
|
`et`
| If set to true
`less`
or
`greater`
will also resolve as true if both of the values equal each other. | Boolean |
`false`
|
| Conditions | Description |
| ------ | ----------- |
|
[
bar-progress
](
Bar-Progress-Condition
)
| Used for detecting the progress of the bar. |
| placeholder | Used for making custom conditions. |
\ No newline at end of file