Guide

How to Make a Custom Sword Mod in Minecraft (With Special Abilities)

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

You make a custom sword mod by describing one sword in plain English: its damage, durability, recipe and one special trick. Modable builds it as a Fabric mod for Minecraft Java Edition that you download and play.

What can a custom sword do in a mod?

A custom sword is a new item with its own numbers and its own trick. Players often ask for:

  • A hit effect. Lightning, fire, slowness, poison.
  • A right-click power. A dash, a jump, a blast.
  • A glow or a look. A coloured blade that shines in the dark.
  • Special rules. It cannot be enchanted, or it never breaks.

Pick one trick. A sword with one clear power works better than a sword with seven. If you want a whole set of weapons, read the custom Minecraft weapons guide.

How do I pick the damage, speed and durability numbers?

Use the normal swords as a ruler. In Java Edition, a diamond sword does 7 damage and has 1,561 durability. A netherite sword does 8 damage and has 2,031 durability. An iron sword does 6 damage and has 250 durability. All swords swing at the same speed.

So if you ask for "8 damage, 500 durability", you get a sword that hits as hard as netherite but breaks much sooner. That is a fair trade.

Three tips:

  • Give real numbers. "Strong" is vague. "8 damage" is exact.
  • Make a strong ability come with a weaker number somewhere else.
  • If you do not care, say so: "Balance the numbers like an iron sword."

How do I describe the special ability so it works the first time?

Say what triggers it, what happens, and how long or how big it is.

  • Trigger: "when I hit a mob" or "when I right click".
  • Effect: "lightning strikes it", "it burns", "I dash forward".
  • Size: "for 5 seconds", "6 blocks", "wait 3 seconds before I can do it again".

Here is a weak version: "A cool fire sword." Here is a strong one: "Every hit sets the mob on fire for 5 seconds." The second tells the AI exactly what to build.

For right-click powers, always add a cooldown. Without one, the power can be used again and again, and the sword gets silly fast.

What recipe should I ask for?

Say the items and, if you care, the shape. "Crafted from 2 diamonds, a netherite ingot and a stick" is clear. You can also say "like a normal sword, but with ice blocks" if you want the usual sword shape.

Match the recipe to the power. A strong sword should cost something hard to get. A small one can use cheap items. If you do not say, the AI picks a recipe, and you can change it in a follow-up.

Can I get a custom look (colour, texture, name)?

You can ask for a name and a colour, like "a glowing blue ice sword called Frostbite". Modable lists items among the things it makes. You may not get the exact picture in your head. That is normal.

If the look is not right, ask for a change: "Make the blade lighter blue" or "Add a gold handle". Small, specific fixes work best.

How do I keep the sword fair in survival?

Ask yourself: would this make the game boring? A sword that kills everything in one hit takes away the fun.

Ways to keep it fair:

  • Use a cooldown on strong powers.
  • Make the recipe hard.
  • Keep the damage close to diamond or netherite.
  • Give it lower durability, or no enchanting, as the trade for a strong trick.

It is your game, so you decide. Just know that the fairest swords are the ones you still want to play with next week. For more ideas, see the Minecraft mod ideas page.

What if the ability is too strong or too weak? (use a follow-up)

Test it in a creative world first. Then ask for a change in the same chat:

  • "The dash is too long. Make it 4 blocks."
  • "Lightning on every hit is too much. Only do it 1 time in 4."
  • "Make the fire last 8 seconds."

The free trial includes 1 build (your first mod), and each change is one more build. On paid plans each change is one build from your monthly builds. See the plans.

Try this prompt

“A sword that calls lightning on whatever it hits. 8 damage, 500 durability, crafted from 2 diamonds, a netherite ingot and a stick.”
“A fire sword. Every hit sets the mob on fire for 5 seconds. It glows orange, but it cannot be enchanted.”
“A dash sword: right click to dash forward 6 blocks, then wait 3 seconds before I can dash again.”
“A glowing blue ice sword that slows the mobs I hit. Craftable with 2 packed ice and a stick.”

What works well / what doesn't

Works well

  • One sword with one clear trick.
  • Exact numbers for damage, durability and cooldown.
  • A named recipe with real item names.
  • Small follow-up changes to balance it.

Doesn't work as well

  • Many swords with many powers in one prompt. Make one, then add more.
  • Vague words like "OP" or "super strong". Use numbers.
  • A very complex power, like a sword that changes the world. Keep it to hits, dashes and effects.
  • Expecting it to be perfect first time. Mods are started on a test server before you get them, but that is not a guarantee. Test it in a creative world and ask for changes.

How to install it

The easy way is the free Modrinth App. Here is the short version:

  1. Get the Modrinth App at modrinth.com/app. Click Sign in to Minecraft in the "Getting started" box. You need Minecraft: Java Edition.
  2. In Modable, press Download Modrinth pack under the mod's reply. You get a .mrpack file.
  3. In the app, click the + icon (Create new instance) and choose Upload a modpack. Pick your file. If you see an "Unknown files warning", click Install anyway. It shows for any mod that is not published on Modrinth.
  4. Wait for the download. Open the new instance in your Library and press the green Play button.

You can find the full steps with pictures in How to install Fabric mods. Modable is not affiliated with Modrinth. Mods are for your own play, and for videos and streams. They are not for selling.

Make your own

Ready to try? Make it free on Modable: your first build is free, no card

Pick your Minecraft version: 1.21.1, 1.20.1, 26.2. Modable makes Fabric mods for 1.18.1 to 26.3.

More guides

All guides