Posted December 27, 201410 yr good days i found another feature hidden in 1.8 wen you create a recipe in way it return an item and a empy bucket all the derivated craftings using that item will return empty buckets and i have //Hierro al rojo vivo GameRegistry.addSmelting(Items.iron_ingot, new ItemStack(MercenaryModItems.hierroAlrojo), 0.7F); //and then acero mercenario GameRegistry.addRecipe(new ItemStack(MercenaryModItems.aceroMercenario.setContainerItem(Items.bucket)), new Object[] {" # ", " W ", " ", '#' , MercenaryModItems.hierroAlrojo, 'W' , Items.water_bucket }); //whit aceromercenerio i do barra de acero notese there is no bucket in this recipe but return buckets as well GameRegistry.addRecipe(new ItemStack(MercenaryModItems.barradeAcero,4), new Object[] {" ", " # ", " # ", '#', MercenaryModItems.aceroMercenario, }); and here a video showing the issue is there workaround for this i realy like the idea of make steel trowing hot iron in a water bucket but this way i must change the recipe for the sake of logic
December 28, 201410 yr Author no way dont get it the container is for not loss the bucket rigth. soo how it must declaret to return aceromercenario + empty bucket ??
December 28, 201410 yr Author Yap i solv it well itink i do i just muve the set container item to the water bucket in input know i think i just move the trouble to other place but for now is fine it becomes rigth this GameRegistry.addRecipe(new ItemStack(MercenaryModItems.aceroMercenario), new Object[] {" # ", " W ", " ", '#' , MercenaryModItems.hierroAlrojo, 'W' , Items.water_bucket.setContainerItem(Items.bucket) }); and there is no more buckets in the derivated items crafting whith acero mercenario
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.