
No resource pack required for it to work.
⭐ Features
• Functional and accurate guns with realistic names, movement, and recoil. • Functional throwables like grenades. • Works with and without resource packs. • 100% Multiplayer supported. • It is easy to change settings via the chat menu. • Create your own guns or use the ones that are already in the datapack.
🎗️ Compatibility

⚙️ Installation
After installing it, you may need to restart your world with /reload.
To open the chat menu, use /reload again.
⚡️IMPORTANT REMINDER
You need permissions to use commands to install and configure the settings! This means that commands must be turned on in single-player and OP in multiplayer however, you do not need permission to use commands to use the guns, only to create them or to change the settings.
🛠️ Creation
For V2.1.0+
Hold the item that you want to convert into a gun in your mainhand and run this command:
/function guns:create {name:"AR-15",color:"blue",bullets:30,bullet_type:"medium",damage:9,headshot:20,cooldown:2,bloom:false,semi_auto:false,range:70,reload_time:40}
Replace the stats with your desired stats.
Unsupported items for custom gun creation are: All types of firework, rods, armor pieces, buckets, bows, potions, (throwables), empty maps, spawn eggs, eggs, snowballs, tridents, axes (still strip logs when right clicked on them), ender pearls, debug stick, and ender eyes.
For V2
Hold the item that you want to convert into a gun in your mainhand and run this command:
/function guns:create {name:"AR-15",color:"blue",bullets:30,magazine:90,damage:9,headshot:20,cooldown:2,bloom:false,semi_auto:false,range:70,reload_time:40}
Replace the stats with your desired stats.
For V1
To make your own guns, simply use this command in a command block since it is too long for the chat box.
/data modify storage guns create set value {
Damage:20,
Headshot:20,
Bullets:3,
Magazine:3,
Bloom:0,
Cooldown:30,
Recoil:2.5,
Range:300,
Semi-Auto:true,
ReloadTime:40,
Name:"AWP",
}
After modifying the storage for your weapon run
/item modify entity @s weapon.mainhand main:change_stats
How to Install Custom Guns (Datapack)
Custom Guns by Vanderflys is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.20.2, 1.20.5, 1.20.5-pre1, 1.20.5-pre2, 1.20.5-pre3, 1.20.5-pre4, 1.20.5-rc1, 1.20.5-rc2 (latest release: v2.3.0+mod, file size: 136 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.2, 1.20.5, 1.20.5-pre1, 1.20.5-pre2, 1.20.5-pre3, 1.20.5-pre4, 1.20.5-rc1, 1.20.5-rc2) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Custom Guns file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 |
- Added support for
26.3.
- Added support for
26.3.
- Added support for
26.2.
- Added support for
26.2.
- Added support for
26.1 - 26.1.2. - Fixed guns with bullet spread not working.
- All glass blocks are added to the breakable blocks list.
- Added support for
26.1 - 26.1.2. - Fixed guns with bullet spread not working.
- All glass blocks are added to the breakable blocks list.
- Fixed guns not being able to shoot correctly.
- Fixed guns not being able to shoot correctly.
- Added support for
1.21.11.
- Added support for
1.21.11.
- Added support for
1.21.9.
- Added support for
1.21.9.
- Added fence gate hitbox detection for bullets.
- Updated the fence hitbox detection.
- Added smoke grenade.
- Infinite ammo now also works for grenades.
- Added fence gate hitbox detection for bullets.
- Updated the fence hitbox detection.
- Added smoke grenade.
- Infinite ammo now also works for grenades.
- Added 'Frag Grenade' item that can be crafted or given with
/loot give @s loot guns:grenades/m61. - More optimizations.
- Better checks for bullets to pass through the gaps of fences and connected fence parts.
