
EzMine
Reward players with mining ranks, smarter ore drops, experience boosts, and custom pickaxes.
391
1
Fixed
- Null pointer exception in vein mining -
VeinMineUtil.findVein()now gracefully handles null origin block - Null pointer exception in area mining -
AreaMineUtil.mine3x3()now validates center block and world before use - Locale-sensitive string comparison -
AllowedActions.isAllowed()now usestoLowerCase(Locale.ROOT)for consistent behavior - Redundant validation - Removed redundant
shopCost < 0check inCustomToolDefinition.validate()(constructor already clamps) - Inconsistent action matching -
CustomToolListener.onItemHeld()now uses case-insensitive action matching consistent withonPlayerInteract()
Added
- Unit tests - Added test coverage for bug fixes in
AllowedActions,VeinMineUtil, andCustomToolDefinition
- Null pointer exception in vein mining -
Breaking changes
- Java 25 required. The minimum supported Java version has been raised from 8 to 25.
- Parent POM removed. EzMine is now fully standalone - the
com.skyblockexp:EzTree-parentparent POM dependency has been eliminated. All repositories and build properties are defined directly inpom.xml. - EzSkills 2.0+ required. The reflection-based EzSkills adapter has been removed. EzMine
now depends on the
ezskills-apiartifact from JitPack and callsEzSkillsAPIdirectly. Servers running EzSkills 1.x must upgrade to EzSkills 2.0+ before upgrading EzMine.
Added
- Vein miner action - New
vein-minercustom tool action. When active, mining any tracked block automatically mines the entire connected vein of the same material in one swing. Uses a BFS flood-fill across the six face-connected neighbours.- Configurable via
settings.actions.vein-miner:enabledflag andmax-blocks(default64, hard cap512). - Fully compatible with area mining, auto-smelt, ore-searcher, all rank drop/XP multipliers, and WorldGuard region checks.
- Built-in
vein-miningaction group andvein-pickaxeexample tool added totools.yml. prison-mastercombo action group now includesvein-miningby default.
- Configurable via
- GitHub Actions CI - build verification on every push and pull request to
main. - Code quality workflow - Checkstyle enforced on every push and pull request.
- Documentation site - new Jekyll/GitHub Pages docs at
docs/. - Docs CI workflow - markdownlint and Javadoc verification on pull requests.
- Publish workflow - automated release to GitHub Packages and Modrinth on version tags.
checkstyle.xml- Checkstyle configuration aligned with project code style..markdownlint.yml- Markdown lint configuration for all documentation files..gitignore- comprehensive ignore rules for Maven and IDE artifacts.
Changed
EzSkillsIntegrationreplaced reflection with directEzSkillsAPIcalls.pom.xmlupdated to version2.0.0;maven.compiler.releaseset to25.- Spigot API version updated to
1.21.4-R0.1-SNAPSHOT.
Improved configuration validation
When EzMine loads
custom-toolsit performs sanity checks and reports problems in the server log. Fatal errors (such as a missing or unknownmaterial, or duplicate tool IDs after normalization) will disablecustom-toolsuntil you fix them.Watch for these common messages and how to fix them:
Missing material for custom tool <id>— add a valid SpigotMaterialname (e.g.NETHERITE_PICKAXE).Unknown material <name> for custom tool <id>— correct the material name or use a supported material.Duplicate custom tool id after normalization: <id>— ensure tool keys are unique when lowercased.Unknown action '<action>' for custom tool <id>— use a built-in action (e.g.3x3,auto-smelt,ore-searcher) or define it in theactionssection.custom-model-data must be zero or positive for custom tool <id>— use a non-negative integer forcustom-model-data.shop.slot out of range for custom tool <id>— choose aslotbetween0androws*9 - 1.
If you see warnings (non-fatal issues), EzMine will still load the tool but the behaviour may differ. After fixing the YAML, run
/ezmine reloadto re-apply the configuration.- Improved the custom 3x3 miner skill
- Added shift right click to change mining direction
- Improved enable/disable on normal right click
- Improved ore searcher skill
- Improved particle trace to multiple targets
- Improved particle trace effect to make it always visible
- Improved enable/disable on normal right click
- Added * wildcard for tracked blocks in settings.yml. This so the ore searcher works for every broken block with the tool.
- Added option to define custom textures to custom tools
- Improved the custom 3x3 miner skill
Совместимость
Авторы
Сведения
Лицензия:
Опубликован:5 месяцев назад
Обновлён:1 неделю назад
ID проекта:
