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.
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
First you need eclipse and mcp to mod with.
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
ModLoader.AddRecipe(new ItemStack(Itemname, numberyouwantcrafted), new Object[] {
" X ", "X X", " X ", Character.valueOf('X'), new ItemStack(Item.dyePowder, 1, damageValueOfTheDyeYouWant)
});
Dye Values:
0: Ink sac
1: Rose Red
2: Cactus Green
3: Cocoa Beans
4: Lapis Lazuli
5: Purple dye
6: Cyan dye
7: Light gray dye
8: Gray dye
9: Pink dye
10: Lime dye
11: Dandelion Yellow
12: Light Blue dye
13: Magenta dye
14: Orange dye
15: Bone Meal
Tags |
731369
6
Create an account or sign in to comment.
GameRegistry.addShapelessRecipe(new ItemStack(BrickBlock,1), new Object[]{
Block.Cobblestone, Item.dyepowder, 1, 15 });
Now my chocalate milk mod is complete.