removed unneeded trays only 2 step process for bread
shapeless crafting with 2 wheat = 1 flour grinder + 1 wheat = 1 flour water bucket + flour = dough dough in furnace = bread
This commit is contained in:
parent
d40354ee9d
commit
593029c815
|
@ -26,7 +26,7 @@ import resonant.lib.network.PacketTile;
|
|||
import resonant.lib.prefab.item.ItemBlockMetadata;
|
||||
import resonant.lib.utility.LanguageUtility;
|
||||
import resonantinduction.core.handler.TextureHookHandler;
|
||||
import resonantinduction.core.items.ItemBakingTrayWithBread;
|
||||
|
||||
import resonantinduction.core.items.ItemDevStaff;
|
||||
import resonantinduction.core.prefab.part.PacketMultiPart;
|
||||
import resonantinduction.core.resource.BlockDust;
|
||||
|
@ -114,7 +114,7 @@ public class ResonantInduction
|
|||
itemBiomass = contentRegistry.createItem(ItemBiomass.class);
|
||||
itemDevStaff = contentRegistry.createItem(ItemDevStaff.class);
|
||||
itemFlour = contentRegistry.createItem(ItemFlour.class);
|
||||
itemBakingTrayWithBread = contentRegistry.createItem(ItemBakingTrayWithBread.class);
|
||||
|
||||
|
||||
GameRegistry.registerItem(itemRubble, itemRubble.getUnlocalizedName());
|
||||
GameRegistry.registerItem(itemDust, itemDust.getUnlocalizedName());
|
||||
|
@ -151,11 +151,7 @@ public class ResonantInduction
|
|||
GameRegistry.addRecipe(new ShapelessOreRecipe(itemFlour, new Object []{Item.wheat,Item.wheat}));
|
||||
FurnaceRecipes.smelting().addSmelting(itemFlour.itemID, 1, new ItemStack (Item.bread), 50f);
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack (itemFlour ,1,1),new Object []{itemFlour, Item.bucketWater}));
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack (itemFlour ,1,3),new Object []{new ItemStack (itemFlour,1,1),new ItemStack (itemFlour,1,2)}));
|
||||
FurnaceRecipes.smelting().addSmelting(itemFlour.itemID, 3, new ItemStack (itemBakingTrayWithBread), 50f);
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack (Item.bread,1), new Object []{new ItemStack (itemBakingTrayWithBread)}));
|
||||
MachineRecipes.INSTANCE.addRecipe(RecipeType.GRINDER.name(), Item.wheat, itemFlour);
|
||||
|
||||
proxy.postInit();
|
||||
Settings.CONFIGURATION.save();
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package resonantinduction.core.items;
|
||||
/*package resonantinduction.core.items;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.Item;
|
||||
|
@ -6,7 +6,7 @@ import net.minecraft.item.ItemStack;
|
|||
import resonantinduction.core.Reference;
|
||||
import resonantinduction.core.ResonantInduction;
|
||||
|
||||
public class ItemBakingTrayWithBread extends Item{
|
||||
/*public class ItemBakingTrayWithBread extends Item{
|
||||
|
||||
public ItemBakingTrayWithBread(int par1) {
|
||||
super(par1);
|
||||
|
@ -25,4 +25,4 @@ public class ItemBakingTrayWithBread extends Item{
|
|||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}*/
|
||||
|
|
|
@ -24,11 +24,11 @@ public class ItemFlour extends Item {
|
|||
@SideOnly(Side.CLIENT)
|
||||
Icon doughIcon;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
/*@SideOnly(Side.CLIENT)
|
||||
Icon bakingtrayIcon;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
Icon bakingtraywithdoughIcon;
|
||||
Icon bakingtraywithdoughIcon;*/
|
||||
|
||||
|
||||
public ItemFlour(int par1) {
|
||||
|
@ -42,11 +42,11 @@ public class ItemFlour extends Item {
|
|||
case 1:
|
||||
return doughIcon;
|
||||
|
||||
case 2:
|
||||
/*case 2:
|
||||
return bakingtrayIcon;
|
||||
|
||||
case 3:
|
||||
return bakingtraywithdoughIcon;
|
||||
return bakingtraywithdoughIcon;*/
|
||||
|
||||
default:
|
||||
return super.getIconFromDamage(meta);
|
||||
|
@ -59,8 +59,8 @@ public class ItemFlour extends Item {
|
|||
public void registerIcons(IconRegister iconRegister) {
|
||||
super.registerIcons(iconRegister);
|
||||
this.doughIcon = iconRegister.registerIcon(Reference.PREFIX + "dough");
|
||||
this.bakingtrayIcon = iconRegister.registerIcon(Reference.PREFIX + "bakingtray");
|
||||
this.bakingtraywithdoughIcon = iconRegister.registerIcon(Reference.PREFIX + "bakingtraywithdough");
|
||||
/*this.bakingtrayIcon = iconRegister.registerIcon(Reference.PREFIX + "bakingtray");
|
||||
this.bakingtraywithdoughIcon = iconRegister.registerIcon(Reference.PREFIX + "bakingtraywithdough");*/
|
||||
|
||||
|
||||
|
||||
|
@ -71,10 +71,10 @@ public class ItemFlour extends Item {
|
|||
|
||||
case 1:
|
||||
return "item.dough";
|
||||
case 2:
|
||||
/*case 2:
|
||||
return "item.bakingtray";
|
||||
case 3:
|
||||
return "item.bakingtraywithdough";
|
||||
return "item.bakingtraywithdough";*/
|
||||
|
||||
|
||||
default:
|
||||
|
@ -87,8 +87,8 @@ public class ItemFlour extends Item {
|
|||
public void getSubItems(int par1, CreativeTabs tab, List items) {
|
||||
super.getSubItems(par1, tab, items);
|
||||
items.add(new ItemStack(par1, 1, 1));
|
||||
items.add(new ItemStack(par1, 1, 2));
|
||||
items.add(new ItemStack(par1, 1, 3));
|
||||
/*items.add(new ItemStack(par1, 1, 2));
|
||||
items.add(new ItemStack(par1, 1, 3));*/
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue