Differences

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

Link to this comparison view

Both sides previous revision Previous revision
skills:targeters:start [2019/01/22 17:52]
rickyling [Target Filters]
skills:targeters:start [2019/11/01 16:49] (current)
wahrheit [Vanilla Targeters]
Line 102: Line 102:
 These were all added in MythicMobs Version 2.5.0 These were all added in MythicMobs Version 2.5.0
  
-====Vanilla Targeters==== 
- 
-//**NOTE:** As of 4.5.0, Vanilla targeters have been deprecated and removed from MythicMobs.//​ 
- 
-These targeters will work exactly like the ones used in minecraft commands and/or command blocks. They can be extremely specific and long, or just plain and simple. The extensions are encased in [ ] -brackets and include possibilites like radius, amount, gamemode, scoreboard values, team memberships,​ mob types, xp level, locations and much more. 
- 
-//**Please note** that due to a bug, vanilla targeters used with MythicMobs must currently always contain a radius or minimum radius argument or else will not be able to target anything. Further MM's vanilla targeters are not capeable of targeting entities in worlds different than the origin.// 
- 
-^ Targeter ^ Description ^  
-|  **@p** ​ | Targets the closest player |  
-|  **@a** ​ | Targets all players |  
-|  **@r** ​ | Targets a random player |  
-|  **@e** ​ | Targets all entities |  
- 
-^  Argument ​ ^ Description ^ 
-|  x=X, y=Y, z=Z  | Coordinates. When these attributes are given, the targeter will execute from this location. | 
-|  r=R  | Maximum radius in blocks. By default based from the mobs location, unless coordinates are present. | 
-|  rm=RM  | Minimum radius in blocks. Same as maximum radius. | 
-|  m=M  | Gamemode. Defines the gamemode the target has to be in. 0 = Survival, 1 = Creative, 2 = Adventure, 3 = Spectator | 
-|  c=C  | Maximum amount of entities. Will select closest entities if positive, and farthest entities if negative. | 
-|  l=L  | Maximum EXP level. The highest EXP level the target may have. Can't be used when targeting non-players. | 
-|  lm=LM  | Minimum EXP level. Same as maximum EXP level. | 
-|  score_<​obj>​=SCORE ​ | Maximum score on <​objective>​. | 
-|  score_<​obj>​_min=SCORE ​ | Minimum score on <​objective>​. | 
-|  team=TEAM ​ | Target must be member of scoreboard team "​TEAM"​. | 
-|  team=!TEAM ​ | Target must **NOT** be member of scoreboard team "​TEAM"​. | 
-|  name=NAME ​ | Target must match "​NAME"​. | 
-|  name=!NAME ​ | Target must **NOT** match "​NAME"​. | 
-|  dx=DX, dy=DY, dz=DZ  | Volume dimensions. Used to select cuboid areas. | 
-|  rx=RX  | Maximum vertical rotation | 
-|  rxm=RXM ​ | Minimum vertical rotation | 
-|  ry=RY  | Maximum horizontal rotation | 
-|  rym=RYM ​ | Minimum horizontal rotation | 
-|  type=TYPE ​ | Target must match "​TYPE"​. | 
-|  type=!TYPE ​ | Target must **NOT** match "​TYPE"​. | 
-|  tag=TAG ​ | Target must carry the scoreboard tag "​TAG"​. | 
-|  tag=!TAG ​ | Target must **NOT** carry the scoreboard tag "​TAG"​. | 
- 
-**Examples**\\ 
-\\ 
-**@p[lm=10]** 
-  * will target the closest player with an xp level of 10 or higher\\ 
-**@a[r=10]** 
-  * will target all players in a radius of 10 blocks\\ 
-**@a[r=10,​c=3]** 
-  * will target the 3 closest players in a radius of 10 blocks\\ 
-**@a[r=10,​c=2,​lm=10]** 
-  *  will target the 2 closest players in a radius of 10 blocks with an xp level of 10 or higher\\ 
-**@a[r=10,​score_ASD=1]** 
-  *  will target all players in a 10 block radius with a maximum score of 1 on the scoreboard "​ASD"​\\ 
-**@a[r=12,​score_ASD_min=2]** 
-  * will target all players in a 12 block radius with a score of atleast 2 on the scoreboard "​ASD"​\\ 
- 
-The possibilities are vast, knock yourselves out! 
  
 ======Targeter Options====== ======Targeter Options======

skills/targeters/start.txt · Last modified: 2019/11/01 16:49 by wahrheit