BenTri

How to use /execute

Jul 16th, 2015
408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. How to use
  2. /execute @e[type=Entity,name=entitysName] ~ ~ ~ command
  3.  
  4. the command you put after what you are executing will occur at that mob
  5.  
  6. for exaple if your command is /summon FallingSand It will summon Fallingsand At that Entity
  7.  
  8. How to execute when a player is near a mob
  9.  
  10. execute @e ~ ~ ~ execute @p[r=Distance From Mob] ~ ~ ~ command
Advertisement
Add Comment
Please, Sign In to add comment