Skip to content

Minecraft 1.12 Support and Bug Fixes!

Compare
Choose a tag to compare
@2008Choco 2008Choco released this 29 Jun 02:39
· 327 commits to master since this release

Overview

As of late, many of you have been asking me when support for Minecraft 1.12 would be available. Well, the answer is now! I apologize for the delay in the update. I've been working extremely hard with school and various other projects and this one, unfortunately, fell to the bottom of my todo list. However, the time has come available to me after my high school graduation and I have updated everything and made things a little cleaner! This update's been a little bit in the works, so bear with me, I may have forgotten a few things in the changelog.

Do keep in mind, if there are any plugins that are using DragonEggDrop's API, it is extremely likely that you will need to update some code. There are no API breaks, (as far as I can recall), but there are a bunch of changes that resulted in various deprecated methods. You will see all newly deprecated methods and alternatives listed in the changelog below.

This version was not thoroughly tested. It was very lightly tested, so if there are any issues, please feel free to use the Ticket Tracker which will always be available to you. This is the preferred method of reporting bugs/issues or suggesting new features, but if you do not have a GitHub account, you're more than welcome to also post a reply on the discussion thread of the DragonEggDrop Revival resource page

Changelog

  • Added support for Minecraft 1.12! Do not worry, versions 1.9+ still do work as per usual
  • Fixed issue #3: Infinite loop that causes the server to crash when loot chests are set as the reward
  • Fixed a few exceptions that were left over from previous versions
  • Fixed a longstanding bug that prevented the dragon from respawning when joining the world
  • Fixed action bar broadcasts being off by 1 and displaying ghost times (i.e. "Dragon respawns in blank")
  • Fixed potential memory leaks due to storing World instances in the EndWorldWrapper
  • API: Added a bit more documentation to places that were previously lacking; (ParticleShapeDefinition, EndWorldWrapper)
  • API: Removed all instances of "Object" from the NMSAbstract and replaced it instead with a wrapper, DragonBattle.
  • API: Deprecated a bunch of methods including:
    • NMSAbstract#setDragonBossBarTitle(String, Object) -> DragonBattle#setBossBarTitle(String)
    • NMSAbstract#setBattleBossBarStyle(BarStyle, BarColor) -> DragonBattle#setBossBarStyle(BarStyle, BarColor)
    • NMSAbstract#getEnderDragonFromBattle(Object) -> DragonBattle#getEnderDragon()
    • NMSAbstract#respawnEnderDragon(Object) -> DragonBattle#respawnEnderDragon()
    • NMSAbstract#getEndPortalLocation(Object) -> DragonBattle#getEndPortalLocation()
  • API: All methods that previous passed / returned Object methods now pass / return DragonBattle instances