bugfixed in feature again
This commit is contained in:
@@ -90,15 +90,12 @@ public class CastingForm extends CustomContainerFacing implements CastingFormHan
|
|||||||
|
|
||||||
CastingCrafting casting = CastingCrafting.getRecipe(crucibleRecipe.getDropsCooked(), tempArray);
|
CastingCrafting casting = CastingCrafting.getRecipe(crucibleRecipe.getDropsCooked(), tempArray);
|
||||||
if(casting != null){
|
if(casting != null){
|
||||||
NBTTagCompound tagOutput = casting.getOutput().getTagCompound();
|
NBTTagCompound tagOutput = casting.getOutput().getOrCreateSubCompound("tags");
|
||||||
NBTTagCompound crucibleOutput = crucibleRecipe.getDropsCooked().getTagCompound();
|
NBTTagCompound crucibleOutput = crucibleRecipe.getDropsCooked().getTagCompound();
|
||||||
|
|
||||||
if(tagOutput != null) {
|
if(tagOutput != null) {
|
||||||
ItemStack dropStack = casting.getOutput();
|
ItemStack dropStack = casting.getOutput();
|
||||||
|
|
||||||
System.out.println(dropStack);
|
|
||||||
System.out.println(crucibleOutput);
|
|
||||||
|
|
||||||
dropStack.setTagCompound(new NBTTagCompound());
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
NBTTagCompound tags = new NBTTagCompound();
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
|
||||||
|
|||||||
@@ -511,7 +511,7 @@ public class ModCrafting{
|
|||||||
);
|
);
|
||||||
/***CASTING SLEDGEHAMMER***/
|
/***CASTING SLEDGEHAMMER***/
|
||||||
CastingCrafting.addRecipe(
|
CastingCrafting.addRecipe(
|
||||||
new ItemStack(PrimalAPI.Items.BRONZE_INGOT, 1),
|
new ItemStack(ModItems.bronzeingotball, 1),
|
||||||
new Item[]{
|
new Item[]{
|
||||||
empty, empty, empty, empty, empty,
|
empty, empty, empty, empty, empty,
|
||||||
muddd, empty, empty, empty, muddd,
|
muddd, empty, empty, empty, muddd,
|
||||||
@@ -534,7 +534,7 @@ public class ModCrafting{
|
|||||||
);
|
);
|
||||||
/***CASTING CHISEL***/
|
/***CASTING CHISEL***/
|
||||||
CastingCrafting.addRecipe(
|
CastingCrafting.addRecipe(
|
||||||
new ItemStack(PrimalAPI.Items.BRONZE_INGOT, 1),
|
new ItemStack(ModItems.bronzeingotball, 1),
|
||||||
new Item[]{
|
new Item[]{
|
||||||
muddd, muddd, empty, muddd, muddd,
|
muddd, muddd, empty, muddd, muddd,
|
||||||
muddd, muddd, empty, muddd, muddd,
|
muddd, muddd, empty, muddd, muddd,
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ public class ModDictionary {/***************************************************
|
|||||||
*/
|
*/
|
||||||
public static void registerDictionaryNames()
|
public static void registerDictionaryNames()
|
||||||
{
|
{
|
||||||
|
OreDictionary.registerOre("ingotBronze", ModItems.bronzeingotball);
|
||||||
|
OreDictionary.registerOre("nuggetBronze", ModItems.bronzechunk);
|
||||||
if(COMPAT_DICTIONARY_WROUGHT_IRON) {
|
if(COMPAT_DICTIONARY_WROUGHT_IRON) {
|
||||||
OreDictionary.registerOre("ingotIron", ModItems.ironingotball);
|
OreDictionary.registerOre("ingotIron", ModItems.ironingotball);
|
||||||
OreDictionary.registerOre("nuggetIron", ModItems.wroughtironchunk);
|
OreDictionary.registerOre("nuggetIron", ModItems.wroughtironchunk);
|
||||||
|
|||||||
Reference in New Issue
Block a user