Is there book api yet?

Discussion in 'Plugin Development' started by DanielSturk, Aug 2, 2012.

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

    DanielSturk

    Has the API for the Book and Quill been released yet? And if so, how can I use it?
     
  2. Offline

    Bavestry

    DanielSturk
    Good question, I'm not entirely sure, but I don't think so. It seems as if they'd put a tutorial on it here, when they make it.
     
  3. Offline

    MDCreator

    Indeed there are some 1.3.1 early builds, but I do not see any implementation in the javadocs, so I'm not entirely sure if there is one. I'm going to look through the source and get back to you if I find any.

    EDIT: Yes there is!!! Sort of. You can spawn the item in, but you can't edit its contents, yet.
     
    Bavestry likes this.
  4. Offline

    md_5

    Not just yet, the builds arent even 100% stable, no time for new apis just yet.
    There will almost certainly be one before the RB.
     
  5. Offline

    Kohle

    Is there a planned feature list for the API?
     
  6. Offline

    bobacadodl

    All I want is the ability to spawn books with custom titles. I'm going to be creating an awesome Magic Spells plugin :D
     
  7. Offline

    spathwalker

    Edit: Not official yet, but found one made by codeman_B:
    http://forums.bukkit.org/threads/book-api-to-tide-you-over.91464/

    Not just yet, but found some interesting code-wise things out so far:
    A .clone() of the book will have all the same contents.
    Changing the item type from WRITTEN_BOOK to BOOK_AND_QUILL will allow you to edit it again and keep the contents.
    Changing it back via code will keep the same title and author, even though they don't show up while editing.
     
Thread Status:
Not open for further replies.

Share This Page