Filled Baked Cookies!

Discussion in 'Archived: Plugin Requests' started by ^w^Nick^w^, Nov 24, 2013.

  1. Offline

    ^w^Nick^w^

    Plugin category: Fun!

    Suggested name: BakedCookies

    What I want: I'd like to have cookies be a lot more better! I'd like a plugin that adds the ability to heat up a regular crunchy cookie by simply heating it in the furnace! The baked cookie will give 2 points of hunger instead of 1.

    It will NOT be a custom item, it will just be a cookie with the enchanted glow called "Baked Cookie." It will be coded to give 2 points of hunger upon being eaten and can be obtained by heating up a cookie in a furnace!

    Ideas for commands: /bcookie reload - Reloads the config

    Ideas for permissions: bcooki.reload - permission to access /bcookie reload

    When I'd like it by: Anytime!
     
  2. Offline

    Bailey Payne

    This sounds like a pretty interesting project, i will do it, but it isnt my main concern, so you may want someone doing it faster :p also, not too sure why you would include a config in this.
     
  3. Offline

    jkcclemens

    So, I've made the plugin. I have a few questions, though. You said you wanted the cookie to have an enchantment glow without an enchantment. There's a few ways to do this. In my opinion, using ProtocolLib is the least "hacky" way to do it (other ways require dangerous reflection or need to be updated every version of Minecraft). Do you mind having ProtocolLib as a dependency?

    Currently, the plugin adds a furnace recipe for a "Baked Cookie" by smelting one cookie. When the baked one is consumed, it adds an additional point of hunger to the food bar. If the player eating it only has one food missing, the baked cookie will do nothing extra (it will only add the one point).

    Does that all sound good?
     
  4. Offline

    timtower Administrator Administrator Moderator

  5. Offline

    jkcclemens

    You can do the second one via packet modification without touching NBT directly (so forwards-compatibility).
    Has anyone actually tested the first one? I was under the impression that adding new Enchantments was dangerous and ended up crashing the client.
     
  6. Offline

    timtower Administrator Administrator Moderator

    Seen it in action, it is safe
     
  7. Offline

    jkcclemens

    Easy enough to make. Here's the link. If you need more features, let me know.
     

Share This Page