GUNS in Minecraft: Command Block Creation

I do not recommend watching the video. I was very bad at actually showing people how to do things. Follow this guide instead!

Today, I am going to be showing my COMMAND block creation that adds GUNS into Minecraft: Bedrock Edition. This works on Xbox, Windows 10, IOS, or Android. You do not need mods or anything and this works perfectly fine for Minecraft PE (Minecraft Bedrock).

Here we go:

Getting the stuff

You’ll need:

Redstone Block

Chain Command Block

Repeat Command Block

Iron Horse Armor

Iron Nugget

The iron nuggets will be your ammo so rename it to Bullet. The iron horse armor will be your gun so rename it to Assault Rifle.

Placing the blocks

Place the command blocks in this pattern:

1 | Chain Command Block with Conditional and Always Active / Command: /tag @e[tag=shot] add shotsound

2 | Chain Command Block with Conditional and Always Active / Command: /execute @a[tag=!aractive] ~ ~ ~ tag @e[type=item,name=”Assault Rifle”,tag=!ar] add ar

3 | Repeat Command Block with Unconditional and Needs Redstone / Command: /execute @e[type=item,name=”Assault Rifle”,tag=!ar] ~ ~ ~ tag @p[tag=aractive] remove aractive

4 | Repeat Command Block with Unconditional and Always Active / Command: /execute @e[type=item,name=Bullet,tag=!shotsound,tag=shot] ~ ~ ~ playsound random.explode @a ~ ~ ~ 5 2

5 | Chain Command Block with Conditional and Always Active / Command: /execute @a[tag=aractive] ~ ~ ~ tag @e[type=item,name=”Assault Rifle”,tag=!ar] add ar

6 | Repeat Command Block with Unconditional and Needs Redstone / Command: /execute @e[type=item,name=”Assault Rifle”,tag=!ar] ~ ~ ~ tag @p[tag=!aractive] add aractive

Place more command blocks in this pattern:

7 | Chain Command Block with Conditional and Always Active / Command: /execute @e[tag=shot] ~ ~ ~ execute @e[r=1,tag=!shot] ~ ~ ~ kill @e[tag=shot,r=0.5]

8 | Chain Command Block with Unconditional and Always Active / Command: /execute @e[tag=shot] ~ ~ ~ execute @e[r=1.5,type=!item,type=!arrow] ~ ~ ~ summon arrow DMG ~ ~ ~

9 | Repeat Command Block with Unconditional and Needs Redstone / Command: /execute @e[type=item,name=”Assault Rifle”] ~ ~ ~ tp @s @p

10 | Chain Command Block with Unconditional and Always Active / Command: /title @a[tag=aractive] actionbar Assault Rifle Active

11 | Chain Command Block with Unconditional and Always Active / Command: /execute @e[tag=shot] ~ ~ ~ detect ~ ~-0.1 ~ air 0 tp @s ^ ^ ^1.5

12 | Repeat Command Block with Unconditional and Needs Redstone / Command: /execute @a[tag=aractive] ~ ~ ~ tag @e[r=2,type=item,name=”Bullet”] add shot

Power it with Redstone Block!

Using the gun

Drop the Assault Rifle to activate it
Look where you want to shoot and drop the Bullet
Drop the Assault Rifle again to deactivate it


Hope you enjoyed this tutorial, go watch the video if you are still confused!