promotional bannermobile promotional banner
premium banner
A lightweight server-side fix for Farmer's Delight knives and similar mods, validating attack angles to prevent backstabbing exploits.

Description

Overview

Backstabbing Fix is a server-side Forge mod for Minecraft 1.20.1 that patches the backstabbing damage exploit from Farmer's Delight. It keeps the enchantment behavior limited to standard player melee attacks instead of allowing amplified damage from unrelated sources.

The mod is intentionally small and focused. It does one job: prevent the backstabbing bonus from being abused by modded damage sources such as spells, projectiles, or other non-melee attacks.

The Problem

Farmer's Delight backstabbing is meant to reward proper melee positioning. Without a fix, the damage bonus can be triggered by sources that were never intended to count as normal knife attacks.

That means players can sometimes:

  1. Use spells instead of melee hits
  2. Trigger the bonus with projectiles or other modded damage
  3. Bypass the intended combat rules of the enchantment

In modded servers, that creates inconsistent and unfair damage behavior.

How It Works

Backstabbing Fix listens to the Farmer's Delight backstabbing hook and validates the incoming damage source before the bonus is applied.

The fix only allows the amplification when the damage source is a standard player melee attack. If the hit comes from anything else, the backstab bonus is cancelled.

This keeps the enchantment tied to the combat style it was designed for.

Features

  • Server-side only
  • Lightweight and focused
  • Prevents backstabbing amplification from non-melee damage
  • Compatible with modded combat setups
  • Optional behavior: the mod can load even if Farmer's Delight is not installed

Configuration

The mod includes a simple server config:

[fixes]
fixBackstabbingExploit = true

When enabled, the fix is active.

Compatibility

  • Minecraft Version: 1.20.1
  • Mod Loader: Forge 47.4.x+
  • Side: Server-side
  • Related Mod: Farmer's Delight

The fix only matters when Farmer's Delight is installed, because that is the mod providing the backstabbing enchantment hook.

Why This Mod?

This mod is useful if you want the backstabbing enchantment to stay balanced in modded environments.

It helps keep:

  • melee damage consistent
  • knife backstabs tied to proper hits
  • spells and ranged attacks from abusing melee-only effects

Credits

Author: SatDPhoe

ko-fi

Donate