[MISC] CustomCrafting V0.6- add custom crafting and furnace recipes [1060]

Discussion in 'Inactive/Unsupported Plugins' started by nickguletskii, May 2, 2011.

  1. Offline

    nickguletskii

    CUSTOMCRAFTING HAS A NEW HOME!
    Mod Edit (Butkicker12): Removed link.

    THIS PLUGIN WAS MADE BY ME BECAUSE I DIDN'T KNOW ABOUT COOKBOOK AT THE TIME! PLEASE CHECK OUT COOKBOOK BY FULLWALL!
    CREDIT GOES TO @Celtic Ministrel FOR MAKING A COOL RECIPE API!
    CustomCrafting - a plugin that can be used for creating custom crafting recipes.
    Version: 0.6

    Features:
    • Adds custom crafting recipes.
    • Adds custom furnace recipes.
    Download:

    Semi-Direct
    Source
    Recipe creator by @DerEchteNexus
    Installing & configuring:
    Extract into the plugins directory. Then read CustomCrafting/recipelist.yml for further instructions.
    Changelog:
    Version 0.6
    • Damned recipe manager! Fixed all those problems with data values and stuff.
    Version 0.5

    • Now unique recipe IDs can be strings. Thanks to @Celtic Ministrel for the idea!
    • 0.5_1 bugfixed
    Version 0.4


    • Fixed data and damage.
    Version 0.3


    • Added shapeless and furnace recipes.
    • Added data and damage.
    Version 0.2


    • Fixed spaces.
    Version 0.1


    • Released.
     
    moselekm, killacalli, Flipp and 3 others like this.
  2. Offline

    likasumbood33

    HEY YOU STUPID FUCKING CUNT. LEARN HOW TO MAKE A README. I CAN SHIT PAINT AT HIGH VELOCITY AND THAT MAKES MORE SENSE THAN YOUR SAD EXCUSE FOR A README. KILL YOURSELF, BUT FIRST, PLEASE, FOR THE LOVE OF GOD, MAKE THE LAST MINUTES OF YOUR LIFE MEANINGFUL BY MAKING A USEFUL README.
     
  3. Offline

    kahlilnc

    Um wow his README was pretty detailed and was pretty much self explanatory. If you did not understand something why not ask the man instead? (or lady) :confused:
     
  4. Offline

    nickguletskii

    Yes, you shouldn't place the generator into the plugins dir, or you will have trouble.
    This plugin will not work properly if you changed the recipes and reloaded. You need to restart the server, sorry.
     
  5. Offline

    coolgazaboi

    I've been using this plugin for ages now and I was wondering, can you make it so you can craft with coloured wool or dyes please it would be great for me and my friends on my server ?
     
  6. Offline

    nickguletskii

    Yep, it is explained in the config :p
     
  7. Offline

    Trollkemada

  8. Offline

    nickguletskii

  9. Offline

    Trollkemada

  10. Offline

    nickguletskii

    The examples explain it.
     
  11. Offline

    Trollkemada

  12. Offline

    hatninja

    it wont work D: heres the error anybody know what it means?
    21:23:33 [SEVERE] Error occurred while enabling CustomCrafting v0.6 (Is it up to date?): For input string: ""
    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:470)
    at java.lang.Integer.valueOf(Integer.java:554)
    at nickguletskii200.CustomCrafting.CustomCrafting.data(Unknown Source)
    at nickguletskii200.CustomCrafting.CustomCrafting.doShapeless(Unknown Source)
    at nickguletskii200.CustomCrafting.CustomCrafting.onEnable(Unknown Source)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  13. Offline

    nickguletskii

    Error in configuration.
     
  14. Offline

    hatninja

    well i used the recipe creator then how could there be a error?
     
  15. Offline

    nickguletskii

    Check the configuration manually.
     
  16. Offline

    moselekm

    This is friggin awesome.

    I was wondering if it is possible to set recipes to REQUIRE a certain amount of the reagent in the recipe. Like 4 pieces of coal in the center block.

    And also, when I use buckets of water and lava in the recipe, it returns the buckets. Is it possible to have it not return the buckets?
     
  17. Offline

    Celtic Minstrel

    Not possible with the current API nor with Minecraft's vanilla recipe manager.

    Short answer: No.

    The longer answer is that whether to return the bucket is a global setting that applies to a single item across all recipes. That means that you could have water buckets return the bucket and lava buckets not return the bucket, but you can't have some recipes where water buckets return the bucket and others where water buckets do not return the bucket.

    Besides all that, this plugin doesn't support changing whether to return the bucket.
     
  18. Offline

    Dothackking

    http://pastebin.com/D7PQuz9F


    I'm having problems, none of my custom recipes are working.

    "beer" works

    EDIT: I have discovered that NOTHING using 289 SULPHUR or 265 (IRON BAR) work.

    Others may or may not. Any ideas?

    I have NoCraft set to disable some of these, but not all of them.
     
  19. Offline

    nickguletskii

    Oh my god, are you joking me? There are so many mistakes... -_-
     
  20. Offline

    Dothackking

    lol are there really? I'll look at it. xD I deleted the examples because they were being used by the server.

    I must be stupid, but they seem to be formatted the same (The ones that work and the ones that don't). I changed them over to:
    http://pastebin.com/fXSvh5Lr


    Edit: I completely, from scratch, by hand, redid them all. They now seem to be..reversed, as to which ones work and which ones don't.
    http://pastebin.com/7xx0nwdb <---ONLY gunpowder seems to work on this one. I realize two of them are conflicting with built in MC recipes, but I'm changing those...once I can figure out what I"m doing wrong.


    Can you give me advice as to what I'm doing wrong?
     
  21. Offline

    nickguletskii

    Yet again, you are making the same mistake... Look at the examples carefully.
     
  22. Offline

    Dothackking

    I am not seeing anything. I even edited the standard one, then copy pasted it. Even the edited one didn't work.

    The funny thing is I have config'd over 60 plugins for bukkit servers, and yours is the only one I can't seem to figure out my mistake on. :(


    Edit: I used the recipe maker on your first post and it worked great.
     
  23. Offline

    LTK

    Is it possible to have this mod overwrite existing recipes? I tried switching recipes for slabs and pressure plates, but the default recipes persist. Could this functionality be added in the future?
     
  24. Offline

    Dothackking

    Show Spoiler

    #%Name: leather
    200:
    Result: 334
    ResultDamage: 0
    Quantity: 2
    Shape:
    - [4/0, 4/0, 4/0]
    - [4/0, 265/0, 4/0]
    - [4/0, 4/0, 4/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: egg
    201:
    Result: 344
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [4/0, 4/0, 4/0]
    - [4/0, 264/0, 4/0]
    - [4/0, 4/0, 4/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: gunpowder
    202:
    Result: 289
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [4/0, 24/0, 4/0]
    - [4/0, 24/0, 4/0]
    - [4/0, 24/0, 4/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: glowstone
    203:
    Result: 89
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [20/0, 20/0, 20/0]
    - [20/0, 50/0, 20/0]
    - [20/0, 20/0, 20/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: nether
    204:
    Result: 87
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [4/0, 4/0, 4/0]
    - [4/0, 263/0, 4/0]
    - [4/0, 4/0, 4/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: beer
    205:
    Result: 335
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [20/0, 326/0, 20/0]
    - [20/0, 296/0, 20/0]
    - [20/0, 296/0, 20/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: bones
    206:
    Result: 352
    ResultDamage: 0
    Quantity: 3
    Shape:
    - [20/0, 4/0, 20/0]
    - [4/0, 289/0, 4/0]
    - [20/0, 4/0, 20/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: ink
    207:
    Result: 351
    ResultDamage: 0
    Quantity: 12
    Shape:
    - [87/0, 289/0, 87/0]
    - [87/0, 289/0, 87/0]
    - [87/0, 87/0, 87/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: dye
    208:
    Result: 351
    ResultDamage: 7
    Quantity: 12
    Shape:
    - [87/0, 289/0, 87/0]
    - [87/0, 87/0, 87/0]
    - [87/0, 87/0, 87/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: string
    209:
    Result: 287
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [0/0, 289/0, 0/0]
    - [289/0, 264/0, 289/0]
    - [0/0, 289/0, 0/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: arrow
    210:
    Result: 262
    ResultDamage: 0
    Quantity: 20
    Shape:
    - [289/0, 289/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: bow
    211:
    Result: 261
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [265/0, 289/0, 289/0]
    - [265/0, 0/0, 0/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: dagger
    212:
    Result: 291
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [289/0]
    - [289/0]
    - [334/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: blade
    213:
    Result: 294
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [289/0]
    - [289/0]
    - [266/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: pumpkin
    214:
    Result: 86
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [265/0, 265/0, 265/0]
    - [265/-1, 50/0, 265/0]
    DataValues: DerEchteNexus
    Type: Shaped

    #%Name: bucket
    215:
    Result: 325
    ResultDamage: 0
    Quantity: 1
    Shape:
    - [20/0, 0/0, 20/0]
    - [20/0, 0/0, 20/0]
    - [20/0, 20/0, 20/0]
    DataValues: DerEchteNexus
    Type: Shaped


    I generated this one. Half of the recipes work, half don't. It seems like the ones disallowed in NoCraft do not work. But what's to keep them from crafting them the standard way?
     
  25. Offline

    Celtic Minstrel

    Probably; removing recipes in a logical way is not easy, though. I started working on that and stalled awhile back.
     
  26. Offline

    sfxworks

    If I make a recipe for an item that already has one, can it override it? For instance, can it get rid of the standard one and have this be the only way to make it?


    For example, Normally 1 smoothstone = 1 cobblestone. But can I make it so that 1 smoothstone = 1 coal and make it so that you can't craft a smoothstone with a cobblestone?
     
  27. Offline

    Celtic Minstrel

    In your specific case, yes; you should be able to override furnace recipes.
     
  28. Offline

    GLaDOS_9000

    not working......
     
  29. Offline

    nickguletskii

    Cool.
     
  30. Offline

    Celtic Minstrel

    Yes, because that's such a helpful way for us to know what's wrong.
     
  31. Offline

    westerhack

    whats wrong with this...
    cobweb:
    Shape:
    - [287, 0, 287]
    - [0, 287, 0]
    - [287, 0, 287]
    Result: 30
    Quantity: 3
    fire:
    Shape:
    - [331, 35:14, 35:4]
    - [34:14, 287, 287]
    - [10, 10, 10]
    Result: 51
    Quantity: 3
     

Share This Page