Description
Functional gun in vanilla!
[Download link - .mcworld]
About six years ago I uploaded the first version of this mechanism
in mcpdl.com before the update on commands arrieved at Minecraft
Bedrock; I've improved the system and reduced the amount of command
blocks used in a factor of 10, therefore, the performance should be better.
This small system is aimed to be used in maps (like in the old days), servers or
just for fun; the point of it is avoiding the use of addons and scripts for those
rare circumstances where players prefer to keep everything vanilla or avoid
behavior packs (addons).
A few notes:
- It's not completely compatible with multiplayer, while the system does work,
it might have a few bugs if two players fire at the same time. - The world includes a texture pack for aesthetical purposes, it includes custom
particles, custom sounds and a new texture for the snowball. The latter is used
to detect right click, however the system can easily be changed to use any other
throwable item as a trigger. - It's designed to be relatively realistic when it comes to the bullet's mechanics, it
wont pass through walls and can shields work against them; take into consideration
that the bullet is virtual, it's not actually a entity per se, so every mechanic of the
bullet must be made and adjusted with commands. - I've included a small test site with hostile mobs to test the system.
- Feel free to submit any question or feedback.






