With the Everything Gun mod, you can mine any ore in Minecraft Bedrock Edition and fend off any mob – as the creator mentioned, it’s a two-in-one solution.
How the Everything Gun Mod Works
First, craft the weapon using the Everything Gun mod in MCPE. Alternatively, you can use the command /give @s edge:ev_gun to obtain it.
You will need ammunition for the pistol in MCPE. Simply drag the arrows into the left slot.
In Minecraft PE, you can repair a gun using redstone or iron ingots. Redstone can restore one-fifth of the durability at a time, while an iron ingot can recover one-fourth.