How to execute a command relative to an entity
//ads -- adsterra.com -- native banner
?>
I was wondering how to execute a command relative to an entity in Minecraft using commands for a map I was working on. I am somewhat familiar with the use of the /execute command, but wanted to use the /summon to make a grenade using item drops or arrows, then have TNT summoned to the area that the item is in.
Pictures about "How to execute a command relative to an entity"



How do you execute a entity command in Minecraft?
For the command to kill a player or other entity, see Commands/kill. /execute executes another command but allows changing the executor, changing the position and angle it is executed at, adding preconditions, and storing its result.How do you teleport to the nearest entity in Minecraft?
Players who want to move mobs to their character's position or move their character to the mob's position can use the following commands:How do you use execute detect?
Command Block ChainsHow to Run Commands relative to Entity position | Minecraft
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pressmaster, Pressmaster, Andrea Piacquadio, Askar Abayev
