BlockRegen v2.1 - The Inventory Safety Update This update introduces a new quality-of-life feature designed to protect players from accidentally losing valuable items.
✨ New Features
Prevent Mining When Inventory is Full:
A new configurable option, prevent-break-on-full-inventory, has been added to config.yml.
When enabled (true), this feature prevents players from breaking a regenerating block if their inventory is full.
This is designed to stop players from losing valuable drops when they have no space to collect them.
The check is smart: it only prevents breaking if the block is configured to drop items (either natural-drop or custom-drops). Blocks that only run commands or give experience can still be broken normally.
⚙️ Configuration Changes
A new option has been added to your config.yml:
# config.yml # ... other settings
# If true, prevents players from breaking a configured block if their inventory is full. # This check only applies if the block is set to drop items. prevent-break-on-full-inventory: true
Your config.yml file will be automatically updated to include this new setting.