Minecraft - How to use the execute command? (Java edition)

In this video I will try to explain to you how to use the execute command. I will first explain the structure of one execute command. Then I will show you a few examples of the execute command :) These are only the basics of the execute command. So there are no complicated commands in this video :) Commands used in this video: In chat: - /execute as @e at @s run setblock ~ ~ ~ gold_block (beginning) - /execute run summon minecraft:zombie (spawn a zombie) - /execute as @e[type=pig] at @s run summon creeper (Creepers on pigs) In command block - execute as @p at @s run setblock ~ ~-1 ~ gold_block (Walkin' on gold) - execute as @p at @s unless block ~ ~-1 ~ air run setblock ~ ~-1 ~ gold_block (Walkin' on gold 2) - execute as @e at @s run setblock ~ ~-1 ~ gold_block (Walkin' on gold every entity) - execute as @e at @s run setblock ~ ~-1 ~ gold_block (Walkin' on air?) - execute as @e[type=arrow] run data merge entity @s {NoGravity:1b} (Flying arrows!) - execute as @e[type=arrow] run data merge entity @s {NoGravity:1b} (Flying snowballs!) Remember to turn the command blocks to repeating and always active! There's one thing that I forgot to say. This only works on Minecraft Java Edition. Dont expect it to work on Minecraft Bedrock!

0/0


0/0

0/0

0/0

0/0