[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

    Avous

    @nickguletskii

    could you make it so you can use different fuels in the furnace for example if i put a diamond as fuel and a diamond pickaxe i could repair said diamond pickaxe.
     
  3. Offline

    nickguletskii

    Heh, not with the recipe manager...
     
    Avous likes this.
  4. Offline

    Avous

    Thanks for the reply! I decided its fine with using coal after all haha
     
  5. Offline

    den

    Trying to transition over from cookbook and I'm confused about the unique id.

    Do the ids matter? What I mean is should I go id 1, 2, 3, 4, down my list of recipes or are there ids that should be avoided (are these ids used in the default minecraft recipes?)
     
  6. Offline

    ShadowDrakken

    from my understanding, the IDs aren't important as long as you don't repeat an ID

    personally, I use the ID of the final product from the crafting as the ID number and it seems to work without a hitch, except when I have 2 recipes that make the same item, then I just add 1000 to the number to move it out of the ID range used within the game XD
     
  7. CookBook is no more Supportet.... I hope you will Support CC veeerry long :)

    It is a great Plugin... but i dont understand the recipelist.yml
    The Tutorial is good.(But i dont understand it) But can you Make an example for an recipe and explain it with the help of it. Or kann you explain it me ? ;)

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

    nickguletskii

    The yml file itself is a giant example.
     
  9. Yes i know. But i dont understand it.... Coud you make an Simple example ?
     
  10. Offline

    nickguletskii

    It is simple...
     
  11. for german guys not...
     
  12. Offline

    Kingadams

    When i try to download from that semi-direct link it gives me 0.3... i thought 0.4 was out
     
  13. Offline

    nickguletskii

    Oups, fixed... I think I just forgot to copy the version with the changed version number, the plugin itself is the same, though I would advise you to redownload it...
     
  14. Offline

    Kingadams

    Re-Downloaded and still getting this.
    This is the only thing in my conig (other than all the instructions)
    Code:
    3:
      Shape:
      - [35/0, 35/0, 35/0]
      - [35/15, 41/0, 35/0]
      - [35/15, 35/0, 35/0]
      Result: 2256
      Quantity: 1
     
  15. Offline

    nickguletskii

    Please read the example with data values in the ingredients. I clearly explained it.
     
  16. Offline

    Kingadams

    Thanks i so didnt see i had to add DataValues: abc to it :v. Very nice plugin tho, thanks!
     
  17. Offline

    Celtic Minstrel

    Do you use the ID number (the main key) for anything other than grouping the information for each recipe? Could I use textual keys instead?
     
  18. Offline

    nickguletskii

    Changing it right now - a very good suggestion.
     
  19. Offline

    TheClaus

    I was wondering if there is a way to tell it to use a specific color of wool for recipes. I have a recipe for creating pumpkins out of wool and seeds and if I do orange wool it doesn't work but if I do white it works. I looked at the data value of orange wool and white and it is the same.

    Am I missing something?
     
  20. Offline

    nickguletskii

    Everything works for me - I was specifically testing wool and dyes. Are you sure you are doing everything right?
     
  21. Offline

    TheClaus

    Here is my recipe. I am sure I am missing something silly but not sure.

    1007:
    Shape:
    - [35, 35, 35]
    - [35, 295, 35]
    - [35, 35, 35]
    Result: 86
    Quantity: 1
     
  22. Offline

    nickguletskii

    You need to add data values to check for wool colours.
     
  23. Offline

    TheClaus

    So you are saying it should be like this.

    - [35/1, 35/1, 35/1]
    etc...

    Correct?
     
  24. Offline

    Kingadams

    Suggestion:

    Make it so we can use data-values in furnaces..

    Like the redwood so it will just be redwood smelting into cocobeans not both woods.
     
  25. Offline

    nickguletskii

    Yep.
    I can't find what causes it not to work. PLEASE read the file.
    EDIT: Found it, it isn't my problem.
    Code:
            FurnaceRecipes.a().a(input.getItemTypeId(), new net.minecraft.server.ItemStack(id, amount, dmg));
    
     
  26. Offline

    emoknight

    Code:
    2011-06-01 12:08:26 [INFO] Loaded CustomCrafting by nickguletskii200.
    2011-06-01 12:08:26 [SEVERE] Error occurred while enabling CustomCrafting v0.5 (Is it up to date?): null
    java.lang.NullPointerException
    at nickguletskii200.CustomCrafting.CustomCrafting.rotateArray(Unknown Source)
    at nickguletskii200.CustomCrafting.CustomCrafting.doShaped(Unknown Source)
    at nickguletskii200.CustomCrafting.CustomCrafting.onEnable(Unknown Source)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:134)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:339)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    using cb818
     
  27. Offline

    nickguletskii

    Caused by a bad config file. Check it for mistakes.
     
  28. Offline

    emoknight

    Code:
    # crafting recipe
    moss:
      Shape:
      - [3]
      - [4]
      Result: 48
      Quantity: 1
      Type: Shaped
    1to4:
      Shape:
      - [1]
      Result: 4
      Quantity: 1
      Type: Shaped
    netherblock:
      Shape:
      - [319, 319, 319]
      - [319, 319, 319]
      - [319, 319, 319]
      Result: 87
      Quantity: 1
      Type: Shaped
    bkfrom-netherblock:
      Shape:
      - [87]
      Result: 319
      Quantity: 9
      Type: Shaped
    sponge:
      Shape:
      - [13]
      - [12]
      Result: 19
      Quantity: 1
      Type: Shaped
    76to75:
      Shape:
      - [76]
      Result: 75
      Quantity: 1
      Type: Shaped
    grass:
      Shape:
      - [295]
      - [3]
      Result: 75
      Quantity: 1
      Type: Shaped
    soulsand:
      shape:
      - [3, 3, 3]
      - [3, 12, 3]
      - [3, 3, 3]
      Result: 88
      Quantity: 4
      Type: Shaped
    powerrails:
      shape:
      - [331]
      - [266]
      - [66]
      Result: 27
      Quantity: 1
      Type: Shaped
    web:
      shape:
      - [287, 287]
      - [287, 287]
      Result: 30
      Quantity: 1
      Type: Shaped
    # furnace recipe
    318:
      Result: 318
      Quantity: 1
      Source: 13
      Type: Furnace
    
    DO NOT SEE any mistakes
     
  29. Offline

    nickguletskii

    Capitalisation matters.
     
  30. Offline

    m5k

    is it possible to set a custom crafting recipe to be just as a regular one and make it give nothing? For example, I try to make a diamond pick but I can't.
    If that was possible plus permissions, this plugin could be the revolution of rpg servers.
     
  31. Offline

    nickguletskii

    No, it would not be possible without going lower.
     

Share This Page