4
Minecraft / Blogs

How to Craft With dye in mods

Collectable

Get Embed Codes

Forum:
HTML:
Link:
avatar
Minivikke
Level 17 : Journeyman Ninja
26
Hey there im Vikke and i want to show you how to craft with dye in you'r mods :-D

First you need eclipse and mcp to mod with.

7dsruSjEs7Q


And when you have done that you are ready to mod :-D

Now go to CraftingManager nad begin to code

Now how you add a dye :-D

Crafting


  1. ModLoader.AddRecipe(new ItemStack(Itemname, numberyouwantcrafted), new Object[] {

  2. " X ", "X X", " X ", Character.valueOf('X'), new ItemStack(Item.dyePowder, 1, damageValueOfTheDyeYouWant)

  3. });



  4. Dye Values:



  5. 0: Ink sac

  6. 1: Rose Red

  7. 2: Cactus Green

  8. 3: Cocoa Beans

  9. 4: Lapis Lazuli

  10. 5: Purple dye

  11. 6: Cyan dye

  12. 7: Light gray dye

  13. 8: Gray dye

  14. 9: Pink dye

  15. 10: Lime dye

  16. 11: Dandelion Yellow

  17. 12: Light Blue dye

  18. 13: Magenta dye

  19. 14: Orange dye

  20. 15: Bone Meal

Comments : 14

Join us to post comments.

Show Comments

1 - 14 of 14

  • Bluerossman
  • Level 2
  • Apprentice Network
  • January 15, 2014, 12:36 pm
Incredibly usefull. I'm only here for the the dye values (i.e 0 = Black) but thank you.
  • Gear-Beast
  • Level 5
  • Apprentice Artist
  • November 6, 2013, 4:16 pm
it doesnt work. help,
GameRegistry.addShapelessRecipe(new ItemStack(BrickBlock,1), new Object[]{
Block.Cobblestone, Item.dyepowder, 1, 15 });
FINALLy
Thanks for the code.
Now my chocalate milk mod is complete.
  • casper033
  • Level 73
  • Legendary Artist
  • May 5, 2013, 3:00 am
Thanks! =D
  • dennis0496
  • Level 12
  • Journeyman Engineer
  • April 1, 2012, 8:23 am
cpoool
What eclipse do I need? There is more then just the minecraft eclipse.
  • Minivikke
  • Level 17
  • Journeyman Ninja
  • April 1, 2012, 7:34 am
eclipse EE
k tnx
  • The_Steve13
  • Level 47
  • Master Baconator
  • April 1, 2012, 5:47 am
Thank you so much! This will make my mod a 1000 times better! Diamond for you!
  • Minivikke
  • Level 17
  • Journeyman Ninja
  • April 1, 2012, 7:34 am
ty and NP :-D
  • Space-steve
  • Level 7
  • Apprentice Skinner
  • April 1, 2012, 2:35 am
???
  • Minivikke
  • Level 17
  • Journeyman Ninja
  • April 1, 2012, 3:19 am
what?
So smashed up dandilions + Cocoa Beans = Bed? I think thats what he is trying to say.

1 - 14 of 14

Show Comments

Search

Browse

Site

© planetminecraft.com

Welcome