Bukkit 1.11 API *Draft*

Discussion in 'News and Announcements' started by md_5, Nov 14, 2016.

Thread Status:
Not open for further replies.
  1. md_5

    Administrator Developer

    All,

    The draft Bukkit API for 1.11 has been published. You can review the changes, and if desired compile your plugin against it to be sure that it will be ready for 1.11. Changes of note include:
    • Removal of assorted deprecations - especially classes and event constructors. These removals have been deprecated since 1.7 and have replacements implemented.
    • Refactoring of Entity classes: Guardian, Horse, Skeleton, Zombie. These entities are special in that they have different variants. In previous Minecraft versions these variants were all the same actual entity, however in 1.11 they are not. We have tried to keep the implementation as compatible as possible with old plugins, but some differences are irreconcilable and plugins will need to be updated. Expect all deprecated methods to be removed in 1.12!
      • We’ve made some last minute changes to the Horse hierarchy in particular. It’s slightly less compatible than before, but more correct in terms of matching the implementation and allowing for future expansion. Stuff like LlamaInventory would not be able to work without these changes.
    • Addition of new Sounds, Statistics, Particles & Materials. It is interesting to note that the different colours of Shulker Boxes are all their own Material - this is corresponding with the way it has been done by Mojang.
    • Remapping EntityType names to Mojang names. This shouldn’t be an issue since they have already been deprecated for being magic values, but EntityType string names now correspond exactly with the ones used by Mojang for consistency. Enum names are still the same as before if you wish to implement conversion in your plugin.
    • For NMS Developers: We don’t normally do release notes here, but there is a change that I must stress greatly. net.minecraft.server.ItemStack may no longer be null. Do not under any circumstances pass null into a method with an ItemStack. Always check that ItemStack.isEmpty is false before operating on an ItemStack. Do not attempt to modify an ItemStack where isEmpty is true. Failing to heed these warnings will cause very bad things. When in doubt, use the conversion methods in CraftItemStack.
    • The SQLite driver has been updated to the 3.14 series. Usage should be backwards compatible, but please be aware that databases may not able to be downgraded.
    If you feel there is something drastically wrong with these changes, and you have a resolution, please let us know.

    Enjoy
    ~Spigot Team
     
    • Like x 51
    • Winner x 17
    • Useful x 6
    • Friendly x 3
    • Informative x 2
    • Agree x 1
  2. Amazing work.
    I would donate a million dollars :D
     
    • Agree Agree x 9
  3. That's awesome.
     
  4. Looks really nice
     
    • Agree Agree x 1
  5. Do it, no balls.

    On a serious note, nice job SpigotMC development team! Thanks for your hard work over the past 4 years now.
     
    • Agree Agree x 3
  6. Nice job, the changes sound great. Time to start updating plugins!
     
  7. Thanks Dev Team for continuing to shine! Your hard work and efforts are GREATLY appreciated!!
     
  8. Appreciate this very much! Cheers
     
  9. Awesome! Good work.
     
  10. Yay, keep the good work up.
     
  11. [​IMG]
     
    • Like Like x 1
  12. [​IMG]
     
  13. 2008Choco

    Resource Staff

    Surprised to see this draft released earlier than expected :D Awesome stuffs! Keep up the great work, Spigot <3
     
  14. I'm super excited.
     
  15. KiaraPuppy

    Supporter

    Nice job md_5! This will help me update my private plugins.
     
  16. Nice, thanks MD!
     
  17. Wow, fantastic work, I really waited for deprecated methods to be removed! :)
     
Thread Status:
Not open for further replies.

Share This Page