bugfixed in feature again

This commit is contained in:
Mohammad-Ali Minaie
2018-10-22 06:43:36 -04:00
parent 908c5150e5
commit 324bba66c1
3 changed files with 5 additions and 6 deletions

View File

@@ -90,15 +90,12 @@ public class CastingForm extends CustomContainerFacing implements CastingFormHan
CastingCrafting casting = CastingCrafting.getRecipe(crucibleRecipe.getDropsCooked(), tempArray);
if(casting != null){
NBTTagCompound tagOutput = casting.getOutput().getTagCompound();
NBTTagCompound tagOutput = casting.getOutput().getOrCreateSubCompound("tags");
NBTTagCompound crucibleOutput = crucibleRecipe.getDropsCooked().getTagCompound();
if(tagOutput != null) {
ItemStack dropStack = casting.getOutput();
System.out.println(dropStack);
System.out.println(crucibleOutput);
dropStack.setTagCompound(new NBTTagCompound());
NBTTagCompound tags = new NBTTagCompound();

View File

@@ -511,7 +511,7 @@ public class ModCrafting{
);
/***CASTING SLEDGEHAMMER***/
CastingCrafting.addRecipe(
new ItemStack(PrimalAPI.Items.BRONZE_INGOT, 1),
new ItemStack(ModItems.bronzeingotball, 1),
new Item[]{
empty, empty, empty, empty, empty,
muddd, empty, empty, empty, muddd,
@@ -534,7 +534,7 @@ public class ModCrafting{
);
/***CASTING CHISEL***/
CastingCrafting.addRecipe(
new ItemStack(PrimalAPI.Items.BRONZE_INGOT, 1),
new ItemStack(ModItems.bronzeingotball, 1),
new Item[]{
muddd, muddd, empty, muddd, muddd,
muddd, muddd, empty, muddd, muddd,

View File

@@ -19,6 +19,8 @@ public class ModDictionary {/***************************************************
*/
public static void registerDictionaryNames()
{
OreDictionary.registerOre("ingotBronze", ModItems.bronzeingotball);
OreDictionary.registerOre("nuggetBronze", ModItems.bronzechunk);
if(COMPAT_DICTIONARY_WROUGHT_IRON) {
OreDictionary.registerOre("ingotIron", ModItems.ironingotball);
OreDictionary.registerOre("nuggetIron", ModItems.wroughtironchunk);