mfnalex / Spigot-BestTools

Apache License 2.0
5 stars 7 forks source link

Chore/update for 1.21 and fix warnings #29

Closed kccricket closed 2 weeks ago

kccricket commented 3 months ago

I made a lot of changes that clean up the code base, but shouldn't change the function of the plugin. If you don't like all the changes, the only changes that actually matter for 1.21 are adding the mace to the weapons and adding a specific case for copper trapdoors.

I tested dozens of materials with and without tool enchantments (including those that profit from silk touch), automatic refills, and switching for hostile mob attacks in both 1.21 and 1.16.5. I also tested sculk, bamboo, and mangrove roots, as noted in the 2.2.2 and 2.2.3 release notes (even though those versions aren't in the codebase).