Package net.minecraft.server not available?

Discussion in 'Plugin Development' started by Mike724, Aug 9, 2012.

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

    Mike724

    I'm trying to use parts of this code,
    http://pastie.org/pastes/4406416/text
    to write in books.

    However I do not have access to any of the vanilla server packages. Is this normal? How do I fix it?
     
  2. Offline

    Sagacious_Zed Bukkit Docs

    As there is currently no API to write books, bukkit.jar does not have the necessary interfaces.
     
  3. Offline

    Mike724

    ...but I should still be able to have access to the net.minecraft.server package. (forget about the books)
     
  4. Offline

    ZeusAllMighty11

  5. Offline

    Sagacious_Zed Bukkit Docs

  6. Offline

    Mike724

  7. You have to add CraftBukkit as a dependency
     
  8. Offline

    Mike724

    How would I do this in eclipse?
    I only have the bukkit API + bukkit API javadocs added at the moment
     
  9. Add it the same way you added the Bukkit API (You'll have to download craftbukkit from http://dl.bukkit.org)
     
    Mike724 likes this.
  10. Offline

    Mike724

    Ah so I'm pretty much making a reference to the actual server jar, not the API. Thanks!
     
  11. Yep, enjoy :)
     
    Mike724 likes this.
Thread Status:
Not open for further replies.

Share This Page