Bulletpies · wiki
Sharp Sword Diplomacy icon

Sharp Sword Diplomacy

You can be quite convincing with a sharp sword

BuiltForgeNeoForgeFabric1.20.1
Status
v0.3.1 jars on three loaders; playtested once, not released
Mod loader
Forge, NeoForge, Fabric
Minecraft
1.20.1
Who installs it
Everyone on the server needs it

What it is

Villagers give cheaper trades to people they like, and vanilla Minecraft mostly makes you earn that by curing zombie villagers. This mod adds the other approach. Hold a sword, look at a villager, and a small green-or-red bar appears showing exactly what that villager thinks of you. Right-click and you threaten them: it is a dice roll, better swords roll better, and winning nudges them toward giving you a discount. Losing makes them hate you and points every iron golem within sixteen blocks at your head.

The bar is the whole mod, and once you have seen it you cannot un-see it. Every villager in the world is now a number that you did this to. Success is quick and slightly embarrassing: the villager backs away a step, gives you the happy particles, and the game says 'The villager reluctantly agrees.' Failure is louder. Angry particles, a hurt noise, and the sound of a large iron statue deciding it has an opinion. The mod's cruellest trick is quiet: the best rewards are locked above a reputation that threats can never reach, so the longer you play the more obvious it becomes that you would have been better off just trading.

👥 Playing with friends

Reputation is tracked per villager per player, so your friend's mess is not your problem.

⚠️ Before you install

  • A failed threat turns nearby iron golems on you. Do not experiment at low health inside a walled village.
  • The diamond apology erases good gossip as well as bad, so do not use it on a villager who already likes you.
  • Minecraft 1.20.1 only, on all three loaders.

Your first 5 minutes

New to this mod? Do these in order and you will have seen the point of it.

  1. Take any sword and walk into a village.
  2. Put the crosshair on a villager. A small bar appears near the bottom of the screen: green if they like you, red if they do not.
  3. Right-click that villager. You either get 'The villager reluctantly agrees' or 'The villager refuses to be threatened.'
  4. If it failed, run. Iron golems within 16 blocks are now hunting you.
  5. Trade with a villager you have won over and watch the price drop.
  6. Regret one of these attempts, then right-click that villager holding a diamond to wipe the slate clean.

How it works

The bar

Whenever you are holding a sword in either hand and your crosshair is on a villager, a 102-pixel reputation bar draws near the bottom of the screen. It fills green when that villager's opinion of you is positive and red when it is negative, with a marker at zero, and it is scaled to a quarter of its original thickness so it does not dominate the screen. The client asks the server for the number rather than guessing it, so it is always the real vanilla gossip value.

Tip: Switch villagers and the bar hides until the real answer arrives, so it never shows the last one's opinion.

The threat is a dice roll

Right-clicking a villager with a sword rolls a random number from 0 to 8 and succeeds if it comes in under your sword's attack damage. That is 33 percent for wood, 44 for stone, 56 for iron, 67 for diamond and 78 for netherite. Sharpness adds half a point per level on top, so an iron sword with Sharpness V reaches 89 percent, and 89 is a hard ceiling, because at 100 percent the mod stops being a gamble. Only Sharpness counts; villagers are neither undead nor arthropods.

Tip: Modded swords work too; the roll simply reads whatever attack damage the sword has.

What success and failure cost

A win adds 10 reputation, the villager plays its happy particles, physically steps back from you and the actionbar reads 'The villager reluctantly agrees.' A loss subtracts 25, plays angry particles and the villager's unhappy head-shake, and (this is the real price) every iron golem within 16 blocks turns to hunt you. There is a five-second cooldown per villager per player; try again inside it and you are told 'The villager ignores you.'

Tip: Attacking a villager with a sword also costs 25 reputation, every hit, with no roll involved.

A natural zero is a critical

One roll in nine comes up zero, which is always a success and is also a critical: it doubles the reputation gained, adds an extra particle flourish and a brighter sound, and gives you its own actionbar line: 'The villager agrees. Immediately. Enthusiastically.' There is no critical failure. This pass of the mod was about feeling good, not about new punishment.

Tip: The reputation cap still applies to criticals, so a double gain near the ceiling is still capped.

Discounts you can actually see

Reputation feeds the vanilla discount system, but vanilla's version is an absolute emerald count that vanishes on expensive trades. This mod replaces it with a percentage: up to 30 percent off, reached at reputation 60, scaling smoothly below that, never worse than vanilla's own discount and never less than one emerald off. All of it is done without mixins on the Forge build, by hooking the moment the trade screen opens.

Tip: Everything is config-driven, so a server can retune the cap, the roll, the golems and the discount curve.

The ceiling on intimidation

Threats stop paying out at total reputation 60. Past that, a successful intimidation still plays all its feedback but adds nothing, and the game tells you the villager cannot be intimidated any further. Sixty is exactly where the maximum discount lands, so a bully can reach the best prices, and nothing beyond them.

Tip: Curing zombie villagers and honest trading are the only ways past 60.

Gifts, for people who never needed the sword

A villager at reputation 80 or above will occasionally throw the player a small gift flavoured by their profession: bread from a farmer, cooked cod from a fisherman, paper from a librarian, a poppy from a nitwit. It is a roughly one-in-five chance on a periodic check within 8 blocks, at most one gift per villager per in-game day, and holding a sword is explicitly not required, because a gift given at swordpoint is not a gift. Since intimidation caps at 60, this reward is unreachable by threats.

Tip: The fairness lesson lands without a single line of tutorial text. That is deliberate.

The flinch, and the apology

A villager who hates you, meaning reputation at or below minus 50, visibly flinches when you come within 4 blocks holding a sword: a step back and a small angry puff, at most once every ten seconds. It has no mechanical effect at all; it exists so the world remembers what you did. The way out is a diamond: right-click a villager holding one and every scrap of gossip about you is erased, the diamond is consumed, and the villager accepts your apology.

Tip: The apology wipes good gossip as well as bad, so do not apologise to somebody who already likes you.

Items & blocks

Villager reputation bar

Villager reputation bar

The mod's only piece of art and its entire interface: a small frame that fills green or red from the zero marker, drawn when you look at a villager with a sword out.

Where: Appears automatically. It is the one texture that survived from the original lost build.

Any sword

Both the tool and the dice. Attack damage is the success chance and Sharpness adds to it; wooden through netherite, vanilla or modded, all work.

Where: Vanilla crafting. No new items are added by this mod at all.

Diamond (as an apology)

Right-click a villager while holding one and every gossip entry about you is wiped, good and bad. Costs one diamond unless you are in creative.

Where: Mining, like always. The mod just gives it a second use.

Villager gift

A profession-flavoured item thrown at you by a villager who genuinely likes you: bread, cooked cod, wool, arrows, paper, a map, a poppy. Grants the Diplomatic Immunity advancement the first time.

Where: Stand near a villager at reputation 80 or higher without threatening anybody.

Lore

Flavour, not rules. None of this changes how the mod behaves.

Speak softly

The root advancement of the mod is called Speak Softly, and it unlocks the moment you draw a sword on a villager and read the bar. It is the only one you get for free. The rest of the tree runs through A Compelling Argument, Silver Tongue, Diplomatic Immunity, and one called Actions Have Consequences, which is awarded for being killed by an iron golem shortly after a threat goes badly.

Eleven percent

No sword and no enchantment can push the success rate past 89 percent. The last ninth is reserved, permanently, for the villager who looks at your netherite sword and says no. The design document is blunt about why: at 100 percent the mod stops being a gamble and becomes a button.

Jokes & trivia

Bits you might miss

  • There is an advancement called Actions Have Consequences. You earn it by being killed by an iron golem moments after a threat goes badly.
  • There is another called Water Under the Bridge, for apologising with a diamond to a villager who truly hates you.
  • The critical-success message: 'The villager agrees. Immediately. Enthusiastically.'
  • Attempt a threat too soon after the last one and the game does not stop you. It just says 'The villager ignores you.'
  • Gifts require reputation 80. Intimidation is hard-capped at 60. The mod's nicest reward is mathematically locked behind never using its main feature.
  • At high reputation villagers used to emit hearts when you made eye contact. That was changed so they emit your own sword instead, out of the same spot on their body.
  • Your vanilla statistics screen gains a permanent line item reading 'Failed Intimidations.'

From the workshop

  • The source code was lost. All that survived was the built v0.1 jar, so it was decompiled with Vineflower, recovering 100 percent of the logic across seven classes in obfuscated names, and then rewritten from that reading.
  • The recovered original was brutally unbalanced: a success gave plus 10 reputation and a failure gave minus 100, so one bad roll wiped out ten good ones. The rewrite made failure minus 25.
  • The original also opened the villager's trade screen on every single intimidation attempt, because it never cancelled the interaction event.
  • Fixing that created a subtler bug. Cancelling only the main hand let the click fall through to the off hand, which also opens trades, so the fix was to cancel both hands and act on only one.
  • The NeoForge port needed zero source changes. NeoForge 47.1.x for 1.20.1 is a pure fork of Forge with no net/neoforged classes in it at all; only the Gradle setup differs. Fabric was a genuine port, down to a single mixin.
  • One Fabric trap nearly shipped as a feature: the attack callback must return PASS, because any other return cancels the attack outright and would have made every villager in the game immune to swords.

FAQ

Do I have to threaten anybody?

No, and the mod quietly rewards you for not doing it. The reputation bar works whenever you hold a sword, and gifts only ever come from villagers at a reputation that threats cannot reach.

What actually happens if the threat fails?

You lose 25 reputation with that villager, they play angry particles and a hurt sound, and by default every iron golem within 16 blocks starts hunting you. Servers can turn the golem response off in the config.

Can I undo it if a village hates me?

Yes. Right-click the villager holding a diamond. It removes every gossip entry about you, good and bad, and costs one diamond.

Does a better sword really help?

Directly. The success chance is the sword's attack damage out of nine, so netherite is 78 percent against wood's 33, and each level of Sharpness adds half a point. The mod caps the whole thing at 89 percent so a threat is never a certainty.

Which version and loader do I need?

Minecraft 1.20.1, on Forge, NeoForge or Fabric, and there is a working build for each. Nothing newer is supported yet.

Does it work on a server?

Yes. Every roll happens server-side and reputation is per villager per player. The original build would have crashed a dedicated server because its heads-up display was not marked client-only; that was fixed in the rewrite.

Get it

Status: The jar compiles and the author has tested it himself, but it has not had a real playtest yet.

  1. Install Forge, NeoForge, Fabric for Minecraft 1.20.1. The install guide walks through this assuming no prior knowledge.
  2. Drop the mod's .jar file into your mods folder.
  3. Everyone on the server needs it.
  4. Launch the game with that loader's profile selected.

📦 Where is the file?

This wiki documents the mods; it does not host them. Builds live in the project's own repository under mc-sharp-sword-diplomacy/build/libs/.

By Bulletpies. v0.1 logic recovered from its own jar with Vineflower after the source was lost.

↑ Back to top · ← All mods