- check_circle Functions
Published Jun 7th, 2021, 6/7/21 7:04 am
- 12,396 views, 6 today
- 2,049 downloads, 1 today
Required Resource Pack
58
Hi!
The datapack turns your crossbow into a fully functional machine gun AK-47!
More guns, weapons and stuff coming soon!
RESOURCE PACK IS REQUIRED! CLICK HERE TO DOWNLOAD!
> How to install datapack?
1. Go to .minecraft folder and saves
2. Select the world you want to use the datapack on
3. Then select the datapacks folder
4. Put the downloaded file here
5. Done!
> How to use datapack?
Type this command to enable datapack:
Type this command to get a gun:
Type this command to disable datapack:
> How it works?
- Your rifle is fully automatic (Hold LMB to shoot)
- Has 20 ammunition in clip
- After firing all the ammo, you need to reload rifle (Hold LMB to reload)
- To reload your weapon, you must have an Ammo Box (arrow) in your inventory (1 Ammo Box = Full clip)
The datapack turns your crossbow into a fully functional machine gun AK-47!
More guns, weapons and stuff coming soon!
[Datapack is not recommended for survival world. Works on multiplayer]
RESOURCE PACK IS REQUIRED! CLICK HERE TO DOWNLOAD!
> How to install datapack?
1. Go to .minecraft folder and saves
2. Select the world you want to use the datapack on
3. Then select the datapacks folder
4. Put the downloaded file here
5. Done!
> How to use datapack?
Type this command to enable datapack:
/function military_weapons:start
Type this command to get a gun:
/function military_weapons:get_gun
Type this command to disable datapack:
/function military_weapons:stop
> How it works?
- Your rifle is fully automatic (Hold LMB to shoot)
- Has 20 ammunition in clip
- After firing all the ammo, you need to reload rifle (Hold LMB to reload)
- To reload your weapon, you must have an Ammo Box (arrow) in your inventory (1 Ammo Box = Full clip)
Compatibility | Minecraft 1.16 |
Tags |
tools/tracking
5156771
119
military-weapons-v1-0-by-hemingway
Create an account or sign in to comment.
datapacks\military-weapons-datapack-by-hemingway\data\military_weapons\functions\ak47\gun_shooting.mcfunction
firt line for this
item replace entity @a[scores={gun=1}] weapon.mainhand with crossbow{display:{Name:'{"text":"AK-47","color":"blue","bold":true}'},Unbreakable:1b,CustomModelData:001,ak47:1b,Charged:1b,ChargedProjectiles:[{id:"minecraft:arrow",Count:1b}]} 1
and this in line 22
datapacks\military-weapons-datapack-by-hemingway\data\military_weapons\functions\ak47\gun_ammo.mcfunction
execute as @a[scores={ammo=20,gun=3},nbt={SelectedItem:{id:"minecraft:crossbow",Count:1b,tag:{display:{Name:'{"text":"AK-47","color":"blue","bold":true}'},Unbreakable:1b,CustomModelData:001,ak47:1b,Charged:1b,}}}] run scoreboard players set @s ammo 21