Tutorials Navigation

Tutorials :: New :: Popular :: Top Rated

Tutorials: 18,326 Categories: 12

Total Tutorial Views: 41,468,997

[ Minecraft] How To Make Your Own Recipe! [ v1.2.3 - 1.1 ]

Tutorial Name: [ Minecraft] How To Make Your Own Recipe! [ v1.2.3 - 1.1 ]  

Category: PC Tutorials

Submitted By: Console

Date Added:

Comments: 0

Views: 2,479

Related Forum: PC Building Forum

Share:

Well Here Is My Tutorial For Recipe!




Requirements:
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]

[url=oracle.com/technetwork/java/java...index.html]Java Development Kit [ JDK ][/url]




Well Heres The Tutorial -

Difficulty/Time: 1/10
Version : 1.2.3 / 1.1




1. Open up CraftingManager.java


2. You should immediately see the constructor for the class and within it recipes being added using the addRecipe function.


3. Scroll to the bottom of this list of recipes and add in a new one:


addRecipe(new ItemStack(Block.example, 1), new Object[] {"##", "##", Character.valueOf('#'), Block.dirt});



This will add a recipe in which when you craft four dirt is a square share will give you your new block.
new ItemStack(Block.example, 1) - this specifies what item is going to be generated and the quantity.
new Object[] {"##", "##", Character.valueOf('#'), Block.dirt} - this specifies how it is created.



Please Message Me For What Tutorial You Want Next!

Last Tutorial

Next Tutorial :
Create Your Own Mobs!

Ratings

Current rating: 5.33 by 6 users
Please take one second and rate this tutorial...

Not a Chance
1
2
3
4
5
6
7
8
9
10
Absolutely

Comments

"[ Minecraft] How To Make Your Own Recipe! [ v1.2.3 - 1.1 ]" :: Login/Create an Account :: 0 comments

If you would like to post a comment please signin to your account or register for an account.