Simple gun - Only with commands!

Simple gun - Only with commands!

A mechanism of command blocks and a resource pack (for aesthetical purposes) that makes a simple pistol work perfectly without the use of addons mods or scripts; it's ideal for ...

MapUpdated 8 months ago
Doctor PyancoDoctor Pyanco1 items

Screenshots

Simple gun - Only with commands! — screenshot 1
Simple gun - Only with commands! — screenshot 2
Simple gun - Only with commands! — screenshot 3

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:

  1. 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.

  2. 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.

  3. 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.

  4. I've included a small test site with hostile mobs to test the system.

  5. Feel free to submit any question or feedback.

Images

Download Files

VanillaGun500 KB.mcworld
Source: MCPEDL · by Doctor Pyanco · CurseForge