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 Shado47 Shado47 Oct 05, 2014 at 17:45 UTC - 0 likes

    Is there any way you can give users the ability to specify fuels, and fuel usages? As well as have items kept after crafting? Similar to the bucket in cake.

    Leader of Team Melanistic, the worlds biggest Minecraft coding team! Mods, Plugins, Tools and more! RECRUITING PLUGIN CODERS!

  • Avatar of Timmie989 Timmie989 Jun 28, 2014 at 07:56 UTC - 0 likes

    please help me, the echantments doesn't work it only crafts the item

    @Shapeless 279, 259 -> 1x 279 fire-aspect=1

    @Shapeless 268, 372 -> 1x 268 loot-bonus-blocks=7

  • Avatar of LordDarthBob LordDarthBob May 13, 2014 at 00:31 UTC - 0 likes

    @Kertan0s: Go I believe it's like this: @Shapeless 344, 352 -> 1x 383/51

    (item id)/(data value)

  • Avatar of Kertan0s Kertan0s May 10, 2014 at 23:21 UTC - 0 likes

    i use the plugin on 1.7.2. Normal recipes wirhput Metadata/Entity IDs work fine I tried to add a spawnegg recipe: (should create skelettonspawnegg)

    @Shapeless
    344, 352
    -> 1x 383 51
    
    console tells me: "Metadata key 51 on line 19 is invalid." And it didnt worked. Can anyone tell me what i've done wrong ? Thx

    Last edited May 10, 2014 by Kertan0s
  • 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

    http://192.99.19.213/list.gif

  • 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"

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,638
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