A minecraft datapack that introduces ray-casting, guns and throwables into this game.
This datapack used only the minecraft commands to build a raycasting system, a hitbox detection system and a throwable hit detection system. This datapack depends on the damage system I completed earlier.
This datapack provides a number of guns, grenades, arrows and equipment (explosive arrows, jetpacks, turrets, etc.) that have vastly different properties and usages. The newly added weapons also have the PVP death count and death message functionalities embedded in the original systems in Minecraft.
After a huge number of testing, there should be no bug that can greatly damage your game experience. High-level API of getting the new items and settings are included. So it's suitable to be used in PVP or PvE maps and datapacks.
-
Step 1 Before installation, install my damage datapack first.
-
Step 2 Download this repository as .zip and unpack, you will get three folders: 2 datapack folders + 1 resourcepack folder.
- Firearms-Resourcepack-Squid-Workshop-1.16.5
- Gun-Datapack-Squid-Workshop-1.16.5
- Throwable-Datapack-Squid Workshop-1.16.5
-
Step 3 Install the two datapacks together, if you don't know how to install datapacks, see Tutorials/Installing a data pack
- Gun-Datapack-Squid-Workshop-1.16.5
- Throwable-Datapack-Squid Workshop-1.16.5
-
Step 4 Load the resourcepack, if you don't know how to load resourcepacks, see Tutorials/Loading a resource pack
- Firearms-Resourcepack-Squid-Workshop-1.16.5
-
Step 5 If successfully installed, you will see the messages:
-
Get the guns by the following command:
-
get all guns:
function app:get/allguns
-
get gun by it's name; for example, silenced_rifle:
function app:get/silenced_rifle
-
-
You need to get some ammo:
function app:get/ammo/2500
-
Reload the gun by pressing F then wait for the reload!
-
Right Click to shoot! (hold the right button for minigun)
-
Swap: When the gun is reloaded, press F again to switch gun type!(add/remove silencer; swap between slug and buck ammo..)
-
Hold Shift to aim!
-
Similar to CSGO, the accuracy is affected by two factors:
- Recoil: The gun bounces upward when firing for too long, use tap fire or small bursts to avoid recoil.
- Spread: The random inaccuracy introduced by movement, aiming<standing<walking<running<<jumping. (walking while aiming is also not very accurate)
- Get the throwables by the following command:
-
get all throwables (or 16x all throwables at one time):
function app:get/allthrowables function app:get/16/allthrowables
-
get throwable by it's name; for example, grenade (or 16x grenades at one time):
function app:get/grenade function app:get/16/grenade
-
- Right-click to throw it.
-
Get the jetpack by the following command:
function app:get/jetpack
-
Click Shift to launch, there are cooldowns between consecutive launches;
-
Hold Shift any time for slow falling.
-
Get the bow by the following command:
function app:get/bow_of_light_beam
-
The bow shoots any arrow in a form of light beam, which means the arrow travels in a straight line like bullets.
- Hold a common shield, then any bullets that come from the direction you are facing will be reflected by the shield.
Name | Icon | Swap To | Damage | Recoil | Spread | Scope | Bullet Speed | Description |
---|---|---|---|---|---|---|---|---|
rifle | silenced_rifle | 5 | high | medium | Iron Sight | fast | Capable of engagements from all ranges. Suitable for shooting while standing still. | |
rifle_silenced | rifle | 4 | medium | medium | Iron Sight | fast | Same as the rifle, except for lower sound, recoil and damage. | |
smg | smg_silenced | 4 | medium | low | Iron Sight | slow | Good at short range engagements; suitable for shooting while running. | |
silenced_smg | smg | 3 | low | low | slow | Iron Sight | Same as the rifle, except for lower sound, recoil and damage. | |
shotgun_buck | shotgun_slug | 3x10 | high | high | Iron Sight | slow | One hit kill in short range; not accurate while moving; fire 10 bullets at one time. | |
shotgun_slug | shotgun_buck | 17 | high | high | slow | Iron Sight | Shoots a large and powerful bullet at one time. But only contains two bullets, not very accurate. | |
sniper | NONE | 22 | high | low | 8xScope | fast | One hit kill; extremely inaccurate without scope or moving. | |
laser | NONE | 2 | no | low | 8xScope | fast | Shoot out a laser beam that has no recoil; hard to target the laser when moving. Charged slowly by hand so doesn't cost ammo, don't charge for too long or it will... | |
minigun | NONE | 6 | no | low | reddot | fast | Most powerful gun for fire suppression and fast rate of fire; contains 500 bullets; slow reloading. |
Arrow Name: there is an arrow type that has the same effect as the throwable.
TO BE CONTINUED
Feel free to play around with this datapack.
As a developer, feel free to use this datapack as a module to develop free datapacks.
But you must add the link to this GitHub page!
NO COMMERCIAL USE
Check out more datapacks developed by us here
Watch our videos on bilibili here
Join our QQ group: 74681732
Subscribe on Wechat: 鱿鱼MC工作室