Changes
Page history
use actual mechanic name and added itemissimilar and bowtension conditions to ze wiki
authored
Mar 20, 2022
by
Phillip
Show whitespace changes
Inline
Side-by-side
Skills/Conditions.md
View page @
592c5554
...
@@ -97,11 +97,12 @@ Conditions
...
@@ -97,11 +97,12 @@ Conditions
----------
----------
| Condition | Type | Description |
| Condition | Type | Description |
|--------------------------------------------------------------|----------|---------------------------------------------------------------------------------------------|
|--------------------------------------------------------------
-----------------
|----------|---------------------------------------------------------------------------------------------|
|
[
Altitude
](
/skills/conditions/altitude
)
| Entity | Tests how far above the ground the target entity is |
|
[
Altitude
](
/skills/conditions/altitude
)
| Entity | Tests how far above the ground the target entity is |
|
[
Biome
](
/skills/conditions/biome
)
| Location | Tests if the target is within the given list of biomes |
|
[
Biome
](
/skills/conditions/biome
)
| Location | Tests if the target is within the given list of biomes |
|
[
BlockType
](
/skills/conditions/blocktype
)
| Location | Tests the material type present at the target location |
|
[
BlockType
](
/skills/conditions/blocktype
)
| Location | Tests the material type present at the target location |
|
[
Blocking
](
/skills/conditions/blocking
)
| Entity | Tests if the targeted player is blocking with a shield |
|
[
Blocking
](
/skills/conditions/blocking
)
| Entity | Tests if the targeted player is blocking with a shield |
|
[
BowTension
](
/skills/conditions/bowtension
)
| Meta | Checks the bow tension of when an entity shoots from a bow |
|
[
Burning
](
/skills/conditions/burning
)
| Entity | Whether or not the target entity is on fire |
|
[
Burning
](
/skills/conditions/burning
)
| Entity | Whether or not the target entity is on fire |
|
[
Children
](
/skills/conditions/children
)
| Entity | Tests how many children the caster has |
|
[
Children
](
/skills/conditions/children
)
| Entity | Tests how many children the caster has |
|
[
Color
](
/skills/conditions/color
)
| Entity | Tests the entity's colors |
|
[
Color
](
/skills/conditions/color
)
| Entity | Tests the entity's colors |
...
@@ -124,7 +125,7 @@ Conditions
...
@@ -124,7 +125,7 @@ Conditions
|
[
FoodLevel
](
/skills/conditions/FoodLevel
)
| Entity | Checks if the target has food within the range |
|
[
FoodLevel
](
/skills/conditions/FoodLevel
)
| Entity | Checks if the target has food within the range |
|
[
FoodSaturation
](
/skills/conditions/FoodSaturation
)
| Entity | Checks if the target has food within the range |
|
[
FoodSaturation
](
/skills/conditions/FoodSaturation
)
| Entity | Checks if the target has food within the range |
|
[
Gliding
](
/skills/conditions/gliding
)
| Entity | If the target is gliding |
|
[
Gliding
](
/skills/conditions/gliding
)
| Entity | If the target is gliding |
|
[
Global
s
core
](
/skills/conditions/globalscore
)
| Entity | Checks a global scoreboard value |
|
[
Global
S
core
](
/skills/conditions/globalscore
)
| Entity | Checks a global scoreboard value |
|
[
HasAura
](
/skills/conditions/hasaura
)
| Entity | Checks if the target entity has the given aura |
|
[
HasAura
](
/skills/conditions/hasaura
)
| Entity | Checks if the target entity has the given aura |
|
[
HasAuraStacks
](
/skills/conditions/hasaurastacks
)
| Entity | Tests if the target has the given range of stacks from an aura |
|
[
HasAuraStacks
](
/skills/conditions/hasaurastacks
)
| Entity | Tests if the target has the given range of stacks from an aura |
|
[
HasCurrency
](
/skills/conditions/hascurrency
)
| Entity | If the target has the given amount of vault currency |
|
[
HasCurrency
](
/skills/conditions/hascurrency
)
| Entity | If the target has the given amount of vault currency |
...
@@ -136,14 +137,14 @@ Conditions
...
@@ -136,14 +137,14 @@ Conditions
|
[
HasGravity
](
/skills/conditions/hasgravity
)
| Entity | Tests if the target mob has gravity |
|
[
HasGravity
](
/skills/conditions/hasgravity
)
| Entity | Tests if the target mob has gravity |
|
[
HasPotionEffect
](
/skills/conditions/haspotioneffect
)
| Entity | Tests if the target entity has a potion effect |
|
[
HasPotionEffect
](
/skills/conditions/haspotioneffect
)
| Entity | Tests if the target entity has a potion effect |
|
[
HasTag
](
/skills/conditions/hastag
)
| Entity | Tests if the target has a scoreboard tag |
|
[
HasTag
](
/skills/conditions/hastag
)
| Entity | Tests if the target has a scoreboard tag |
|
[
Has
p
ermission
](
/skills/conditions/haspermission
)
| Entity | Tests if the target player has a permission |
|
[
Has
P
ermission
](
/skills/conditions/haspermission
)
| Entity | Tests if the target player has a permission |
|
[
Health
](
/skills/conditions/health
)
| Entity | Matches the target's health |
|
[
Health
](
/skills/conditions/health
)
| Entity | Matches the target's health |
|
[
Height
](
/skills/conditions/height
)
| Location | Checks if the target's Y location is within a range |
|
[
Height
](
/skills/conditions/height
)
| Location | Checks if the target's Y location is within a range |
|
[
HeightAbove
](
/skills/conditions/heightabove
)
| Location | Checks if the target's Y location is above a value |
|
[
HeightAbove
](
/skills/conditions/heightabove
)
| Location | Checks if the target's Y location is above a value |
|
[
HeightBelow
](
/skills/conditions/heightbelow
)
| Location | Checks if the target's Y location is below a given value |
|
[
HeightBelow
](
/skills/conditions/heightbelow
)
| Location | Checks if the target's Y location is below a given value |
|
[
Holding
](
/skills/conditions/holding
)
| Entity | Checks if the target is holding a given material(support MythicMobs and MMOItems) |
|
[
Holding
](
/skills/conditions/holding
)
| Entity | Checks if the target is holding a given material(support MythicMobs and MMOItems) |
|
[
In
b
lock
](
/skills/conditions/inblock
)
| Location | Checks the material at the target location |
|
[
In
B
lock
](
/skills/conditions/inblock
)
| Location | Checks the material at the target location |
|
[
In
c
ombat
](
/skills/conditions/incombat
)
| Entity | If the target mob is considered in combat |
|
[
In
C
ombat
](
/skills/conditions/incombat
)
| Entity | If the target mob is considered in combat |
|
[
Inside
](
/skills/conditions/inside
)
| Location | Checks if the target has a block over their head |
|
[
Inside
](
/skills/conditions/inside
)
| Location | Checks if the target has a block over their head |
|
[
isCaster
](
/skills/conditions/iscaster
)
| Entity | Checks if the target is the caster |
|
[
isCaster
](
/skills/conditions/iscaster
)
| Entity | Checks if the target is the caster |
|
[
isChild
](
/skills/conditions/ischild
)
| Entity | Checks if the target is a child of the caster |
|
[
isChild
](
/skills/conditions/ischild
)
| Entity | Checks if the target is a child of the caster |
...
@@ -152,6 +153,7 @@ Conditions
...
@@ -152,6 +153,7 @@ Conditions
|
[
isMonster
](
/skills/conditions/ismonster
)
| Entity | Checks if the target is a monster |
|
[
isMonster
](
/skills/conditions/ismonster
)
| Entity | Checks if the target is a monster |
|
[
isPlayer
](
/skills/conditions/isplayer
)
| Entity | Checks if the target is a player |
|
[
isPlayer
](
/skills/conditions/isplayer
)
| Entity | Checks if the target is a player |
|
[
isSprinting
](
/skills/conditions/issprinting
)
| Entity | Checks if the target
**Player**
is sprinting |
|
[
isSprinting
](
/skills/conditions/issprinting
)
| Entity | Checks if the target
**Player**
is sprinting |
|
[
ItemIsSimilar
](
/skills/conditions/itemissimilar
)
| Entity | Checks that targeted player's inventory slot if it's similar to an item |
|
[
ItemRecharging
](
/skills/conditions/itemrecharging
)
| Entity | Checks if the target's weapon is recharging |
|
[
ItemRecharging
](
/skills/conditions/itemrecharging
)
| Entity | Checks if the target's weapon is recharging |
|
[
LastDamageCause
](
/skills/conditions/lastdamagecause
)
| Entity | Checks the target's last damage cause |
|
[
LastDamageCause
](
/skills/conditions/lastdamagecause
)
| Entity | Checks the target's last damage cause |
|
[
LastSignal
](
/skills/conditions/lastsignal
)
| Entity | Matches the last signal received by the target mob |
|
[
LastSignal
](
/skills/conditions/lastsignal
)
| Entity | Matches the last signal received by the target mob |
...
@@ -159,9 +161,9 @@ Conditions
...
@@ -159,9 +161,9 @@ Conditions
|
[
LightLevel
](
/skills/conditions/lightlevel
)
| Location | Tests the light level at the target location |
|
[
LightLevel
](
/skills/conditions/lightlevel
)
| Location | Tests the light level at the target location |
|
[
LineOfSight
](
/skills/conditions/lineofsight
)
| Compare | Tests if the target is within line of sight of the caster |
|
[
LineOfSight
](
/skills/conditions/lineofsight
)
| Compare | Tests if the target is within line of sight of the caster |
|
[
LunarPhase
](
/skills/conditions/lunarphase
)
| Location | Checks the target world's lunar phase |
|
[
LunarPhase
](
/skills/conditions/lunarphase
)
| Location | Checks the target world's lunar phase |
|
[
Mobs
inr
adius
](
/skills/conditions/mobsinradius
)
| Location | Checks how many mobs are in a given radius |
|
[
Mobs
InR
adius
](
/skills/conditions/mobsinradius
)
| Location | Checks how many mobs are in a given radius |
|
[
Mobs
inc
hunk
](
/skills/conditions/mobsinchunk
)
| Location | Matches a range to how many mobs are in the target location's chunk |
|
[
Mobs
InC
hunk
](
/skills/conditions/mobsinchunk
)
| Location | Matches a range to how many mobs are in the target location's chunk |
|
[
Mobs
inw
orld
](
/skills/conditions/mobsinworld
)
| Location | Matches a range to how many mobs are in the target world |
|
[
Mobs
InW
orld
](
/skills/conditions/mobsinworld
)
| Location | Matches a range to how many mobs are in the target world |
|
[
MotionX
](
/skills/conditions/motionx
)
| Entity | Checks the X motion of the target entity against a range. |
|
[
MotionX
](
/skills/conditions/motionx
)
| Entity | Checks the X motion of the target entity against a range. |
|
[
MotionY
](
/skills/conditions/motiony
)
| Entity | Checks the Y motion of the target entity against a range. |
|
[
MotionY
](
/skills/conditions/motiony
)
| Entity | Checks the Y motion of the target entity against a range. |
|
[
MotionZ
](
/skills/conditions/motionz
)
| Entity | If the target has a velocity greater than zero |
|
[
MotionZ
](
/skills/conditions/motionz
)
| Entity | If the target has a velocity greater than zero |
...
@@ -194,15 +196,15 @@ Conditions
...
@@ -194,15 +196,15 @@ Conditions
|
[
TargetInLineOfSight
](
/skills/conditions/targetinlineofsight
)
| Entity | Tests if the target has line of sight to their target |
|
[
TargetInLineOfSight
](
/skills/conditions/targetinlineofsight
)
| Entity | Tests if the target has line of sight to their target |
|
[
TargetNotInLineOfSight
](
/skills/conditions/targetnotinlineofsight
)
| Entity | Tests if the target doesn't have line of sight to their target |
|
[
TargetNotInLineOfSight
](
/skills/conditions/targetnotinlineofsight
)
| Entity | Tests if the target doesn't have line of sight to their target |
|
[
TargetWithin
](
/skills/conditions/targetwithin
)
| Entity | Tests if the target's target is within a certain distance |
|
[
TargetWithin
](
/skills/conditions/targetwithin
)
| Entity | Tests if the target's target is within a certain distance |
|
[
Target
n
ot
w
ithin
](
/skills/conditions/targetnotwithin
)
| Entity | Tests if the target's target is not within a certain distance |
|
[
Target
N
ot
W
ithin
](
/skills/conditions/targetnotwithin
)
| Entity | Tests if the target's target is not within a certain distance |
|
[
Targets
](
/skills/conditions/targets
)
| Meta | Tests if the number of inherited targets from the parent skilltree matches the given range. |
|
[
Targets
](
/skills/conditions/targets
)
| Meta | Tests if the number of inherited targets from the parent skilltree matches the given range. |
|
[
Thundering
](
/skills/conditions/thundering
)
| Location | If it's thundering in the target world |
|
[
Thundering
](
/skills/conditions/thundering
)
| Location | If it's thundering in the target world |
|
[
VariableInRange
](
/skills/conditions/variableinrange
)
| Meta | Checks if the given numeric variable is within a certain range. |
|
[
VariableInRange
](
/skills/conditions/variableinrange
)
| Meta | Checks if the given numeric variable is within a certain range. |
|
[
VariableIsSet
](
/skills/conditions/variableisset
)
| Meta | Checks if the given variable is set. |
|
[
VariableIsSet
](
/skills/conditions/variableisset
)
| Meta | Checks if the given variable is set. |
|
[
Variable
e
quals
](
/skills/conditions/variableequals
)
| Meta | Checks if the given variable has a particular value. |
|
[
Variable
E
quals
](
/skills/conditions/variableequals
)
| Meta | Checks if the given variable has a particular value. |
|
[
Wearing
](
/skills/conditions/wearing
)
| Entity | Tests what the target entity has equipped. |
|
[
Wearing
](
/skills/conditions/wearing
)
| Entity | Tests what the target entity has equipped. |
|
[
World
](
/skills/conditions/world
)
| Location | Checks the name of the target world. |
|
[
World
](
/skills/conditions/world
)
| Location | Checks the name of the target world. |
|
[
World
t
ime
](
/skills/conditions/worldtime
)
| Location | Matches a range against the target location's world's time. |
|
[
World
T
ime
](
/skills/conditions/worldtime
)
| Location | Matches a range against the target location's world's time. |
|
[
Yaw
](
/skills/conditions/yaw
)
| Entity | Checks the yaw of the target entity against a range. |
|
[
Yaw
](
/skills/conditions/yaw
)
| Entity | Checks the yaw of the target entity against a range. |
|
[
yDiff
](
/skills/conditions/ydiff
)
| Entity | Checks the difference in Y between the targeted entity and the caster. |
|
[
yDiff
](
/skills/conditions/ydiff
)
| Entity | Checks the difference in Y between the targeted entity and the caster. |
...
...
...
...