Cookbook

Cookbook 1.2

A plugin to customize the recipes on your server to your liking. Currently it only allows to set recipes in the recipes.cb config file, but an in-game recipe creator is planned as well as recipe-based permissions.

Recipes are read from recipes.cb. The format is pretty intuitive; it is most easily explained by example.

# The # symbol indicates that the rest of the line is a comment

@Shaped
dirt dirt # An up to 3x3 grid of the ingredients, with air for empty slots.
0 3 # ingredients can be specified by ID or name
-> 2x IRON_INGOT # The format of the result is the same for all recipe types

@Smelt
Dirt -> 3x Wheat

@Shapeless
Apple, Bowl
-> 1 Water-bucket # The x is optional

@Smelt
Redstone -> 6 ink-sack/3 # You can specify data-values anywhere except on smelting input

@Smelt
Bow -> 1 Bow ARROW_INFINITE=1 # You can add enchantments or other metadata like this.

For more details, see Recipe Format.

Configuration

The following keys are used from the config.yml in the Cookbook folder

  • startup - Specifies how Cookbook should behave on startup. Valid values are "clear" (remove all vanilla recipes before adding the ones from recipes.cb), "reset" (reset to vanilla recipes before adding your custom recipes), and "compound" (just add your recipes). You could use this to suppress recipes from other plugins, or to completely redo the recipes Minecraft offers. Note that some vanilla recipes, such as fireworks, dyed leather armour, map copying, map zooming, and book copying, are impossible to reimplement using Cookbook, so consider this before deciding to use "clear".
  • fix.soup-bowl - If true, Cookbook will give back the bowl if you use mushroom soup in a recipe.
  • fix.glass-bottle - If true, Cookbook will give back the bottle if you use a potion in a recipe. Note that, if you set this to true and create recipes where potions are used as ingredients to craft other potions, you will get a free glass bottle each time a potion is crafted from a potion. So don't set it to true if you want recipes of that type.
  • allow-high-enchants - If true, Cookbook will allow enchantments of higher than normal levels.
  • allow-wrong-enchants - If true, Cookbook will allow enchantments on items that they don't normally apply to.
  • generate-defaults-cb - If true, Cookbook will generate a defaults.cb before adding any recipes. After doing so, this flag will be set to false. Note that, due to Bukkit quirks, a few recipes in the resulting defaults.cb won't be accurate; generally the complicated things involving maps, leather armour, books, or fireworks. However, these recipes can't be replicated with Cookbook's capability anyway. Note also that if other plugins add custom recipes, these recipes may appear in the defaults.cb if they loaded before Cookbook.

List of item/block names || List of enchantment names

Note: This is not the original Cookbook by fullwall and is not even based on his code; it has been rewritten from scratch, but I liked the name and, since his has been inactive for a long time, decided to recycle it. If there is enough demand I may write a converter to convert fullwall's Cookbook format to my Cookbook format.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of padfut0 padfut0 Apr 16, 2014 at 05:37 UTC - 0 likes

    can anyone upload 1.7.5 compatible version for me?

    I don't know how to compile java thing. plz help!

  • Avatar of PhanaticD PhanaticD Apr 12, 2014 at 23:11 UTC - 0 likes

    @Celtic_Minstrel: Go

    they didnt, I updated it and re-compiled from your github so they do now for me :P

  • Avatar of Celtic_Minstrel Celtic_Minstrel Apr 01, 2014 at 03:44 UTC - 0 likes

    Depends. Do custom recipes work properly on 1.7.5? They should.

    My github page.

    BFAK:28878,9e81cbd54aa5a742c94bd31fd664ea3c96b472069d9154dcabbc4145bc41831e

  • Avatar of PhanaticD PhanaticD Mar 26, 2014 at 23:35 UTC - 0 likes

    hi, can you update this to 1.7.5?

  • Avatar of Celtic_Minstrel Celtic_Minstrel Feb 22, 2014 at 22:10 UTC - 1 like

    @Drew_Man66: Go

    It's released on github, see my signature! Has been for quite a long time.

    @RSXdaLV: Go

    There's an include feature? *checks code* Oh wow! I totally forgot that existed! I'll go add that right now.

  • Avatar of RSXdaLV RSXdaLV Feb 22, 2014 at 16:41 UTC - 0 likes

    Document the include feature, because, being the flagship plugin for this feature (as far as I am aware), you should anticipate great sizes of recipes, some of which require a lot of editing. Basically - it is already in there. Make it known. @Include "description about @include"

  • Avatar of Drew_Man66 Drew_Man66 Feb 21, 2014 at 17:01 UTC - 0 likes

    So is it possible you could release the code cause I've been interested in making this able to cook so I just really want to see that part :).

  • Avatar of Celtic_Minstrel Celtic_Minstrel Feb 18, 2014 at 04:14 UTC - 0 likes

    It's been a whole day since I uploaded this, and it's not approved yet, so I'll post it here in case anyone wants to get it earlier. If anyone was waiting for a Cookbook update, there's one now and another one coming soon.

    (Direct download link here.)

    Last edited Feb 18, 2014 by Celtic_Minstrel
  • Avatar of Celtic_Minstrel Celtic_Minstrel Sep 28, 2013 at 16:34 UTC - 0 likes

    @jespertheend: Go

    What do you mean?

  • Avatar of jespertheend jespertheend Aug 08, 2013 at 20:45 UTC - 0 likes

    Is there any way I can craft name tags?

Table of contents

  1. 1 Cookbook 1.2

Facts

Date created
Aug 29, 2011
Categories
Last update
Feb 19, 2014
Development stage
Release
License
MIT License
Curse link
Cookbook
Downloads
6,200
Recent files
  • R: v1.2 for CB 1.7.2-R0.3 Feb 19, 2014
  • R: v1.1.4 for CB 1.6.4-R2.0 Feb 16, 2014
  • R: v1.1.3 for CB 1.4.7-R1.0 Feb 21, 2013
  • R: v1.1.2 for CB 1.4.6-R0.1 Dec 26, 2012
  • R: v1.1.1 for CB 1.4.6-R0.1 Dec 23, 2012

Authors