Download Fortunate — Minecraft Mods — MetaMods

Fortunate

Active

Downloads

1

Last update

11 months ago

Versions

1.20 — 1.21.3
Server
Fabric
Forge
Neoforge
Quilt
Game mechanics

Fortunate

Fortunate is a data pack that completely changes how the Fortune enchantment works in Minecraft.

Now the drop increase is built directly into the ore itself, and the Fortune enchantment only increases the chances of getting these additional items.

This change is especially noticeable on emerald ore - it now drops in quantities from 2 to 4 units even without applying the enchantment.

This data pack is designed for players who prefer exploring caves and gathering resources in the traditional way, rather than following meta-strategies like urgently searching for Fortune III or building automatic farms.

Enjoy your underground adventures!

Configuring the Data Pack

This data pack is distributed under the MIT license, which allows free modification provided the LICENSE file is kept in the root folder.

Changing Fortune Probabilities

You can configure the Fortune enchantment activation chances by editing the file data/fortunate/predicates/fortune_chances.json. The value array starts at level 0 and increases by one level for each subsequent value.

Adding Modded Ores

Ores from third-party mods are not supported by default, but they can be easily added by making the following changes:

{
    ...
    "type": "minecraft:item",
    "functions": [
-       {
-           "enchantment": "minecraft:fortune",
-           "formula": "minecraft:ore_drops",
-           "function": "minecraft:apply_bonus"
-       },
+       {
+           "function": "minecraft:reference",
+           "name": "fortunate:add_with_fortune"
+       }
        ...
    ],
    "name": "example:my_cool_material"
}

For special cases like redstone, where more than one unit of resource drops, you can copy the file data/fortunate/item_modifiers/add_with_fortune and replace the "count" value with your required quantity.

Project members
Pug

Pug

Developer

Torty

Torty

Developer

Created: 20 Mar 2024

ID: 17530