BlockRegen v2.0 - The Fortune Update
We are thrilled to announce a significant new feature that adds more depth and customization to your server's economy and progression:
Fortune enchantment support for custom drops!
A special thank you to user
MeoNguOfficial for suggesting this fantastic and detailed feature.
✨ New Feature: Fortune for Custom Drops
You can now enable and configure the Fortune enchantment to increase the yield of your custom-drops. This allows you to reward players for using enchanted tools, making custom mining feel more integrated with vanilla Minecraft mechanics.
How to Configure It: To enable this feature, simply add a new fortune: section to any custom drop in your blocks.yml file.
- Example:
Code (Text):
custom-drops:
mystical_gem_drop:
chance: 100.0
amount: '1-2' # The base amount without Fortune
material: DIAMOND
name: '&dMystical Gem'
fortune:
enabled: true # Set to true to activate Fortune scaling
multiplier:
1: 1.5 # Fortune I multiplies the base amount by 1.5
2: 2.0 # Fortune II multiplies the base amount by 2.0
3: 2.5 # Fortune III multiplies the base amount by 2.5
- enabled: true: This switch activates the Fortune mechanic for this specific drop. If it's false or not present, Fortune will have no effect.
- multiplier:: Here, you define the exact multiplication factor for each level of the Fortune enchantment. The final drop amount will be calculated as (base amount * multiplier), then rounded.
⛏️ Clarification on Natural Drops (natural-drop: true)
As requested, here is a clarification on how Fortune works with natural drops.
Good news: Fortune for natural-drop works automatically, just as it always has!
If you have a block configured like this:
Code (Text):
COAL_ORE:
replaced-block: STONE
regen-delay: 5
drops:
natural-drop: true
The plugin uses Minecraft's built-in drop system (block.getDrops()). This system natively supports Fortune without requiring any extra configuration from you. Players will get the expected increased yield from ores, just like in the vanilla game.
Summary of How Fortune Works
Drop Type
How Fortune Works
Is Configuration Needed?
Custom Drops
Scales the amount based on the multiplier you set.
Yes, you must add the fortune: section.
Natural Drops
Works automatically using vanilla mechanics.
No, it's built-in.
We hope you enjoy this new update that brings more dynamic and rewarding mining experiences to your server!