DragonsPlusMinecraft / CreateEnchantmentIndustry-Fabric

CEI Fabric
https://modrinth.com/mod/create-enchantment-industry-fabric
MIT License
12 stars 11 forks source link

Support Mending for deployers when mining or fishing #65

Open dhouck opened 4 months ago

dhouck commented 4 months ago

Describe the your request

Like #38, but for cases other than attacking mobs. Both fishing[^1] and mining sculk blocks spill the XP orbs on the ground[^2], not using any to repair the tool if it has mending. Both of these cases, and probably more I havenʼt thought of, should ideally mend the tools.

In addition to these scenarios (and possibly others), a generic solution might be nice. If a deployer could pick up XP orbs or get liquid XP pumped in when itʼs holding a damaged mending tool, that would probably help if there are any other edge cases or mod interactions that can’t be caught easily.

Minecraft version: 1.20.1 Create: Enchantment Industry version: 1.2.16

[^1]: Vanilla AFK fish farms at least sometimes still work with deployers, although I havenʼt tried one that gives treasure. [^2]: Perhaps it should instead turn that into nuggets of experience? I don’t particularly care either way but it would be more consistent if they were nuggets, at least. That should probably be a different issue unless itʼs necessary for implementing this.