Posted October 5, 201411 yr Hi, im back again with another stupid question^^ how can i add a splash potion to my recipe? new ItemStack(Items.potionitem,1,16387)); does not work..... it seems thats 16387 is not the right id........ btw normal potions do work.
October 5, 201411 yr "new ItemStack(youritem,amount,metadata)" unless the potion's metadata is 16387 (I highly doubt it) it should be around the 60-70 range. If you don't know the metadata of the potion you could go on the minecraft wiki or use f3+h to find the item id/metadata ingame. The proud(ish) developer of Ancients
October 5, 201411 yr Author thx for the reply:-) i got it now... the potion item ids are so fu.. up there are false potions in the game....... ive installed NIE to check this-.-
October 5, 201411 yr Author hmmm ive found another problem this works with 1 arrow and its only removing 1 arrow from my workbench on crafting GameRegistry.addShapelessRecipe(new ItemStack(SkyPvP.fireArrow1, , new ItemStack(Items.arrow,16), new ItemStack(Items.potionitem,1,16419)); i want it to take 16 arrows...
October 6, 201411 yr unfortunately, crafting doesn't work like that the best way to do that is just to create a shaped recipe with 8 arrows and the potion. when you craft something in minecraft, it just subtracts one item from every slot in the crafting table gui. if you really wanted to do that you would probably need to create a custom crafting manager, although I have no idea how to create one. The proud(ish) developer of Ancients
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.