Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
conditions:start [2020/01/08 10:03]
wahrheit
conditions:start [2020/07/14 20:35] (current)
wahrheit [Examples]
Line 65: Line 65:
 Here for example the distance condition: Here for example the distance condition:
   TargetConditions:​   TargetConditions:​
 +  - distance{d=1to10} true
 +
 +  TriggerConditions:​
   - distance{d=1to10} true   - distance{d=1to10} true
  
Line 90: Line 93:
 | [[:​conditions:​blocktype|BlockType]] | Location | Tests the material type present at the target location | | [[:​conditions:​blocktype|BlockType]] | Location | Tests the material type present at the target location |
 | [[:​conditions:​blocking|Blocking]] | Entity | Tests if the target entity is blocking with a shield | | [[:​conditions:​blocking|Blocking]] | Entity | Tests if the target entity is blocking with a shield |
 +| [[:​conditions:​children|Children]] | Entity | Tests how many children the caster has |
 | [[:​conditions:​crouching|Crouching]] | Entity | Whether or not the target entity is crouching | | [[:​conditions:​crouching|Crouching]] | Entity | Whether or not the target entity is crouching |
 | [[:​conditions:​cuboid|Cuboid]] | Compare | Whether the target is within the given cuboid between location1 x location2 | | [[:​conditions:​cuboid|Cuboid]] | Compare | Whether the target is within the given cuboid between location1 x location2 |
Line 108: Line 112:
 | [[:​conditions:​hasowner|HasOwner]] | Entity | Tests if the target mob has an owner | | [[:​conditions:​hasowner|HasOwner]] | Entity | Tests if the target mob has an owner |
 | [[:​conditions:​hasparent|HasParent]] | Entity | Tests if the target mob has a parent | | [[:​conditions:​hasparent|HasParent]] | Entity | Tests if the target mob has a parent |
 +| [[:​conditions:​hasgravity|HasGravity]] | Entity | Tests if the target mob has gravity |
 | [[:​conditions:​haspotioneffect|HasPotionEffect]] | Entity | Tests if the target entity has a potion effect | | [[:​conditions:​haspotioneffect|HasPotionEffect]] | Entity | Tests if the target entity has a potion effect |
 | [[:​conditions:​hastag|HasTag]] | Entity | Tests if the target has a scoreboard tag | | [[:​conditions:​hastag|HasTag]] | Entity | Tests if the target has a scoreboard tag |
Line 126: Line 131:
 | [[:​conditions:​lineofsight|LineOfSight]] | Compare | Tests if the target is within line of sight of the caster | | [[:​conditions:​lineofsight|LineOfSight]] | Compare | Tests if the target is within line of sight of the caster |
 | [[:​conditions:​lunarphase|LunarPhase]] | Location | Checks the target world'​s lunar phase | | [[:​conditions:​lunarphase|LunarPhase]] | Location | Checks the target world'​s lunar phase |
 +| [[:​conditions:​mobsinradius|Mobsinradius]] | Location | Checks how many mobs are in a given radius |
 | [[:​conditions:​mobsinchunk|Mobsinchunk]] | Location | Matches a range to how many mobs are in the target location'​s chunk | | [[:​conditions:​mobsinchunk|Mobsinchunk]] | Location | Matches a range to how many mobs are in the target location'​s chunk |
 | [[:​conditions:​mobsinworld|Mobsinworld]] | Location | Matches a range to how many mobs are in the target world | | [[:​conditions:​mobsinworld|Mobsinworld]] | Location | Matches a range to how many mobs are in the target world |
Line 145: Line 151:
 | [[:​conditions:​raining|Raining]] | Location | If it's raining in the target world | | [[:​conditions:​raining|Raining]] | Location | If it's raining in the target world |
 | [[:​conditions:​region|Region]] | Location | If the target is within the given WorldGuard region | | [[:​conditions:​region|Region]] | Location | If the target is within the given WorldGuard region |
 +| [[:​conditions:​samefaction|SameFaction]] | Entity | Tests if the caster and target are in the same faction |
 | [[:​conditions:​score|Score]] | Entity | Checks a scoreboard value of the target entity | | [[:​conditions:​score|Score]] | Entity | Checks a scoreboard value of the target entity |
 | [[:​conditions:​stance|Stance]] | Entity | Checks the stance of the target mob | | [[:​conditions:​stance|Stance]] | Entity | Checks the stance of the target mob |

conditions/start.1578502984.txt.gz · Last modified: 2020/06/30 21:13 (external edit)