[INACTIVE][MECH] Cookbook v1.4.6 - The original custom recipes plugin. [953]

Discussion in 'Inactive/Unsupported Plugins' started by fullwall, Feb 25, 2011.

  1. Offline

    fullwall

    [​IMG]
    Craft your own recipes!

    Download latest version: v1.4.6, JAR Only

    An easy recipe creator (with GUI!), made by DerEchteNexus, is available here.
    An HTML recipe parser made by Celticminstrel is available here.

    Cookbook is the premier specialised plugin for custom crafting and smelting recipes. Craft gold bars from stone, diamonds from grass and much, much more! Cookbook allows the creation of recipes in an easy-to-understand recipes file - simply create the recipe, reload the plugin and you're done! Cookbook affects the crafting and smelting tables directly - no more workarounds or other weird methods. It can override the default recipes too - just copy the recipe and specify a custom result.

    Cookbook allows the customisation of the crafting recipes used in a workbench and smelting. Let's take for example the recipe for torches - a stick with oil on top. With Cookbook, I could make it so a stack of 35 torches were made if I put obisidan on top of said stick in the crafting area. I could make a 9x9 recipe of dirt blocks create diamond. If I wanted to smelt coal from saplings, I'd just specify that in the recipes file. In short, Cookbook allows the creation of workbench crafting and smelting recipes, completely user-configured, to give a specified resulting stack.

    Features:
    • Custom crafting recipes as specified in cookbook.recipes.
    • Custom smelting recipes as specified in cookbook.furnacerecipes.
    • Custom ids, results, data values and result amounts.
    • Displays result now.
    • Shapeless recipes, repair recipes.
    Using data ranges for repair recipes:
    In 1.4, the repair recipe feature was added. To use this, all you have to do is put 'X' as the damage value, and any data value for that item will be accepted as valid.
    Commands:
    Code:
    /cookbook reload - reloads recipes
    /cookbook recipes - displays a list of recipes.
    /cookbook recipe [number] (shapeless)- displays a specific recipe (or shapeless recipe).
    /cookbook frecipes - displays a list of furnace recipes.
    /cookbook frecipe [number] - displays a specific furnace recipe.
    These commands can be used in the console (remove the '/')
    Permissions:
    Code:
    cookbook.reload - gives access to /cookbook reload.
    cookbook.display.recipe - gives access to /cookbook recipe.
    cookbook.display.allrecipes - gives access to /cookbook recipes.
    cookbook.display.furnacerecipe - gives access to /cookbook frecipe.
    cookbook.display.allfurnacerecipes - gives access to /cookbook frecipes.
    Older versions (open)
    Changelog (open)

    • v1.4.6 - recipe glitch fix. Updated for 1.5.
    • v1.41 - unlimited ranged data values.
    • v1.4 - client mod no longer required.
    • v1.39 - fixed /cookbook recipe command.
    • v1.38 - bugfixes.
    • v1.35 - added API, cleaned up code (check RecipeManager out)
    • v1.3 - added support for client mod.
    • v1.2 - added furnace recipes.
    • v1.1 - added shapeless recipes, major bugfixes, added item data values, delay setting.
    • v1.05 - added commands, data value on results, bugfix.
    • v1.0 - initial release.
    Credits (open)
    This plugin would not have been possible without the huge help that Edward Hand was. Thank you for trawling through minecraft code, testing my glitchy code and being a sounding board for my wacky coding ideas. You were a huge help. Thanks to @SpaceManiac and @Celtic Minstrel for making me go back through the packet code to allow the results slot to be shown without a client mod.
    Configuration (open)
    Crafting recipes (open)
    To configure cookbook, open the cookbook.recipes file. Inside the file are a few custom recipes already configured, and you can change/add/delete them if you like. The way new ones are created is like so.
    A workbench is a 3x3 slot area, filled with air. To represent this in a file, we use a 3x3 grid of numbers, separated by commas. Each number represents the item id that would go into that slot on a crafting bench to produce your recipe. 0 is air (nothing). So, we get this:

    0,0,0,;0,0,0,
    0,0,0,;0,0,0,
    0,0,0,;0,0,0,
    4th line.

    The data values for each line are separated by the ';' - the first number on the right corresponds to the data value of the first item on the left. Note that 'X' is a valid data value, allowing any data value to be used in that square.

    The fourth line is the result (what you get when you have this configuration). It is formatted like so: the item id is on the left, the stack amount is in the middle, and the data value is on the far right. For example - to configure a stack of 64 sticks, I would put 280:64:0 on the fourth line. These four lines constitute a recipe.

    Let's do an example. I want to use a stick in the middle of the bench to get a stack of 24 apples.

    0,0,0,;0,0,0, - no sticks on this line
    0,280,0,;0,0,0, - a stick must be in the middle of this line
    0,0,0,;0,0,0, - no sticks on this line.
    260:24:0 - the result is a 24-stack of apples.

    See the included recipes file for information on Shapeless recipes. Use the @Shapeless identifier before a recipe to make it shapeless - for example
    @Shapeless
    0,0,0,;0,0,0,
    0,4,0,;0,0,0,
    0,0,0,;0,0,0,
    1:1:0
    Will make this recipe shapeless - stone can be placed anywhere to get the desired result.
    Furnace Recipes (open)
    Furnace recipes are a lot simpler thankfully :).
    Furnace recipes have two lines: the first line is for the ingredient, the second is for the result.
    The first line is simply the id of the ingredient used in smelting. The second line is separated into 3 sections by ':'s.

    The first section defines the id, the second the data value and the third the custom cooktime.
    Let's do an example - cobblestone to sand.

    4, -the ingredient is cobblestone.
    12:0:0 - results in sand, no data value, no change to cooktime.

    Pretty simple right? The cooktime value is used for extra customisation of the time it takes for one block to be smelted (the progress arrow's speed). Normally, this is incremented from 0 - 200, by 1 each time. In cookbook, you can add extra values onto this. Note the caveat: these will only change cooktime while the window is open.

    4,
    12:0:50 - the value of 50 results in SUPER FAST cooking.

    And that's it for furnace recipes. Negative values are possible, but will be capped at
    -0.999999... otherwise the recipe will never complete.
    User-Submitted recipes (open)
    Sphax's recipes (open)
    Sphax put them all in a handy pdf - http://dl.dropbox.com/u/16580692/cookbook_recipes_new.pdf.
    Mineaccount's recipes (open)
    Chanmail Helmet:

    4,4,4,;0,0,0,
    4,0,4,;0,0,0,
    0,0,0,;0,0,0,
    302:1:0,

    Chainmail Chestplate:

    4,0,4,;0,0,0,
    4,4,4,;0,0,0,
    4,4,4,;0,0,0,
    303:1:0,

    Chainmail Leggings

    4,4,4,;0,0,0,
    4,0,4,;0,0,0,
    4,0,4,;0,0,0,
    304:1:0,

    Chainmail Boots:

    0,0,0,;0,0,0,
    4,0,4,;0,0,0,
    4,0,4,;0,0,0,
    305:1:0,

    Sponge:

    348,348,348,;0,0,0,
    348,325,348,;0,0,0,
    348,348,348,;0,0,0,
    19:16:0,

    Saddle:

    334,334,334,;0,0,0,
    334,265,334,;0,0,0,
    0,265,0,;0,0,0,
    329:1:0,

    Snow:

    0,0,0,;0,0,0,
    332,332,332,;0,0,0,
    0,0,0,;0,0,0,
    78:3:0,

    Ice:

    20,20,20,;0,0,0,
    20,332,20,;0,0,0,
    20,20,20,;0,0,0,
    79:8:0,

    Apple:

    0,331,0,;0,0,0,
    331,353,331,;0,0,0,
    0,331,0,;0,0,0,
    260:1:0,

    Golden Apple:

    0,348,0,;0,0,0,
    348,353,348,;0,0,0,
    0,348,0,;0,0,0,
    322:1:0,

    Wool:

    288,288,288,;0,0,0,
    288,288,288,;0,0,0,
    288,288,288,;0,0,0,
    35:1:0,

    Leaves:

    295,295,295,;0,0,0,
    295,0,295,;0,0,0,
    295,295,295,;0,0,0,
    18:8:0,
    stolksdorf's repair recipes (open)
    #Wooden Weapons
    @Shapeless
    0,0,0,;0,0,0,
    0,5,0,;0,0,0,
    0,268,0,;0,X,0,
    268:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,5,0,;0,0,0,
    0,269,0,;0,X,0,
    269:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,5,0,;0,0,0,
    0,270,0,;0,X,0,
    270:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,5,0,;0,0,0,
    0,271,0,;0,X,0,
    271:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,5,0,;0,0,0,
    0,290,0,;0,X,0,
    290:1:0,

    #Stone Weapons
    @Shapeless
    0,0,0,;0,0,0,
    0,4,0,;0,0,0,
    0,272,0,;0,X,0,
    272:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,4,0,;0,0,0,
    0,273,0,;0,X,0,
    273:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,4,0,;0,0,0,
    0,274,0,;0,X,0,
    274:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,4,0,;0,0,0,
    0,275,0,;0,X,0,
    275:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,4,0,;0,0,0,
    0,291,0,;0,X,0,
    291:1:0,

    #Iron Weapons
    @Shapeless
    0,0,0,;0,0,0,
    0,265,0,;0,0,0,
    0,256,0,;0,X,0,
    256:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,265,0,;0,0,0,
    0,257,0,;0,X,0,
    257:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,265,0,;0,0,0,
    0,258,0,;0,X,0,
    258:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,265,0,;0,0,0,
    0,267,0,;0,X,0,
    267:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,265,0,;0,0,0,
    0,292,0,;0,X,0,
    292:1:0,

    #Diamond Weapons
    @Shapeless
    0,0,0,;0,0,0,
    0,264,0,;0,0,0,
    0,276,0,;0,X,0,
    276:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,264,0,;0,0,0,
    0,277,0,;0,X,0,
    277:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,264,0,;0,0,0,
    0,278,0,;0,X,0,
    278:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,264,0,;0,0,0,
    0,279,0,;0,X,0,
    279:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,264,0,;0,0,0,
    0,293,0,;0,X,0,
    293:1:0,

    #Gold Weapons
    @Shapeless
    0,0,0,;0,0,0,
    0,266,0,;0,0,0,
    0,283,0,;0,X,0,
    283:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,266,0,;0,0,0,
    0,284,0,;0,X,0,
    284:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,266,0,;0,0,0,
    0,285,0,;0,X,0,
    285:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,266,0,;0,0,0,
    0,286,0,;0,X,0,
    286:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,266,0,;0,0,0,
    0,294,0,;0,X,0,
    294:1:0,

    #Leather Armor
    @Shapeless
    0,0,0,;0,0,0,
    0,334,0,;0,0,0,
    0,298,0,;0,X,0,
    298:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,334,0,;0,0,0,
    0,299,0,;0,X,0,
    299:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,334,0,;0,0,0,
    0,300,0,;0,X,0,
    300:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,334,0,;0,0,0,
    0,301,0,;0,X,0,
    301:1:0,

    #Iron Armor
    @Shapeless
    0,0,0,;0,0,0,
    0,265,0,;0,0,0,
    0,306,0,;0,X,0,
    306:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,265,0,;0,0,0,
    0,307,0,;0,X,0,
    307:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,265,0,;0,0,0,
    0,308,0,;0,X,0,
    308:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,265,0,;0,0,0,
    0,309,0,;0,X,0,
    309:1:0,

    #Diamond Armor
    @Shapeless
    0,0,0,;0,0,0,
    0,264,0,;0,0,0,
    0,310,0,;0,X,0,
    310:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,264,0,;0,0,0,
    0,311,0,;0,X,0,
    311:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,264,0,;0,0,0,
    0,312,0,;0,X,0,
    312:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,264,0,;0,0,0,
    0,313,0,;0,X,0,
    313:1:0,

    #Gold Armor
    @Shapeless
    0,0,0,;0,0,0,
    0,266,0,;0,0,0,
    0,314,0,;0,X,0,
    314:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,266,0,;0,0,0,
    0,315,0,;0,X,0,
    315:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,266,0,;0,0,0,
    0,316,0,;0,X,0,
    316:1:0,
    @Shapeless
    0,0,0,;0,0,0,
    0,266,0,;0,0,0,
    0,317,0,;0,X,0,
    317:1:0,
    TZer0's alchemy (open)
    #Glowstone dust + Slime ball + iron tool/weapon = gold tool/weapon (requires the equipment to be in mint condition)
    @Shapeless
    0,348,0,;0,0,0,
    0,341,0,;0,0,0,
    0,257,0,;0,0,0,
    285:1:0,
    @Shapeless
    0,348,0,;0,0,0,
    0,341,0,;0,0,0,
    0,267,0,;0,0,0,
    283:1:0,
    @Shapeless
    0,348,0,;0,0,0,
    0,341,0,;0,0,0,
    0,256,0,;0,0,0,
    284:1:0,
    @Shapeless
    0,348,0,;0,0,0,
    0,341,0,;0,0,0,
    0,258,0,;0,0,0,
    286:1:0,
    # Sugar, sugar cane and Bucket of water to slimeball.
    @Shapeless
    0,332,0,;0,0,0,
    0,338,0,;0,0,0,
    0,326,0,;0,0,0,
    341:1:0,
    # 8xredstone + 1x egg to apple.
    @Shaped
    331,331,331,;0,0,0,
    331,344,331,;0,0,0,
    331,331,331,;0,0,0,
    260:1:0,
    # 8xglowstone + 1x apple to egg.
    @Shaped
    348,348,348,;0,0,0,
    348,260,348,;0,0,0,
    348,348,348,;0,0,0,
    344:1:0,
    #water + lava = obsidian
    @Shapeless
    0,0,0,;0,0,0,
    0,326,0,;0,0,0,
    0,327,0,;0,0,0,
    49:1:0,
    urakkia's recipes (open)
    [​IMG]

    @Shapeless 37,38,0,;0,0,0, 0,0,0,;0,0,0, 0,0,0,;0,0,0, 351:4:4,

    Grass Block
    Ever wanted a garden in your floating sky castle?
    [​IMG]

    Code:
    @Shapeless 295,0,0,;0,0,0, 3,0,0,;0,0,0, 0,0,0,;0,0,0, 2:1:0,

    Gravel
    Because it's hard to find sometimes.
    [​IMG]

    Code:
    @Shapeless 12,0,0,;0,0,0, 4,0,0,;0,0,0, 12,0,0,;0,0,0, 13:3:0,

    Snowblock
    Another use for sugarcane.
    [​IMG]

    Code:
    @Shapeless 353,0,0,;0,0,0, 353,0,0,;0,0,0, 326,0,0,;0,0,0, 80:2:0,

    Iceblock
    Now you can make ice castles!
    [​IMG]

    Code:
    @Shapeless 80,80,0,;0,0,0, 80,80,0,;0,0,0, 0,0,0,;0,0,0, 79:3:0,

    Snowblock, again
    And ice back to snow.
    [​IMG]

    Code:
    @Shapeless 79,0,0,;0,0,0, 79,0,0,;0,0,0, 79,0,0,;0,0,0, 80:4:0,

    Mobspawner
    Use creaturebox to make it spawn things other than invincible pigs.
    [​IMG]

    Code:
    352,42,352,;0,0,0, 42,327,42,;0,0,0, 352,42,352,;0,0,0, 52:1:0,

    Mossy Cobblestone
    I like keeping this rare.
    [​IMG]

    Code:
    352,352,352,;0,0,0, 295,4,295,;0,0,0, 295,295,295,;0,0,0, 48:1:0,

    Soul Sand
    Use pumpkins for the soul-chilling effect.
    [​IMG]

    Code:
    0,3,0,;0,0,0, 3,86,3,;0,0,0, 0,3,0,;0,0,0, 88:4:0,

    Celtic Minstrel's recipes (open)

    Code:
    # Redstone Ore @Shaped 331,001,331,;0,0,0, 001,331,001,;0,0,0, 331,001,331,;0,0,0, 73:1:0,  # Coal Ore @Shaped 263,001,263,;0,0,0, 001,263,001,;0,0,0, 263,001,263,;0,0,0, 16:1:0,  # Iron Ore @Shaped 265,001,265,;0,0,0, 001,265,001,;0,0,0, 265,001,265,;0,0,0, 15:1:0,  # Gold Ore @Shaped 266,001,266,;0,0,0, 001,266,001,;0,0,0, 266,001,266,;0,0,0, 14:1:0,  # Diamond Ore @Shaped 264,001,264,;0,0,0, 001,264,001,;0,0,0, 264,001,264,;0,0,0, 56:1:0,  # Lapis Lazuli Ore @Shaped 351,001,351,;4,0,4, 001,351,001,;0,4,0, 351,001,351,;4,0,4, 21:1:0,  # Wool to Sponge @Shaped 35,00,35,;0,0,0, 00,35,00,;0,0,0, 35,00,35,;0,0,0, 19:1:0,  # Gunpowder @Shaped 337,263,337,;0,0,0, 263,318,263,;0,0,0, 337,263,337,;0,0,0, 289:8:0,  # Gold Record @Shaped 000,331,000,;0,0,0, 331,322,331,;0,0,0, 000,331,000,;0,0,0, 2256:1:0,  # Green Record @Shaped 000,331,000,;0,0,0, 331,341,331,;0,0,0, 000,331,000,;0,0,0, 2257:1:0,  # Double Slabs <--> Slabs (repeat for each data value from 0 to 3) @Shapeless 00,00,00,;0,0,0, 00,44,00,;0,0,0, 00,44,00,;0,0,0, 43:1:0, @Shapeless 00,00,00,;0,0,0, 00,43,00,;0,1,0, 00,00,00,;0,0,0, 44:2:1,  # Placeable Snow @Shapeless 000,000,000,;0,0,0, 000,000,000,;0,0,0, 332,332,332,;0,0,0, 78:3:0,
    Sample screenshots:
    [​IMG] [​IMG] [​IMG] [​IMG]

    Yogoda's recipes (open)

    [​IMG]

    #redstone ore​
    @Shaped​
    331,4,331,;0,0,0,​
    4,331,4,;0,0,0,​
    331,4,331,;0,0,0,​
    73:1:0​
    [​IMG]

    #wool to string​
    @Shaped​
    0,0,35,;0,0,0,​
    35,35,35,;0,0,0,​
    35,0,0,;0,0,0,​
    287:1:0,​
    Em0srawk's recipes (open)
    #Stack porkchop 9 raw
    @Shaped
    319,319,319,;0,0,0,
    319,319,319,;0,0,0,
    319,319,319,;0,0,0,
    319:9:0,
    #Stack porkchop 4 raw

    @Shaped
    0,0,0,;0,0,0,
    0,319,319,;0,0,0,
    0,319,319,;0,0,0,
    319:4:0,
    #Stack porkchop 9 cooked

    @Shaped
    320,320,320,;0,0,0,
    320,320,320,;0,0,0,
    320,320,320,;0,0,0,
    320:9:0,
    #Stack porkchop 4 cooked

    @Shaped
    0,0,0,;0,0,0,
    0,320,320,;0,0,0,
    0,320,320,;0,0,0,
    320:4:0,

    Post suggestions, bugs and other questions in this thread. Enjoy :).
    Post your best recipes, and I'll put them in the spoiler.
     
    Arbenn, Neero, Flipp and 6 others like this.
  2. Offline

    Javid

    I have updated to 1.4.4 and am still experiencing the same problem :/
     
  3. Offline

    Thomson

    Same problem as ButtKoWitz with almost any recipe
    for example 9x Coal -> Iron also works if i put 1 coal in the lower right spot
    Also:
    Coal/Coal/Coal
    Coal/Coal/Coal
    Stone/Stone/Stone
    -> 1 Iron

    works if i put Coal in the buttom right spot...
     
  4. Offline

    Chaosboylu

    Okay...Got following problem: Downloaded Craftbukkit 740 and tried your plugin,but I keep getting "(Is it up to date?)" my other plugs are working... help! xD and by the way,webs would be nice,too!
     
  5. Offline

    fullwall

    Will have time to look into issues tomorrow.
     
  6. Offline

    Chaosboylu

  7. Offline

    Tealk

    @fullwall
    hi i have write
    #3 Bread
    @Shaped
    296,296,296,;0,0,0,
    296,296,296,;0,0,0,
    296,296,296,;0,0,0,
    297:3:0,

    but i can make with 3 Wheat = 3 Bread
    whats the misstake?
     
  8. Offline

    Thomson

    Here is a little thing that might help you fix this.

    This bug only happens to spots in your crafting grid that are right/below the configured recipe
    1,0,0,;0,0,0,
    0,0,0,;0,0,0,
    0,0,0,;0,0,0,
    allows to put "1" anywhere and you'll get the result
    0,0,0,;0,0,0,
    0,1,0,;0,0,0,
    0,0,0,;0,0,0,
    allows you to put "1" in the bottom right corner (2x2 grid)
     
  9. Offline

    Celtic Minstrel

    By the way, fullwall, my recipe full should fix the issue with furnace recipes having a result stack size other than 1.
     
  10. Offline

    gameguy27

    I'd like to submit my own recipe. The saddle!
    Code:
    # Saddle
    @Shaped
    0,0,0;0,0,0,
    0,334,0;0,0,0,
    287,0,287;0,0,0,
    329:1:0,
    [​IMG]
    Code:
    [img]http://i53.tinypic.com/wvvkmb.png[/img]
     
  11. Offline

    Chuckster

    how do you make it so cobblestone doesnt make stone in the crafting?

    22:26:32 [INFO] [Cookbook]: Error in workbench task. Error is: null. Stack trace: com.fullwall.cookbook.WorkThread.run(WorkThread.java:43)
    22:26:32 [INFO] [Cookbook]: Error in workbench task. Error is: null. Stack trace: com.fullwall.cookbook.WorkThread.run(WorkThread.java:43)
    22:26:32 [INFO] [Cookbook]: Error in workbench task. Error is: null. Stack trace: com.fullwall.cookbook.WorkThread.run(WorkThread.java:43)


    This Clogs up my server and i cant make the stuff i wanted in the crafting box what is wrong? i made the saddle recipe but the other stuff dont work

    I used to be able to do it but now its bugged

    i fixed it one of my recipes was glitched

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 10, 2016
  12. Offline

    fullwall

    To those experiencing recipe issues: please try 1.4.5.
     
  13. Offline

    James Lawrence

    I get the following error when opening the work bench

    running 1.4.4


    then I get on startup when running 1.4.5
     
  14. Offline

    fullwall

    @James Lawrence: looks like you got a bad dl of the jar. Try redownloading from the same link and see if the issue persists.
     
  15. Offline

    James Lawrence

    indeed it was just a bad download, the version was 1.4.4 then I refreshed then it said 1.4.5 so I must of caught it just at the wrong time lol

    everything works now, the repair ones work, some I made work, no errors thanks bunch!
     
  16. Offline

    Chaosboylu

    Okay,keep getting this "Is it up to date" error... though 1.4.5 <.<
     
  17. Offline

    MrMagical

    v1.4.5 is working well except that you can get away with building only the top left part of a shaped recipe.

    Code:
    #9 Slimeball to Sponge
    @Shaped
    341,341,341,;0,0,0,
    341,341,341,;0,0,0,
    341,341,341,;0,0,0,
    19:1:0,
    
    [​IMG]


    Is there a problem implementing a good way to check if the recipe is complete? Why not just add an extra check for shaped recipes which works just like the shapeless one? That way, it would check for both shape and materials. I can't think of any situation where such a process would give a false positive.
     
  18. Offline

    DerEchteNexus

    I checked your code for reading the recipes, fullwall and I have a question:
    Why didn't you use a "regular expression" for that, thats not as complicated as your way(and maybe a little bit faster with older CPUs) I think^^
     
  19. Offline

    Chaosboylu

    okay... it was a problem with my recipe... i hat a clean recipe in it and it wasn't able to start ^^
     
  20. Offline

    Celtic Minstrel

    I was wondering the same thing when I looked at his code. I used regex to parse it in the python script I wrote; it really makes it a lot easier.

    Not to mention that the format is strange (all those extra trailing commas, for instance, and the way the data is separated from the IDs) and does not allow access to the full capabilities of the crafting manager (for example, you can only define 3x3 recipes and it doesn't support true shapeless recipes). Now that it more-or-less works on 1.5, I think a complete rewrite with a new config format might be in order, in time for the next recommended build.
     
  21. Offline

    DerEchteNexus

    I used one too, in the AutoIt-Version of the Recipe Creator...
    But is it possible, that you cannot use commata in a pattern in Java??:eek:
    Whenever I tried a pattern with a comma, it failed to find any matches...
    I'm currently using a modified version of fullwalls code in the Java-Version because of that.
     
  22. Offline

    Celtic Minstrel

    I don't see why it would have a problem with commas. My regexes with commas work just fine, though they're either just a comma (because String.split takes a regex argument) or in a character class.
     
  23. Offline

    marcus

    You just have to put in one of the items needed for a recipe to get the item.
     
  24. Offline

    austin101

    Does this plugin support damage values?

    Meaning if i make a recipe with 1 red, 1 blue and 1 yellow dyes it can make 1 brown dye?
     
  25. Offline

    DerEchteNexus

    Yes it does, do it like this:

    #Brown Dye
    @Shapeless
    351,351,351,;1, 4,11,
    0,0,0,;0,0,0,
    0,0,0,;0,0,0,
    351:1:3,
     
  26. Offline

    Strebelschneck

    I get
    Code:
    [INFO] [Cookbook]: Error in workbench task. Error is: null. Stack trace: net.minecraft.server.ShapelessRecipes.b(SourceFile:50)
    whenever i try one of my recipies ingame (the others work fine).
    Latest bukkit build + latest cookbook. I made the recipies with the gui.
     
  27. Offline

    DerEchteNexus

    Maybe its a bug in the Recipe Creator...
    could you post your recipe file?
     
  28. Offline

    Strebelschneck

    its this one:
    Code:
    #%Name: obsicoal
    @Shapeless
    0,0,0,;0,0,0,
    0,35,0,;0,15,0,
    0,0,0,;0,0,0,
    263:3:0,
     
  29. Offline

    DerEchteNexus

    It works fine for me with Cookbook 1.4.5 and Craftbukkit #759
    Is it only this recipe, or are there others? there could be an error somewhere else in the config^^
     
  30. Offline

    marcus

     
  31. Offline

    DerEchteNexus

    @marcus:
    fullwall knows it, and he will fix it soon, but he has also other things to do.
    you just have to wait for a bugfix...
     

Share This Page