Posted June 26, 201510 yr i create a fire sword and want her to come with fire aspect, but I have no idea how to do it?
June 26, 201510 yr In your class where you have your crafting recipes you will have to do this: ItemStack stack = new ItemStack(ITEMCLASS.nameofyoursword); stack.addEnchantment(Enchantment.nameofwantedenchantment, levelofenchantment); GameRegistry.addRecipe(stack, new Object[] {PUT CRAFTING SHAPE HERE});
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.