Guide
How to Make a Custom Minecraft Weapon Mod (Swords, Bows, Guns)
By Modable · Updated
Modable is an AI Minecraft mod generator: describe a mod in plain English and get a working Fabric .jar. Free trial: 1 free build, no card.
Short answer
.jar for Minecraft Java 1.18.1 to 26.3. No coding needed.How to make a custom weapon mod: 5 steps
- 1
Pick the weapon type and your version
Decide if it is a sword, axe, bow, hammer, wand, gun-style weapon or something you throw, and choose your Minecraft Java version. Modable makes Fabric mods for 1.18.1 to 26.3. - 2
Describe the special trick
Say what happens when you use it: a hit, a shot or a key press. One clear trick works best, such as calling lightning on a hit. - 3
Add numbers
Give damage, attack speed, cooldown, range or durability. If you leave them out, Modable picks balanced values, or asks you with a quick question. - 4
Say how to get it
Ask for a crafting recipe, a place to find it, or just a command or creative-menu entry for testing. - 5
Try it and tune it
Install the.jar(how to install Fabric mods), test the weapon in a world and ask for changes in the same chat: more damage, a longer cooldown, a different sound.
Weapons you can ask for
| Type | Example trick | Prompt idea |
|---|---|---|
| Sword | Calls lightning, sets targets on fire, steals health | A sword that calls lightning on what it hits, with a 5-second cooldown |
| Axe | Can be thrown and comes back | An axe I can throw that returns to my hand |
| Bow or crossbow | Special arrows with a status effect | A bow whose arrows slow enemies and leave snow |
| Hammer | Area hit that knocks mobs back | A hammer that cracks the ground after a jump hit |
| Wand or staff | Casts a spell on use | A staff that shoots a fireball every 2 seconds |
| Gun-style weapon | Fires pellets or bullets with ammo | A shotgun with 8 pellets that uses gunpowder as ammo |
| Tool-weapon | Works as both tool and weapon | A pickaxe that smelts ores and hits hard in a fight |
Prompts to copy
“A sword that calls lightning on whatever it hits, with a 5-second cooldown, a crackle sound and 2000 durability”
“A shotgun that fires 8 pellets in a spread, reloads in 2 seconds, uses gunpowder as ammo and can be crafted with iron and a crossbow”
“A throwable axe that flies out up to 20 blocks, hits the first mob in front of me and returns to my hand”
“A heavy hammer that slows my attacks but cracks the ground and knocks nearby mobs back when I hit after a jump”
What makes a weapon prompt work
- One trick. A weapon with one clear ability works better than one with five.
- A trigger and a result. “When I hit a mob, lightning strikes it” is easy to build and to test.
- Numbers. Damage, cooldown, range, ammo and durability make the result predictable.
- A way to get it. Ask for a crafting recipe, or you can get it from the creative menu to test.
Balance and fair play
Keep it fun for everyone
A weapon that one-shots everything is fun for about ten minutes. Try the weapon in a world, then ask for a lower damage, a longer cooldown or an ammo cost until it feels right.
Servers have rules
On your own world or a server with friends, you decide the rules. On a public server, custom items usually need the server’s permission, and many don’t allow mods at all. This guide is for your own game, not for gaining an edge in someone else’s.
Limits to know about
- Fabric only, for Minecraft Java 1.18.1 to 26.3. No Forge, NeoForge or Bedrock.
- The startup test checks that the mod loads, not that every ability works in every situation. Try it in a world and ask for changes.
- Weapons are items, so they start with a simple look. Custom creatures with 3D models are a separate feature.
- Mods are for private, non-commercial use. Showing them in videos is fine; selling or re-uploading isn’t.
Need ideas? Browse 50 Minecraft mod ideas, or read how to make a Minecraft mod without coding.
Frequently asked questions
How do I make a custom sword mod for Minecraft?
Describe the sword and its special ability in plain English, for example a sword that calls lightning on whatever it hits. Modable writes a Fabric mod, builds it, tests that it loads and gives you a .jar to put in your mods folder.
Can I make a gun in Minecraft with a mod?
Yes, a gun-style weapon can be made as an item that fires a projectile when you use it, with ammo, a cooldown and a sound. Describe the fire rate, damage and ammo you want. Keep the first version simple, then add features.
What kinds of weapons can I ask for?
Swords and axes with special hits, bows and crossbows with special arrows, throwable weapons, heavy hammers with area effects, wands and magic items, and gun-style weapons. Armor, tools and shields can be asked for in the same way.
Will the weapon be balanced?
Modable picks sensible numbers if you don't give any, but balance is a matter of taste. Tell it the damage, cooldown and durability you want, test the weapon, and ask for changes until it feels right.
Can I copy a weapon from a game or movie?
You can describe what a weapon does, such as its fire rate, spread and ammo, and Modable will make that behaviour. It works better to describe the weapon than to name the franchise. Mods are for private, non-commercial use.
Make your own weapon
Describe one weapon and its trick. Your first build is free, so you can try your idea before you buy more builds.
Pick your Minecraft version: 1.21.1, 1.20.1, 1.21.11. Modable makes Fabric mods for 1.18.1 to 26.3.
More guides
- How to Make a Custom Sword Mod in Minecraft (With Special Abilities)
- How to Make a New Ore, Tools and Armor Mod for Minecraft
- How to Make a Magic and Powers Mod for Minecraft (Spells, Abilities, Wands)
- How to Make a Custom Boss Mob Mod for Minecraft (Health Bar, Phases, Loot)
- 50 Minecraft Mod Ideas You Can Build Today (With Prompts)