Skip to main content
replaced http://minecraft.gamepedia.com/ with https://minecraft.wiki/w/
Source Link

The execute command is used to call a command on a specific entity.

From GamepediaGamepedia:

Syntax:

execute <entity> <x> <y> <z> <command …>

An example would be if you wanted to strike all zombies with lightning you could use:

execute @e[type=Zombie] ~ ~ ~ summon LightningBolt

So as you can see you can use it to spawn things near entities.

Good luck!

The execute command is used to call a command on a specific entity.

From Gamepedia:

Syntax:

execute <entity> <x> <y> <z> <command …>

An example would be if you wanted to strike all zombies with lightning you could use:

execute @e[type=Zombie] ~ ~ ~ summon LightningBolt

So as you can see you can use it to spawn things near entities.

Good luck!

The execute command is used to call a command on a specific entity.

From Gamepedia:

Syntax:

execute <entity> <x> <y> <z> <command …>

An example would be if you wanted to strike all zombies with lightning you could use:

execute @e[type=Zombie] ~ ~ ~ summon LightningBolt

So as you can see you can use it to spawn things near entities.

Good luck!

Commonmark migration
Source Link

The execute command is used to call a command on a specific entity.

From Gamepedia:

Syntax:

 
execute <entity> <x> <y> <z> <command …>

An example would be if you wanted to strike all zombies with lightning you could use:

execute @e[type=Zombie] ~ ~ ~ summon LightningBolt

So as you can see you can use it to spawn things near entities.

Good luck!

The execute command is used to call a command on a specific entity.

From Gamepedia:

Syntax:

 
execute <entity> <x> <y> <z> <command …>

An example would be if you wanted to strike all zombies with lightning you could use:

execute @e[type=Zombie] ~ ~ ~ summon LightningBolt

So as you can see you can use it to spawn things near entities.

Good luck!

The execute command is used to call a command on a specific entity.

From Gamepedia:

Syntax:

execute <entity> <x> <y> <z> <command …>

An example would be if you wanted to strike all zombies with lightning you could use:

execute @e[type=Zombie] ~ ~ ~ summon LightningBolt

So as you can see you can use it to spawn things near entities.

Good luck!

Minor formatting (code blocks for code), fixing link
Source Link
Skylinerw
  • 12.7k
  • 1
  • 23
  • 36

The execute command is used to call a command on a specific entity.

From GamepediaGamepedia:

Syntax:
execute <entity> <x> <y> <z> <command …>

execute <entity> <x> <y> <z> <command …>

An example would be if you wanted to strike all zombies with lightning you could use:

execute @e[type=Zombie] ~ ~ ~ summon LightningBolt

execute @e[type=Zombie] ~ ~ ~ summon LightningBolt

So as you can see you can use it to spawn things near entities.

Good luck!

The execute command is used to call a command on a specific entity

From Gamepedia:

Syntax:
execute <entity> <x> <y> <z> <command …>

An example would be if you wanted to strike all zombies with lightning you could use:

execute @e[type=Zombie] ~ ~ ~ summon LightningBolt

So as you can see you can use it to spawn things near entities.

Good luck!

The execute command is used to call a command on a specific entity.

From Gamepedia:

Syntax:

execute <entity> <x> <y> <z> <command …>

An example would be if you wanted to strike all zombies with lightning you could use:

execute @e[type=Zombie] ~ ~ ~ summon LightningBolt

So as you can see you can use it to spawn things near entities.

Good luck!

Source Link
Loading