Posted March 21, 201312 yr I have got the crafting recipe for my block GameRegistry.addRecipe(new ItemStack(ParallelWorlds.NightStone, 1), "XX", "XX", Character.valueOf('X'), Block.dirt); As you can see I have it set as dirt to craft the block, How do i make it so my custom item 'Night Gem' is called and not dirt I have tried; Item.NightGem That doesn't work Any help is appreciated c: STOP CRUCIFYING NEW MODDERS!!!!
March 21, 201312 yr if this is in the class where you register the item or block, do GameRegistry.addRecipe(new ItemStack(ParallelWorlds.NightStone, 1), "XX", "XX", Character.valueOf('X'), NightGem); otherwise do GameRegistry.addRecipe(new ItemStack(ParallelWorlds.NightStone, 1), "XX", "XX", Character.valueOf('X'), CLASS_THAT_ITEM_OR_BLOCK_IS_REGISTERED_IN.NightGem);
March 21, 201312 yr Author if this is in the class where you register the item or block, do GameRegistry.addRecipe(new ItemStack(ParallelWorlds.NightStone, 1), "XX", "XX", Character.valueOf('X'), NightGem); otherwise do GameRegistry.addRecipe(new ItemStack(ParallelWorlds.NightStone, 1), "XX", "XX", Character.valueOf('X'), CLASS_THAT_ITEM_OR_BLOCK_IS_REGISTERED_IN.NightGem); Thank you! STOP CRUCIFYING NEW MODDERS!!!!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.