Excavating: A plugin version of 3x3 mining enchantment, taking advantage of PaperMC's built in datapack registration

U

/u/DereChen

Guest
Excavating: A plugin version of 3x3 mining enchantment, taking advantage of PaperMC's built in datapack registration

shoutout to Slimefun's explosive pickaxe

Wanted to showcase something y'all have seen a billion times i'm sure, but rarely in plugin/enchantment form! Instead of making a whole new custom item, I tried making this as vanilla friendly as possible and put it in enchant form that you can get from villagers or the enchantment table. I'm excited to see what new things devs cook up with the easier registration of enchants now via PaperMC

I also took advantage of the multiple levels enchants have, and am planning to let each one define a certain radius of mining (for example, Excavating I is 3x3, Excavating II 3x2x3, and so on) for better customization

A built-in datapack is only used to register the enchantment; all triggers are handled in code, no mcfunctions or anything. This allows registration via datapacks without requiring server owners to install external packs, while the functionality remains implemented on the plugin side.

Public repo here: https://github.com/Derec-Mods/Excavator-Enchant

I was inspired by Miraculixx's veinminer enchant, and how they added it via a plugin, and they taught me a little on the features of PaperMC!

submitted by /u/DereChen
[link] [comments]

Continue reading...
 
Back
Top