[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

    Sphax

    I get the following error :
    Code:
    21:48:19 [INFO] Loaded CustomCrafting by nickguletskii200.
    21:48:19 [GRAVE] null loading CustomCrafting v0.3 (Is it up to date?)
    java.lang.NullPointerException
            at nickguletskii200.CustomCrafting.CustomCrafting.doShapeless(Unknown So
    urce)
            at nickguletskii200.CustomCrafting.CustomCrafting.onEnable(Unknown Sourc
    e)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:676)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:249)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    Help ? :s
     
  3. Offline

    Deathly

    Seems like you are loading the old Version 0.3, try getting 0.4

    @Sphax :)
     
  4. Offline

    Sphax

    The problem is that I've installed the last version today... :\
     
  5. Offline

    QQCucumber

    @nickguletskii Are you familiar with the official cake recipe? I'm curious if CustomCrafting could do what that does, using a bucket of milk leaving the bucket behind after the result is made.

    Also, was a reload function ever put in?
     
  6. Offline

    ShadowDrakken

    I tested bucket recipes recently and it does return the empty bucket :)
    haven't tested bowls, but I assume thesame
     
  7. Offline

    nickguletskii

    Looks like you have a mistake in the config ;)
    No, sorry, not yet...
     
  8. Offline

    QQCucumber

    @nickguletskii Found a glitch. I wanted to make it so my players could make brown wool without needing to get coco beans.

    # Brown Wool (Orange Dye + Black Dye + 2 Wool)
    24:
    Result: 35
    Quantity: 2
    Materials: {351: 1/14, 351: 1/0, 35: 2/0}
    Type: Shapeless
    ResultDamage: 12
    DataValues: abc

    The black dye entry (351: 1/0) seems to overwrite the orange dye entry (351:1/14). So you can't have the same item in twice with different data values. Might work in shaped, going to try that now.

    Looks like it bugs out with shaped too. It will ignore the first data value and only match up with the second. So if I do this..

    24:
    Shape:
    - [351/0, 351/14]
    - [35/0, 35/0]
    Result: 35
    Quantity: 2
    Type: Shaped
    ResultDamage: 12
    DataValues: abc

    It will require two orange dyes along the top rather than a black and an orange.

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

    nickguletskii

    I'll investigate tomorrow... Doesn't look like it is caused by my plugin though...
     
  10. Offline

    Hyphe

    Does it work with 766?
     
  11. Offline

    nickguletskii

    Yes. But still can't find the problem with data values...
     
  12. Offline

    noneandnonly

    Why does something like
    25:
    Shape:
    - [287: 5, 0, 287: 5]
    - [0, 341: 1, 0]
    - [287: 5, 0, 287: 5]
    Result: 30
    Quantity: 1

    not work?

    And somehow this doesn't work either:

    25:
    Result: 30
    Quantity: 1
    Materials: {287: 20, 341: 1}
    Type: Shapeless

    Edit: Would be great if you could implement these ;)

    By the way: I'm also getting that my CustomCrafting isn't up to date and 0.3 is loaded. So please reupload, because I tried both mirrors and deleted all the files before I reinstalled them again.

    I don't know how to do that, so could you maybe tell me if there's another way?
    Thanks anyways for the GREAT plugin =)
     
  13. Offline

    nickguletskii

    Firstly, it is
    - [287/5, 0/0, 287/5]
    - [0/0, 341/1, 0/0]
    - [287/5, 0/0, 287/5]
    Secondly, string and slimeballs don't have data values. Thirdly, you didn't install it correctly. Works fine for me.

    Okay... Fixed data values in shapeless and shaped recipes. @QQCucumber

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

    m4a1psg1

    2011-05-15 18:46:04 [SEVERE] java.net.SocketException: Software caused connection abort: socket write error
    2011-05-15 18:46:04 [SEVERE] at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-05-15 18:46:04 [SEVERE] at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-05-15 18:46:04 [SEVERE] at java.net.SocketOutputStream.write(Unknown Source)
    2011-05-15 18:46:04 [SEVERE] at java.io.DataOutputStream.write(Unknown Source)
    2011-05-15 18:46:04 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:120)

    got this error...
     
  15. Offline

    nickguletskii

    Nothing to do with my plugin.
     
  16. Offline

    noneandnonly

    I wanted to change amount, not data value. So it only works if you're using 5 strings in the edged.
    That was my aim :D
    Is there a solution to that or is there no way to do that?!
     
  17. Offline

    nickguletskii

    So... A 3d recipe? Sorry, but this plugin provides Minecraft's crafting manager bridge which doesn't support them...
     
  18. Offline

    QQCucumber

    What he's wanting is for the recipe to be able to take more than one item from a crafting slot, which as far as I know, isn't possible.
     
  19. Offline

    Elvis

    Jerk, why do you developers have to be so damn smart :p
     
  20. Offline

    noneandnonly

    Nope. I'm talking about using 5 blocks instead of one, but as I saw all minecraft recipes are made out of one block. So every crafting slot CAN only handle ONE block, not multiple.
    I wanted to change the amount of blocks to get the result. Like 5* Slimeball --> 1 String (just an example). But I think you can't change anything about that, notch has to do it, I think.

    But I'm using the plugin for my server and it's working great. Also the ResultDamage :)
    Thanks sooo much for this plugin.
     
  21. Offline

    nickguletskii

    Yeah, that is what I am talking about. Anyway, thanks for your feedback! :)
     
  22. Offline

    noneandnonly

    Could you maybe fix the problem that you cannot modify already loaded recipes?
    So if I change ID 26 or something like that and reload the server, it doesn't reload this recipe. If I add a new one, it works. So I always have to restart the server all the time to modify a recipe.
    Pretty annoying and would be cool if that's fixable ;)

    Still using the plugin and having many recipes in use already :D
     
  23. Offline

    nickguletskii

    No, it is limited by the crafting manager.
     
  24. Offline

    ShadowDrakken

    hrm, do separate recipes need to be made for coal vs charcoal, or does the game treat them as being the same? for instance, if I wanted to create a shaped recipe of 9 coal/charcoal to create 1 diamond, could the 9 spots be a random mix of either, or would every possible combination need to be coded?
     
  25. Offline

    nickguletskii

    Use data value -1.
     
  26. Offline

    Celtic Minstrel

    Hm, this looks like a worthy successor to Cookbook, though I'm not sure I like the use of YAML. Still, it's better than Fullwall's custom format. I'll have to update my parser to work with your format, sometime.

    Minecraft will leave behind the bucket for any recipe that uses a bucket of something.

    While a reload function would be nice, it would also pollute the recipe list with duplicates at the moment.
     
  27. Offline

    nickguletskii

    Well, I like JSON but I already had a preset for YAML so I decided to use it. Thank you for your recipe API by the way.
     
  28. Offline

    riuthamus

    So is this going to actually be kept up? I hate biting on a plugin and having it dropped a few weeks later! :p I would love a custom recipe plugin though.
     
  29. Offline

    nickguletskii

    Yes, it is going to be kept up... It isn't like there will be a lot of changes to the Bukkit API that will break this...
     
  30. Offline

    riuthamus

    You never know, but that is good to hear. Ill install it tonight and start messing with it!
     
  31. Offline

    Eggplant!

    We're all counting on you now that Cookbook is dead.

    No pressure.
     

Share This Page