... | ... | @@ -98,53 +98,53 @@ Conditions |
|
|
|
|
|
| Condition | Type | Description |
|
|
|
|--------------------------------------------------------------|----------|---------------------------------------------------------------------------------------------|
|
|
|
| [Altitude](/conditions/altitude) | Entity | Tests how far above the ground the target entity is |
|
|
|
| [Biome](/conditions/biome) | Location | Tests if the target is within the given list of biomes |
|
|
|
| [BlockType](/conditions/blocktype) | Location | Tests the material type present at the target location |
|
|
|
| [Blocking](/conditions/blocking) | Entity | Tests if the targeted player is blocking with a shield |
|
|
|
| [Burning](/conditions/burning) | Entity | Whether or not the target entity is on fire |
|
|
|
| [Children](/conditions/children) | Entity | Tests how many children the caster has |
|
|
|
| [Color](/conditions/color) | Entity | Tests the entity's colors |
|
|
|
| [Crouching](/conditions/crouching) | Entity | Whether or not the target entity is crouching |
|
|
|
| [Cuboid](/conditions/cuboid) | Compare | Whether the target is within the given cuboid between location1 x location2 |
|
|
|
| [DamageAmount](/conditions/DamageAmount) | Entity | Checks for a range of damage taken |
|
|
|
| [DamageCause](/conditions/DamageCause) | Entity | Checks the type of the damage cause |
|
|
|
| [Dawn](/conditions/dawn) | Location | If the time is dawn, from 22000 to 2000 in-game time |
|
|
|
| [Day](/conditions/day) | Location | If the time is day, from 2000 to 10000 in-game time |
|
|
|
| [Distance](/conditions/distance) | Compare | Whether the distance between the caster and target is within the given range |
|
|
|
| [DistanceFromTrackedLocation](/conditions/distancefromtrackedlocation) | Location | Whether the distance from the tracked location to the target is within the given range |
|
|
|
| [DistanceFromSpawn](/conditions/distancefromspawn) | Location | Whether the distance from the world's spawn point to the target is within the given range |
|
|
|
| [Dusk](/conditions/dusk) | Location | If the time is dusk, from 14000 to 18000 in-game time. |
|
|
|
| [EnchantingLevel](/conditions/enchantingLevel) | Entity | Checks the entity experience level |
|
|
|
| [EnderDragonPhase](/conditions/EnderDragonPhase) | Entity | Checks if the ender dragon is in a phase or phases |
|
|
|
| [EntityType](/conditions/entitytype) | Entity | Tests the entity type of the target |
|
|
|
| [Faction](/conditions/faction) | Entity | Tests for the targets faction |
|
|
|
| [FallSpeed](/conditions/fallspeed) | Entity | If the fall speed of the target is within the given range |
|
|
|
| [FieldOfView](/conditions/fieldofview) | Compare | Tests if the target is within the given angle from where the caster is looking |
|
|
|
| [FoodLevel](/conditions/FoodLevel) | Entity | Checks if the target has food within the range |
|
|
|
| [FoodSaturation](/conditions/FoodSaturation) | Entity | Checks if the target has food within the range |
|
|
|
| [Gliding](/conditions/gliding) | Entity | If the target is gliding |
|
|
|
| [Globalscore](/conditions/globalscore) | Entity | Checks a global scoreboard value |
|
|
|
| [HasAura](/conditions/hasaura) | Entity | Checks if the target entity has the given aura |
|
|
|
| [HasAuraStacks](/conditions/hasaurastacks) | Entity | Tests if the target has the given range of stacks from an aura |
|
|
|
| [HasCurrency](/conditions/hascurrency) | Entity | If the target has the given amount of vault currency |
|
|
|
| [HasInventorySpace](/conditions/hasinventoryspace) | Entity | If the target has the given amount of empty inventory space |
|
|
|
| [HasItem](/conditions/hasItem) | Entity | Tests if the target player has the given number of given material |
|
|
|
| [HasOwner](/conditions/hasowner) | Entity | Tests if the target mob has an owner |
|
|
|
| [HasParent](/conditions/hasparent) | Entity | Tests if the target mob has a parent |
|
|
|
| [HasPassenger](/skills/conditions/hasPassenger) | Entity | Checks if the target entity has a passenger |
|
|
|
| [HasGravity](/conditions/hasgravity) | Entity | Tests if the target mob has gravity |
|
|
|
| [HasPotionEffect](/conditions/haspotioneffect) | Entity | Tests if the target entity has a potion effect |
|
|
|
| [HasTag](/conditions/hastag) | Entity | Tests if the target has a scoreboard tag |
|
|
|
| [Haspermission](/conditions/haspermission) | Entity | Tests if the target player has a permission |
|
|
|
| [Health](/conditions/health) | Entity | Matches the target's health |
|
|
|
| [Height](/conditions/height) | Location | Checks if the target's Y location is within a range |
|
|
|
| [HeightAbove](/conditions/heightabove) | Location | Checks if the target's Y location is above a value |
|
|
|
| [HeightBelow](/conditions/heightbelow) | Location | Checks if the target's Y location is below a given value |
|
|
|
| [Holding](/conditions/holding) | Entity | Checks if the target is holding a given material(support MythicMobs and MMOItems) |
|
|
|
| [Inblock](/conditions/inblock) | Location | Checks the material at the target location |
|
|
|
| [Incombat](/conditions/incombat) | Entity | If the target mob is considered in combat |
|
|
|
| [Inside](/conditions/inside) | Location | Checks if the target has a block over their head |
|
|
|
| [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 |
|
|
|
| [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 |
|
|
|
| [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 |
|
|
|
| [Color](/skills/conditions/color) | Entity | Tests the entity's colors |
|
|
|
| [Crouching](/skills/conditions/crouching) | Entity | Whether or not the target entity is crouching |
|
|
|
| [Cuboid](/skills/conditions/cuboid) | Compare | Whether the target is within the given cuboid between location1 x location2 |
|
|
|
| [DamageAmount](/skills/conditions/DamageAmount) | Entity | Checks for a range of damage taken |
|
|
|
| [DamageCause](/skills/conditions/DamageCause) | Entity | Checks the type of the damage cause |
|
|
|
| [Dawn](/skills/conditions/dawn) | Location | If the time is dawn, from 22000 to 2000 in-game time |
|
|
|
| [Day](/skills/conditions/day) | Location | If the time is day, from 2000 to 10000 in-game time |
|
|
|
| [Distance](/skills/conditions/distance) | Compare | Whether the distance between the caster and target is within the given range |
|
|
|
| [DistanceFromTrackedLocation](/skills/conditions/distancefromtrackedlocation) | Location | Whether the distance from the tracked location to the target is within the given range |
|
|
|
| [DistanceFromSpawn](/skills/conditions/distancefromspawn) | Location | Whether the distance from the world's spawn point to the target is within the given range |
|
|
|
| [Dusk](/skills/conditions/dusk) | Location | If the time is dusk, from 14000 to 18000 in-game time. |
|
|
|
| [EnchantingLevel](/skills/conditions/enchantingLevel) | Entity | Checks the entity experience level |
|
|
|
| [EnderDragonPhase](/skills/conditions/EnderDragonPhase) | Entity | Checks if the ender dragon is in a phase or phases |
|
|
|
| [EntityType](/skills/conditions/entitytype) | Entity | Tests the entity type of the target |
|
|
|
| [Faction](/skills/conditions/faction) | Entity | Tests for the targets faction |
|
|
|
| [FallSpeed](/skills/conditions/fallspeed) | Entity | If the fall speed of the target is within the given range |
|
|
|
| [FieldOfView](/skills/conditions/fieldofview) | Compare | Tests if the target is within the given angle from where the caster is looking |
|
|
|
| [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 |
|
|
|
| [Gliding](/skills/conditions/gliding) | Entity | If the target is gliding |
|
|
|
| [Globalscore](/skills/conditions/globalscore) | Entity | Checks a global scoreboard value |
|
|
|
| [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 |
|
|
|
| [HasCurrency](/skills/conditions/hascurrency) | Entity | If the target has the given amount of vault currency |
|
|
|
| [HasInventorySpace](/skills/conditions/hasinventoryspace) | Entity | If the target has the given amount of empty inventory space |
|
|
|
| [HasItem](/skills/conditions/hasItem) | Entity | Tests if the target player has the given number of given material |
|
|
|
| [HasOwner](/skills/conditions/hasowner) | Entity | Tests if the target mob has an owner |
|
|
|
| [HasParent](/skills/conditions/hasparent) | Entity | Tests if the target mob has a parent |
|
|
|
| [HasPassenger](/skills/skills/conditions/hasPassenger) | Entity | Checks if the target entity has a passenger |
|
|
|
| [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 |
|
|
|
| [HasTag](/skills/conditions/hastag) | Entity | Tests if the target has a scoreboard tag |
|
|
|
| [Haspermission](/skills/conditions/haspermission) | Entity | Tests if the target player has a permission |
|
|
|
| [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 |
|
|
|
| [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 |
|
|
|
| [Holding](/skills/conditions/holding) | Entity | Checks if the target is holding a given material(support MythicMobs and MMOItems) |
|
|
|
| [Inblock](/skills/conditions/inblock) | Location | Checks the material at the target location |
|
|
|
| [Incombat](/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 |
|
|
|
| [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 |
|
|
|
| [isLiving](/skills/conditions/isliving) | Entity | Checks if the target is a living entity |
|
... | ... | @@ -152,59 +152,59 @@ Conditions |
|
|
| [isMonster](/skills/conditions/ismonster) | Entity | Checks if the target is a monster |
|
|
|
| [isPlayer](/skills/conditions/isplayer) | Entity | Checks if the target is a player |
|
|
|
| [isSprinting](/skills/conditions/issprinting) | Entity | Checks if the target **Player** is sprinting |
|
|
|
| [ItemRecharging](/conditions/itemrecharging) | Entity | Checks if the target's weapon is recharging |
|
|
|
| [LastDamageCause](/conditions/lastdamagecause) | Entity | Checks the target's last damage cause |
|
|
|
| [LastSignal](/conditions/lastsignal) | Entity | Matches the last signal received by the target mob |
|
|
|
| [Level](/conditions/level) | Entity | Checks the target MythicMob's level |
|
|
|
| [LightLevel](/conditions/lightlevel) | Location | Tests the light level at the target location |
|
|
|
| [LineOfSight](/conditions/lineofsight) | Compare | Tests if the target is within line of sight of the caster |
|
|
|
| [LunarPhase](/conditions/lunarphase) | Location | Checks the target world's lunar phase |
|
|
|
| [Mobsinradius](/conditions/mobsinradius) | Location | Checks how many mobs are in a given radius |
|
|
|
| [Mobsinchunk](/conditions/mobsinchunk) | Location | Matches a range to how many mobs are in the target location's chunk |
|
|
|
| [Mobsinworld](/conditions/mobsinworld) | Location | Matches a range to how many mobs are in the target world |
|
|
|
| [MotionX](/conditions/motionx) | Entity | Checks the X motion of the target entity against a range. |
|
|
|
| [MotionY](/conditions/motiony) | Entity | Checks the Y motion of the target entity against a range. |
|
|
|
| [MotionZ](/conditions/motionz) | Entity | If the target has a velocity greater than zero |
|
|
|
| [Mounted](/conditions/mounted) | Entity | If the target entity is riding a mount/vehicle |
|
|
|
| [Moving](/conditions/moving) | Entity | If the target has a velocity greater than zero |
|
|
|
| [MythicMobType](/conditions/mythicmobtype) | Entity | Checks the MythicMob type of the target mob |
|
|
|
| [Name](/conditions/name) | Entity | Checks against the entity's name |
|
|
|
| [NearClaim](/conditons/nearclaim) | Location | If the target location is near any GriefPrevention claims |
|
|
|
| [Night](/conditions/night) | Location | If the time is night, from 14000 to 22000 in-game time |
|
|
|
| [NotInRegion](/conditions/notinregion) | Location | If the target location is not within the given WorldGuard region |
|
|
|
| [OffGCD](/conditions/offgcd) | Entity | Checks if the target mob has an active Global Cooldown |
|
|
|
| [OnBlock](/conditions/onblock) | Location | Matches the block the target entity is standing on |
|
|
|
| [OnGround](/conditions/onground) | Entity | If the target entity is standing on solid ground |
|
|
|
| [Outside](/conditions/outside) | Location | If the target has open sky above them |
|
|
|
| [Owner](/conditions/owner) | Compare | Checks if the target entity is the owner of the caster |
|
|
|
| [OwnerIsOnline](/conditions/ownerisonline) | Entity | Checks if the owner of the target mob is online, if the owner is a player |
|
|
|
| [Pitch](/conditions/pitch) | Entity | Checks if the pitch of the target entity is within a range |
|
|
|
| [PlayerKills](/conditions/playerkills) | Entity | Matches how many players the target mob has killed |
|
|
|
| [PlayersInRadius](/conditions/playersinradius) | Entity | Checks how many players are in a radius |
|
|
|
| [PlayerNotWithin](/conditions/playernotwithin) | Location | Checks if any players are within a radius of the target |
|
|
|
| [PlayerWithin](/conditions/playerwithin) | Location | Checks if any players are within a radius of the target |
|
|
|
| [Raining](/conditions/raining) | Location | If it's raining in the target world |
|
|
|
| [Region](/conditions/region) | Location | If the target is within the given WorldGuard region |
|
|
|
| [SameFaction](/conditions/samefaction) | Entity | Tests if the caster and target are in the same faction |
|
|
|
| [Score](/conditions/score) | Entity | Checks a scoreboard value of the target entity |
|
|
|
| [Mob Size](/skills/conditions/mobsize) | Entity | Checks the size of the target entity |
|
|
|
| [Stance](/conditions/stance) | Entity | Checks the stance of the target mob |
|
|
|
| [StringEquals](/conditions/stringequals) | Meta | Checks if value1 equals value2. Both values can use variables and placeholders. |
|
|
|
| [Sunny](/conditions/sunny) | Location | If the weather is sunny in the target world. |
|
|
|
| [TargetInLineOfSight](/conditions/targetinlineofsight) | Entity | Tests if the target has line of sight to their target |
|
|
|
| [TargetNotInLineOfSight](/conditions/targetnotinlineofsight) | Entity | Tests if the target doesn't have line of sight to their target |
|
|
|
| [TargetWithin](/conditions/targetwithin) | Entity | Tests if the target's target is within a certain distance |
|
|
|
| [Targetnotwithin](/conditions/targetnotwithin) | Entity | Tests if the target's target is not within a certain distance |
|
|
|
| [Targets](/conditions/targets) | Meta | Tests if the number of inherited targets from the parent skilltree matches the given range. |
|
|
|
| [Thundering](/conditions/thundering) | Location | If it's thundering in the target world |
|
|
|
| [VariableInRange](/conditions/variableinrange) | Meta | Checks if the given numeric variable is within a certain range. |
|
|
|
| [VariableIsSet](/conditions/variableisset) | Meta | Checks if the given variable is set. |
|
|
|
| [Variableequals](/conditions/variableequals) | Meta | Checks if the given variable has a particular value. |
|
|
|
| [Wearing](/conditions/wearing) | Entity | Tests what the target entity has equipped. |
|
|
|
| [World](/conditions/world) | Location | Checks the name of the target world. |
|
|
|
| [Worldtime](/conditions/worldtime) | Location | Matches a range against the target location's world's time. |
|
|
|
| [Yaw](/conditions/yaw) | Entity | Checks the yaw of the target entity against a range. |
|
|
|
| [yDiff](/conditions/ydiff) | Entity | Checks the difference in Y between the targeted entity and the caster. |
|
|
|
| [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 |
|
|
|
| [LastSignal](/skills/conditions/lastsignal) | Entity | Matches the last signal received by the target mob |
|
|
|
| [Level](/skills/conditions/level) | Entity | Checks the target MythicMob's level |
|
|
|
| [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 |
|
|
|
| [LunarPhase](/skills/conditions/lunarphase) | Location | Checks the target world's lunar phase |
|
|
|
| [Mobsinradius](/skills/conditions/mobsinradius) | Location | Checks how many mobs are in a given radius |
|
|
|
| [Mobsinchunk](/skills/conditions/mobsinchunk) | Location | Matches a range to how many mobs are in the target location's chunk |
|
|
|
| [Mobsinworld](/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. |
|
|
|
| [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 |
|
|
|
| [Mounted](/skills/conditions/mounted) | Entity | If the target entity is riding a mount/vehicle |
|
|
|
| [Moving](/skills/conditions/moving) | Entity | If the target has a velocity greater than zero |
|
|
|
| [MythicMobType](/skills/conditions/mythicmobtype) | Entity | Checks the MythicMob type of the target mob |
|
|
|
| [Name](/skills/conditions/name) | Entity | Checks against the entity's name |
|
|
|
| [NearClaim](/skills/conditons/nearclaim) | Location | If the target location is near any GriefPrevention claims |
|
|
|
| [Night](/skills/conditions/night) | Location | If the time is night, from 14000 to 22000 in-game time |
|
|
|
| [NotInRegion](/skills/conditions/notinregion) | Location | If the target location is not within the given WorldGuard region |
|
|
|
| [OffGCD](/skills/conditions/offgcd) | Entity | Checks if the target mob has an active Global Cooldown |
|
|
|
| [OnBlock](/skills/conditions/onblock) | Location | Matches the block the target entity is standing on |
|
|
|
| [OnGround](/skills/conditions/onground) | Entity | If the target entity is standing on solid ground |
|
|
|
| [Outside](/skills/conditions/outside) | Location | If the target has open sky above them |
|
|
|
| [Owner](/skills/conditions/owner) | Compare | Checks if the target entity is the owner of the caster |
|
|
|
| [OwnerIsOnline](/skills/conditions/ownerisonline) | Entity | Checks if the owner of the target mob is online, if the owner is a player |
|
|
|
| [Pitch](/skills/conditions/pitch) | Entity | Checks if the pitch of the target entity is within a range |
|
|
|
| [PlayerKills](/skills/conditions/playerkills) | Entity | Matches how many players the target mob has killed |
|
|
|
| [PlayersInRadius](/skills/conditions/playersinradius) | Entity | Checks how many players are in a radius |
|
|
|
| [PlayerNotWithin](/skills/conditions/playernotwithin) | Location | Checks if any players are within a radius of the target |
|
|
|
| [PlayerWithin](/skills/conditions/playerwithin) | Location | Checks if any players are within a radius of the target |
|
|
|
| [Raining](/skills/conditions/raining) | Location | If it's raining in the target world |
|
|
|
| [Region](/skills/conditions/region) | Location | If the target is within the given WorldGuard region |
|
|
|
| [SameFaction](/skills/conditions/samefaction) | Entity | Tests if the caster and target are in the same faction |
|
|
|
| [Score](/skills/conditions/score) | Entity | Checks a scoreboard value of the target entity |
|
|
|
| [Mob Size](/skills/skills/conditions/mobsize) | Entity | Checks the size of the target entity |
|
|
|
| [Stance](/skills/conditions/stance) | Entity | Checks the stance of the target mob |
|
|
|
| [StringEquals](/skills/conditions/stringequals) | Meta | Checks if value1 equals value2. Both values can use variables and placeholders. |
|
|
|
| [Sunny](/skills/conditions/sunny) | Location | If the weather is sunny in the target world. |
|
|
|
| [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 |
|
|
|
| [TargetWithin](/skills/conditions/targetwithin) | Entity | Tests if the target's target is within a certain distance |
|
|
|
| [Targetnotwithin](/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. |
|
|
|
| [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. |
|
|
|
| [VariableIsSet](/skills/conditions/variableisset) | Meta | Checks if the given variable is set. |
|
|
|
| [Variableequals](/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. |
|
|
|
| [World](/skills/conditions/world) | Location | Checks the name of the target world. |
|
|
|
| [Worldtime](/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. |
|
|
|
| [yDiff](/skills/conditions/ydiff) | Entity | Checks the difference in Y between the targeted entity and the caster. |
|
|
|
|
|
|
More Examples
|
|
|
-------------
|
... | ... | |