
A Piece of Greed
This mod adds a new enchantment "greed" which uses essential resources like durability, health and hunger for benefits like mining speed, damage or defense.
Screenshots

About this Mod

A Piece Of Greed adds a new enchantment called Greed. It lets you trade your health, hunger, and item durability for extra power—more damage, faster mining, and better defense. The stronger the enchantment, the higher the cost, so use it wisely.
Items Greed Works With
Spoiler
Swords – Increases damage at the cost of hunger and item durability. Effects scale with enchantment level: the higher the level, the more resources are consumed.
Axes – Boosts damage and mining speed, using hunger and item durability. Higher enchantment levels consume more resources.
Pickaxes, Shovels, and Hoes – Increases damage and mining speed. Uses hunger and item durability, with higher levels consuming more.
Armor (all pieces: helmet, chestplate, leggings, boots) – Grants extra protection, and heals the player on attacked. Costs hunger and durability, scaling with enchantment level.
Ranged Weapons (Bow, Crossbow, Trident) – Projectiles deal extra damage. Uses hunger and item durability, with effects scaling by enchantment level.
⚠ IMPORTANT: If you encounter any bugs or issues, please contact me or comment. 1.20.4, 1.20.6, 1.21.1, 1.21.4 & 1.21.5 is only tested. The others are gonna be tested soon!
Available Versions
How to Install A Piece of Greed on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.8).
Install Mod
Open the mod browser in the dashboard and search for "A Piece of Greed". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.8, 1.21.5, 1.21.4 (+11 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
A Piece of Greed server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.
Is A Piece of Greed compatible with forge and neoforge?
A Piece of Greed officially supports forge, neoforge for Minecraft 1.21.8, 1.21.5, 1.21.4. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with A Piece of Greed – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if A Piece of Greed consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install A Piece of Greed with just one click on your server.