Differences

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

Link to this comparison view

conditions:haspotioneffect [2019/07/01 01:37] (current)
Line 1: Line 1:
 +<WRAP infobox right>
 +<WRAP infoboxheader>​HasPotionEffect</​WRAP>​
 +<WRAP infoboxtable>​
 +^Type| Entity|
 +^Aliases| hasPotion|
 +^Added In| 4.0|
 +^Author| Joikd|
 +</​WRAP>​
 +</​WRAP>​
 +====== Condition: HasPotionEffect ======
 + 
 +Tests if the target entity has a potion effect
 + 
 +===== Attributes =====
 +^Attribute ^Aliases ^Description ^
 +| type | t | The potion effect type |
 +| level | lvl, l | An optional level range to match |
 +| duration | d | An optional duration range to match |
 +\\
 + 
 +===== Examples =====
 + 
 +<​code>​
 +Conditions:
 +- haspotioneffect{} true
 +</​code>​
 + 
 + 
  

conditions/haspotioneffect.txt · Last modified: 2019/07/01 01:37 (external edit)