[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

    DerEchteNexus

    suggest things, that you want me to add!
     
  3. Offline

    Ragor

    Timer for the furnace recipes, to set how much time needs to be cooked, and posibility to add other items has fuel and set his fire-length...:cool:
     
  4. Offline

    nickguletskii

    Yes, easily. Set the source data to -1.
    Not possible currently.

    If I remember it correctly, it is
    Code:
    ipickbar:
      Result: 265
      Quantity: 2
      Source: 257
      SourceData: -1
      Type: Furnace
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 14, 2016
  5. Offline

    Celtic Minstrel

    Um, isn't source data ignored for furnace recipes and always treated as if it were -1?
     
  6. Offline

    nickguletskii

    And now?
     
  7. Offline

    den

    2011-07-25 00:51:27 [INFO] Loaded CustomCrafting by nickguletskii200.
    2011-07-25 00:51:27 [SEVERE] Error occurred while enabling CustomCrafting v0.6 (Is it up to date?): null
    java.lang.NullPointerException
    at nickguletskii200.CustomCrafting.CustomCrafting.doFurnace(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)

    Getting this on craftbukkit 1000
     
  8. Offline

    Tama-kun

    Did the update by chance kill your current CustomCrafting folder? This happend to me an it causes the plugin to crash, just look for it.
     
  9. Offline

    nickguletskii

    You missed a node.
    No, everything works fine.
     
  10. Offline

    Nader

    im sorry if this has already been asked, but is this plugin reliant on permissions, if it isn't, can it use permissions (as in, only specific groups can craft an item etc). Thanks for this awesome plugin :cool:
     
  11. Offline

    nickguletskii

    No, and no.
     
  12. Offline

    microskies

    Okay, i've tried so many things, though it was a missed out comma at first but it wasn't.
    Can you please tell me what's wrong with this? I am only able to make a chain helmet (top one):

    Code:
    chainh:
      Shape:
      - [263, 263, 263]
      - [263, 0, 263]
      - [0, 0, 0]
      Result: 302
      Quantity: 1
    chestchain:
      Shape:
      - [263, 0, 263]
      - [263, 263, 263]
      - [263, 263, 263]
      Result: 303
      Quantity: 1
    legschain:
      Shape:
      - [263, 263, 263]
      - [263, 0, 263]
      - [263, 0, 263]
      Result: 304
      Quantity: 1
    bootschain:
      Shape:
      - [0, 0 0]
      - [263, 0, 263]
      - [263, 0, 263]
      Result: 305
      Quantity: 1
     
  13. Offline

    nickguletskii

    Any exceptions?
     
  14. Offline

    microskies

    Nevermind, apparently adding a line break between each recipe worked... :)
     
  15. Offline

    Celtic Minstrel

    @microskies – You might also want to remove the two [0, 0, 0] lines.
     
  16. Offline

    microskies

    Ah right yeah, I didn't really think of that till you said, thanks!
     
  17. Offline

    Trollkemada

    Hey! It does just what i want. thanks for the work :)
     
  18. Offline

    Kainzo

    @nickguletskii - is there a way to add permission nodes to specific crafting nodes to each recipe?
     
  19. Offline

    nickguletskii

    No, as this plugin utilises the Minecraft recipe manager.
     
  20. Offline

    akeif

    @nickguletskii
    Do you plan to keep updating the plugin? It's a way lot better than Cookbook (wich doesnt work with some recent plugins).
    Is there a way to override minecraft recipe. Exemple : Get 64 rails instead of 16.
    I've added the minecraft recipe for rails (same recipe) and added 64 rails as a result but it still give me 16 rails.

    Thanks by the way! The plugin is awesome!
     
  21. Offline

    nickguletskii

    Not yet.
     
  22. Offline

    kahlilnc

    Hm would it be possible to add permissions support to this?
     
  23. Offline

    nickguletskii

    Nope.
     
  24. Offline

    Haloflooder

    Hi! For some reason when I make grass craftable with 1 dirt and 1 seed. it doesn't give me a grass block, it gives me 1 block of obsidian. this is my formula.
    Code:
    #%Name: Grass
    235:
    Result: 2
    Quantity: 1
    Materials: {295: 1/0, 3: 1/0}
    DataValues: DerEchteNexus
    Type: Shapeless
     
  25. Offline

    tacozmeister

    Hello! This plugin would be amazing, if I could get it to work. Um, perhaps you could help me? I probably screwed up the YAML file. First, I got a server error, I can't even initialize your plug-in!

    The console error is as follows, in smaller font, so I don't flood the place.
    Error occrued while enabling CustomCrafting v0.6<Is it up to date?>: null java.lang.NullPointerException
    at nickguletskii200.CustomCrafting.CustomCrafting.doShapeless<Unknown Source>
    at nickguletskii200.CustomCrafting.CustomCrafting.doEnable<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)

    Any idea what I did wrong in my YAML file posted below?

    Code:
    1: #Chainmail boots
      Shape: #Iron, air, iron
      - [265, 0, 265]
      Result: 305
      Quantity: 1
    
    2: #Chainmail shirt
      Shape: #Iron, air, iron.            Air, iron, air.        Air, iron, air
      - [265, 0, 265]
      - [0, 265, 0]
      - [0, 265, 0]
      Result: 303
      Quantity: 1
    
    3: #Chainmail legs
      Shape: #Air, iron, air        #Iron, air, Iron
      - [0, 265, 0]
      - [265, 0, 265]
      Result: 304
      Quantity: 1
    
    4: #Chainmail helmet
      Shape:
      - [0, 265, 0] #Air, iron air
      Result: 303
      Quantity: 1
    
    5: #Log
      Shape:  #3x3 planks
      - [5, 5, 5]
      - [5, 5, 5]
      - [5, 5, 5]
      Result: 17
      Quantity: 2
    
    6: #Cobble
      Result: 4
      Quantity: 1
      #Stone to Cobblestone
      Materials: {1: 1}
      Type: Shapeless
    
    7: #Gunpowder
      Shape: #3x3 gravel
      - [13, 13, 13]
      - [13, 13, 13]
      - [13, 13, 13]
      Result: 337
      Quantity: 1
    
    8: #Flint
      Shape: #2x2 gravel
      - [13, 13]
      - [13, 13]
      Result: 318
      Quantity: 1
    
    9: #Coal
      Shape: #3 wide, 2 high gravel
      - [13, 13, 13]
      - [13, 13, 13]
      Result: 263
      Quantity: 1
    
    10: #Ink
      Shape: #Square coal 2x2 , , , and maybe charcoal
      - [263, 263]
      - [263, 263]
      Result: 351
      Quantity: 8
    
    11: #Saplings
      Shape: #3x3 Leaves
      - [18, 18, 18]
      - [18, 18, 18]
      - [18, 18, 18]
      Result: 6
      Quantity: 2
    
    12: #Leaves
      Shape: #3x3 saplings
      - [6, 6, 6]
      - [6, 6, 6]
      - [6, 6, 6]
      Result: 18
      Quantity: 16
    
    13: #Leather
      Result: 334
      Source: 35
      Type: Furnace
      Quantity: 1
    
    14: #Bones
      Result: 352
      Quantity: 1
      Shape: #3 high, 2 across gravel
      - [13, 13]
      - [13, 13]
      - [13, 13]
    
    15: #Stick
      Result: 280
      #One plank = two sticks
      Materials: {5: 1}
      Type: Shapeless
      Quantity: 2
    
    16: #Sand
      Result: 12
      #One sandstone = 4 sand
      Materials: {24: 1}
      Type: Shapeless
      Quantity: 4
    
    17: #Jukebox
      Result: 84
      Shape: #Plank, plank, plank     Plank, Gold Record, Plank (No one likes the gold one anyway)        Plank, plank, plank
      - [5, 5, 5]
      - [5, 2256, 5]
      - [5, 5, 5]
      Quantity: 1
    
    18: #Web
      Result: 30
      Shape: #2x2 string = 1 web
      - [287, 287]
      - [287, 287]
      Quantity: 1
    
    19: #String
      Result: 287
      #One web = 4 string
      Material: {287: 1}
      Quantity: 4
      Type: Shapeless
    
    20: #Brick
      Result: 45
      Shape: #Cobblestone X, fill the rest with stone
      - [4, 1, 4]
      - [1, 4, 1]
      - [4, 1, 4]
      Quantity: 2
    
    21: #Redstone Ore
      Result: 73
      Type: Shapeless
      Quantity: 1
      #5 Redstone and 1 stone, anywhere
      Materials: {1: 5, 331: 1}
    
    22: #Diamond Ore
      Result: 56
      Type: Shapeless
      Quantity: 1
      #1 stone and 1 diamond
      Materials: {1: 5, 264: 1}
    
    23: #Clay balls
      Result: 337
      Quantity: 4
      #3 clay balls and 1 soul sand
      Materials: {337: 3, 88: 1}
      Type: Shapeless
    
    24: #Arrows
      Result: 262
      Shape: #Top -> Bottom    Iron, stick, feather
      - [265]
      - [280]
      - [288]
      Quantity: 4
    
    25: #Rails
      Result: 66
      Shape: #Log, air, log    Iron, plank, iron    Log, air, log
      - [17, 0, 17]
      - [265, 5, 265]
      - [17, 0, 17]
      Quantity: 16
    
    26: #Iron ingots
      Result: 265
      Shape: #Ring of iron + lava with bucket therein. Yields an extra iron ingot!
      - [15, 15, 15]
      - [15, 327, 15]
      - [15, 15 15]
      Quantity: 12
    
    27: #Bread
      #Bake bread! Easy-bake furnace! 1 wheat = 1 bread
      Result: 297
      Type: Furnace
      Source: 296
      Quantity: 1
    
    28: #Grass
      Result: 2
      Shape: #Cross of seeds with dirt in the middle
      - [0, 295, 0]
      - [295, 3, 295]
      - [0, 295, 0]
      Quantity: 1
    
    29: #Gold disk
      Result: 2256
      Quantity: 1
      Shape: #3x3 iron ingots, with gold block in the center
      - [265, 265, 265]
      - [265, 41, 265]
      - [265, 265, 265]
    
    30: #Green disk
      Result: 2257
      Quantity: 1
      Shape: #3x3 iron ingots, with lapis block in the center
      - [265, 265, 265]
      - [265, 22, 265]
      - [265, 265, 265]
    
    31: #Ice
      Result: 79
      Shape: #Ring of snowballs, with water and bucket in the center
      - [332, 332, 332]
      - [332, 326, 332]
      - [332, 332, 332]
      Quantity: 1
    
    32: #Snow drift
      Result: 78
      Shape: # Snowball, snowball
      - [332, 332]
      Quantity: 1
    
    33: #Feathers
      #Incubate an egg and hatch it, and kill the chicken for fresh, clean feathers!
      Result: 288
      Quantity: 4
      Type: Furnace
      Source: 344
    
    34: #Map
      #Doesn't waste paper. Requires only an ink sac (or other dye) and 1 sheet of paper.
      Result: 358
      Quantity: 1
      Type: Shapeless
      Materials: {351: 1, 339: 1}
    
    35: #Jack-o-lantern
      #Glowstone under a pumpkin!
      Result: 91
      Quantity: 1
      Shape:
      - [86]
      - [348]
    
    36: #Lava
      #Melt obsidian back to lava! Put a lava bucket over obsidian and then have a bucket to collect it!
      Result: 327
      Quantity: 2
      Shape:
      - [327]
      - [49]
      - [325]
    
    #obsidian: #Obsidian can be useful now! Smelt it into gold ingots
    #  Result: 266
    #  Type: Furnace
    #  Source: 49
    #  Quantity: 1
    
    38: #Tnt
      Result: 46
      Quantity: 1
      Shape: # A cross of gunpowder, flint & steel at bottom part of cross, and dirt all around. Saves 1 gunpowder! 20% more TNT!
      - [3, 289, 3]
      - [289, 289, 289]
      - [3, 259, 3]
    
    39: #Saddle
      Result: 329
      Quantity: 1
      Shape: #String, air, string    Leather, leather, leather    Iron air iron
      - [287, 0, 287]
      - [334, 334, 334]
      - [265, 0, 265]
    
    #soulsand: #Ring of netherrack and a bucket of water in the center. That's what makes soul sand, right?
    #  Result: 88
    #  Quantity: 10
    #  Shape:
    #  - [87, 87, 87]
    #  - [87, 326, 87]
    #  - [87, 87, 87]
    
    40: #Torch with glowstone instead of coal! Reminds me of the Aether mod.
      Result: 50
      Quantity: 4
      Shape:
      - [348]
      - [280]
    
    41: #Make a sign the real way! Ink on top of a plank, with a stick underneath.
      Result: 323
      Quantity: 1
      Shape:
      - [351]
      - [5]
      - [280]
      
    Oh, and I tried initially with the IDs (for example, 41 is a Sign) as words, but it came up with the error, too. I looked at your original config and it had numbers, so I tried that.
     
  26. Offline

    nickguletskii

    In shapeless recipes, it is "Materials" not "Material".
     
  27. Offline

    tacozmeister

    Thank you!! =D
    EDIT: Still doesn't work...
     
  28. Offline

    Haloflooder

    Please help me D: Scroll up and you'll find my post. you didn't answer it yet D:
     
  29. Offline

    nickguletskii

    Eeh, what is the error now?
    Oh, sorry... Didn't see it :(

    Maybe you have a duplicate recipe? Might be caused by other recipe having the same ingredients.
     
  30. Offline

    tacozmeister

    The error is still the same, with that code. I tried using the generator that someone posted, but I get a different error about not being able to locate plugin.yml inside the .jar

    I think it doesn't like me xD

    EDIT: NO ERROR WITH GENERATOR! I gotta test it still. It just thinks that MCRC is an actual plugin. Thank you for everything! I love this plugin! Please continue updating it, this is great :)
     
  31. Offline

    Haloflooder

    The problem fixed itself after I restarted my server 10 times. lol.
     

Share This Page