All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Custom Guns

Custom Guns

by Vanderflys • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Header

Modrinth

Website

## 📖 Description A fully customizable datapack for Minecraft 1.20.5+ that features custom guns that fully integrate with the surrounding world. You can create your own guns with custom stats and also use this with friends without having to install mods.

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

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

Partner Hosting

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric Forge Neoforge Quilt
23h ago 1
26.3
Datapack
23h ago 1
26.2 26.1.x 1.21.x
Fabric Forge Neoforge Quilt
23h ago 1
26.2 26.1.x 1.21.x
Datapack
23h ago 1
26.1.x 1.21.x
Fabric Forge Neoforge Quilt
23h ago 1
26.1.x 1.21.x
Datapack
23h ago 1
1.21.x
Fabric Forge Neoforge Quilt
23h ago 1
1.21.x
Datapack
23h ago 1
1.21.x
Fabric Forge Neoforge Quilt
23h ago 1
1.21.x
Datapack
23h ago 1
1.21.x
Fabric Forge Neoforge Quilt
23h ago 1
1.21.x
Datapack
23h ago 1
1.21.x
Fabric Forge Neoforge Quilt
23h ago 1
1.21.x
Datapack
23h ago 1
1.21.x
Fabric Forge Neoforge Quilt
23h ago 1
1.21.x
Datapack
23h ago 1
1.21.6
Fabric Forge Neoforge Quilt
23h ago 1
1.21.6
Datapack Fabric
23h ago 1
1.21.5
Fabric Forge Neoforge Quilt
23h ago 1
1.21.5
Datapack
23h ago 1
1.21.x
Fabric Forge Neoforge Quilt
23h ago 1
1.21.x
Datapack
23h ago 1
1.21.5
Fabric Forge Neoforge Quilt
23h ago 1
1.21.5
Datapack
23h ago 1
1.21.5
Fabric Forge Neoforge Quilt
23h ago 1
1.21.5
Datapack
23h ago 1
1.21.5
Fabric Forge Neoforge Quilt
23h ago 1
1.21.5
Datapack
23h ago 1
1.21.x
Fabric Forge Neoforge Quilt
23h ago 1
1.21.x
Datapack Fabric
23h ago 1
1.21
Fabric Forge Quilt
23h ago 1
1.21
Datapack Fabric
23h ago 1
1.20.x
Fabric Forge Quilt
23h ago 1
1.20.x
Datapack
23h ago 1
1.20.x
Fabric Forge Quilt
23h ago 1
1.20.x
Datapack
23h ago 1
1.20.x
Datapack
23h ago 1
1.20.5
Datapack
23h ago 1
24w14a 1.20.x
Datapack
23h ago 1
1.20.2
Datapack
23h ago 1
[v2.3.0+mod] Custom Guns v2.3.0 by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added support for 26.3.
[v2.3.0] Custom Guns v2.3.0 by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added support for 26.3.
[v2.3.0+mod] Custom Guns v2.3.0 by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added support for 26.2.
[v2.3.0] Custom Guns v2.3.0 by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added support for 26.2.
[v2.3.0+mod] Custom Guns v2.3.0 by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • 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.
[v2.3.0] Custom Guns v2.3.0 by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • 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.
[v2.2.9+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Fixed guns not being able to shoot correctly.
[v2.2.9] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Fixed guns not being able to shoot correctly.
[v2.2.8+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added support for 1.21.11.
[v2.2.8] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added support for 1.21.11.
[v2.2.8+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added support for 1.21.9.
[v2.2.8] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added support for 1.21.9.
[v2.2.8+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added fence gate hitbox detection for bullets.
  • Updated the fence hitbox detection.
  • Added smoke grenade.
  • Infinite ammo now also works for grenades.
![Smoke in ally](https://cdn.modrinth.com/data/cached_images/a270cf73c0739874bd4d88721dc3a22cc2e7c6b4.jpeg)
[v2.2.8] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added fence gate hitbox detection for bullets.
  • Updated the fence hitbox detection.
  • Added smoke grenade.
  • Infinite ammo now also works for grenades.
![Smoke in ally](https://cdn.modrinth.com/data/cached_images/a270cf73c0739874bd4d88721dc3a22cc2e7c6b4.jpeg)
[v2.2.7+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • 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.
[v2.2.7] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • 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.
[v2.2.6+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Added support for 1.21.6.
  • Fixed the command to create custom guns.
  • Fixed the list of blocks that bullets would pass through without obstruction.
[v2.2.6] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Fixed the command to create custom guns.
  • Fixed the list of blocks that bullets would pass through without obstruction.
[v2.2.5+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Fixed not being able to shoot through partial blocks like slabs, stairs, fences, etc.
  • Code optimizations.

Important Note:
If you're updating from an older version, make sure to /function guns:uninstall for it to work again.
[v2.2.5] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Fixed not being able to shoot through partial blocks like slabs, stairs, fences, etc.
  • Code optimizations.

Important Note:
If you're updating from an older version, make sure to /function guns:uninstall for it to work again.
[v2.2.2+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes
  • Bullets are now effective underwater but lose speed and range when entering that environment.
  • Added ammo loot tables.
  • More entities can now be hit with bullets.
  • Bullets can now travel through short grass.
  • Changed some code to be more consistent with other versions.
[v2.2.2] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes
  • Bullets are now effective underwater but lose speed and range when entering that environment.
  • Added ammo loot tables.
  • More entities can now be hit with bullets.
  • Bullets can now travel through short grass.
  • Changed some code to be more consistent with other versions.
[v2.2.2+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes
  • Bullets are now effective underwater but lose speed and range when entering that environment.
  • Added ammo loot tables.
  • More entities can now be hit with bullets.
  • Changed some code to be more consistent with other versions.
[v2.2.2] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes
  • Bullets are now effective underwater but lose speed and range when entering that environment.
  • Added ammo loot tables.
  • Changed some code to be more consistent with other versions.
[v2.2.1+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Fixed gun and bullet names.
  • Fixed gun not being able to shoot.
  • Fixed inaccurate hitbox detection for shooting.
  • Fixed gun and bullet recipes.
  • Fixed custom guns not working.
[v2.2.1] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes:
  • Fixed gun and bullet names.
  • Fixed gun not being able to shoot.
  • Fixed inaccurate hitbox detection for shooting.
  • Fixed gun and bullet recipes.
  • Fixed custom guns not working.
[v2.2.0+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes
  • Added support for 1.21.5.
[v2.2.0] Custom Guns by Vanderflys on Oct 13, 2026
Download
Patch Notes
  • Added support for 1.21.5.
[v2.1.4+mod] Custom Guns by Vanderflys on Oct 13, 2026
Download
  • Updated it to 1.21.2 - 1.21.3.
  • Added range cap between 1 and 100.
[v2.1.4] Custom Guns by Vanderflys on Oct 13, 2026
Download
  • Updated it to 1.21.2 - 1.21.3.
  • Added range cap between 1 and 100.
Custom Guns Icon
Download Custom Guns
Select game version
Select platform