promotional bannermobile promotional banner

Fortune Fix!

Adds fortune functionality to non-vanilla ore blocks

You may have noticed that some for addons, fortune does not effect their custom ores. Fortune Fix is simple script that automatically detects non-vanilla ore blocks and allows then to drop extra loot when mined with a fortune pickaxe.

Features:

  • Applies to any non-vanilla block with "ore" in it's indentifier
  • Avoids any block with "block" in it's identifier (To avoid raw ore blocks, for example)
  • Avoids blocks that drop themselves rather than raw ores
  • Checks to see if you are using the appropriate tool (ex. A Fortune 3 shovel will not yeild loot from a block that is broken with a pickaxe)
  • Mirrors vanilla fortune behavior

NOTE: It is possible to add fortune functionality through loot tables rather than scripts. I highly recommend doing that with your own addons instead of using this, but if you would still like too:

To add functionality to your pack | If your ore block does not have "ore" in it's identifier:

In the block's JSON file, add the component "tag:moose:fortune: {}".

To avoid this script | Add the component "tag:moose:no_fortune: {}"

The Fortune Fix! Team

profile avatar
  • 3
    Followers
  • 2
    Projects
  • 145
    Downloads

More from DerpiestMoose

  • Random Mob Effects project image

    Random Mob Effects

    • 70
    • Scripts

    Gives mobs a chance to have a positive potion effect when spawned naturally.

    • 70
    • August 25, 2025
    • Scripts
  • Random Mob Effects project image

    Random Mob Effects

    • 70
    • Scripts

    Gives mobs a chance to have a positive potion effect when spawned naturally.

    • 70
    • August 25, 2025
    • Scripts