/execute @e[type=ThrownEnderpearl] ~ ~ ~ fill ~-3 ~-1 ~-1 ~3 ~1 ~1 stained_hardened_clay 3 replace stained_hardened_clay
Executes enderpearls the action to fill a parallelepipedal area around it, but only replacing other kinds of clay (replace). If you want to change the color of the clay press f3+h then use the number after the slash [example: light blue stained clay (#0159/3)]
/execute @e[type=ThrownEnderpearl] ~ ~ ~ fill ~-1 ~-1 ~-3 ~1 ~1 ~3 stained_hardened_clay 3 replace stained_hardened_clay
Does the same of the previous, but in another direction (used to make the circular effect)
/execute @e[type=ThrownEnderpearl] ~ ~ ~ fill ~-1 ~-3 ~-1 ~1 ~3 ~1 stained_hardened_clay 3 replace stained_hardened_clay
Does the same of the previous, but in another direction (used to make the circular effect)
/entitydata @e[type=ThrownEnderpearl] {ownerName:""}
Changes the owner of the ender pearl (it's the name of the player that launched it, used to know which player teleport)
/execute @e[type=ThrownEnderpearl] ~ ~ ~ effect @e[type=!Player,r=3] 20 1 255 true
Executes ender pearls the action to give wither effect to all the entities that aren't players (!Player, the "!" string means all the entities but the one specified)
/execute @e[type=ThrownEnderpearl] ~ ~ ~ execute @e[type=!Player,r=3,rm=1] ~ ~ ~ particle dripWater ~ ~ ~ 0.5 1 0.5 1 100
Executes ender pearls the action to make at all the entities in the range of more than a block (rm=1) and less than three blocks (r=3) coords drip water particle
/execute @e[type=Snowball] ~ ~ ~ fill ~-5 ~-5 ~-5 ~5 ~5 ~5 stained_hardened_clay 0 replace stained_hardened_clay
It's the same of the first, but without the circular effect and the action is executed by a snowball
/scoreboard objectives add sa dummy
Adds a scoreboard called "sa" that can only be changed using commands (dummy)
/execute @e[type=Skeleton] ~ ~ ~ scoreboard players set @e[type=Arrow,r=3] sa 1
Executes all the skeletons the action to set the scoreboard of all the arrows in the range of three blocks (r=3) to 1
/execute @e[type=Arrow,score_sa=1] ~ ~ ~ fill ~-3 ~-1 ~-1 ~3 ~1 ~1 stained_hardened_clay 14 replace stained_hardened_clay
Is the same of the very first command, but it executes the action to an arrow with the score setted to 1
/execute @e[type=Arrow,score_sa=1] ~ ~ ~ fill ~-1 ~-1 ~-3 ~1 ~1 ~3 stained_hardened_clay 14 replace stained_hardened_clay
Is the same of the very first command, but it executes the action to an arrow with the score setted to 1
/execute @e[type=Arrow,score_sa=1] ~ ~ ~ fill ~-1 ~-3 ~-1 ~1 ~3 ~1 stained_hardened_clay 14 replace stained_hardened_clay
Is the same of the very first command, but it executes the action to an arrow with the score setted to 1