Compatibility update for newest Spigot 1.13.2 builds
Recent changes in the Spigot server broke a few things. Besides restoring compatibility with the newer builds, some improvements have been made to make the library easier to use during testing.
This build
remains compatible with older versions of Spigot and Paperspigot.
Changes
Stop using trove int-object hashmaps, since trove has been phased out by Spigot devs in the newer builds
Automatically use the new deobfuscated names for some NMS methods that were pushed to Spigot
Fix pom.xml of mountiplex so that there are no ClassNotFound errors for ASM classes when running tests individually
Handle classes automatically initialize the template class declaration resolver they require, so that bootstrap() is no longer needed.
Avoid early initialization of the test Spigot server instance and static state, speeding up running of smaller tests independently that don't rely on this
Speed up parsing of templates, which helps during testing, but only reduces enable time by a very small amount
Experimental speed-up for the DataWatcher set() method, which should help performance in Traincarts when a lot of item model attachments are used that require pose changes