Fixed the plugin not working with some versions (like 1.12.2) and minor API additions
Bug fixes (high priority):
Fixed a bug that has been introduced in a previous version (1.3.5) making it so some versions would be incorrectly detected as higher than some others (e.g. version "1.12.2" being detected as higher than "1.17") - this could prevent the plugin from working on such versions (complaining about the MinecraftKey class not existing of something of the likes)
—————————————— Developer API additions
PluginHandler:
+ Added database into PluginHandler
CoreItemStack
+ Added Javadoc for #setMirror(boolean)
+ Added #isMirror()
Inventory
+ Added #fillInventory(Material)
ParticleData:
+ Added "data"/extra to ParticleData
+ Made it so data isn't final anymore and can be changed
BodyPart:
+ Added #setPose(ArmorStand, double, double) to use raw yaw and pitch instead of EulerAngle
ArmorStandUtils:
+ Added #disableEquipmentInteraction(ArmorStand, boolean), this method sets an NBT into an ArmorStand's helmet
+ Added #isEquipmentInteractionDisabled(ArmorStand) that checks an armorstand's helmet for the NBT tag.
PlayerListener:
+ Added a listener to prevent players from interacting with an armorstand's equipment if ArmorStandUtils#isEquipmentInteractionDisabled(ArmorStand) returns true.
LocationUtils:
+ Added a way to get the default world for a specific environment (NORMAL, NETHER and END) with LocationUtils#getDefaultWorldByEnvironment(Environment), LocationUtils#getDefaultWorld(), LocationUtils#getDefaultNetherWorld() and LocationUtils#getDefaultEndWorld().