X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=common%2Fpcc%2Fchemicraft%2Fbase%2FChemiCraftRegisterBaseRecipe.java;h=ed3df5ba7485d266359781a969fd7c68ae692c47;hb=1f2436e87d9087a662df779ff2c765a7b29905a6;hp=88ed7f1977626d368d34a3e700eb0ab9ae1ebe78;hpb=4b46c0a661c04b2fba0c8aa8b2a52b5e98a834e5;p=chemicraft%2FChemiCraftNext.git diff --git a/common/pcc/chemicraft/base/ChemiCraftRegisterBaseRecipe.java b/common/pcc/chemicraft/base/ChemiCraftRegisterBaseRecipe.java index 88ed7f1..ed3df5b 100644 --- a/common/pcc/chemicraft/base/ChemiCraftRegisterBaseRecipe.java +++ b/common/pcc/chemicraft/base/ChemiCraftRegisterBaseRecipe.java @@ -6,6 +6,8 @@ import net.minecraft.block.Block; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraftforge.oredict.OreDictionary; +import pcc.chemicraft.ChemiCraftData; +import pcc.chemicraft.core.ChemiCraftAPI; import pcc.chemicraft.core.ChemiCraftCore; import pcc.chemicraft.core.nbt.NBTRecipeGrenade; import pcc.chemicraft.util.Formula; @@ -97,15 +99,9 @@ public class ChemiCraftRegisterBaseRecipe extends ChemiCraftBaseRegister { //素材制作台のレシピ this.mod.api.addMaterialRecipe( new ItemStack[] { - null, - new ItemStack(Block.stone), - null, - new ItemStack(Block.stone), - new ItemStack(Item.gunpowder), - new ItemStack(Block.stone), - null, - new ItemStack(Block.stone), - null + null, new ItemStack(Block.stone), null, + new ItemStack(Block.stone), new ItemStack(Item.gunpowder), new ItemStack(Block.stone), + null, new ItemStack(Block.stone), null }, new ItemStack(this.mod.itemAtomGrenade, 16, 0), new NBTRecipeGrenade()); @@ -118,6 +114,33 @@ public class ChemiCraftRegisterBaseRecipe extends ChemiCraftBaseRegister { new NBTRecipeGrenade() ); + ChemiCraftAPI.addMaterialRecipe( + new ItemStack[] { + new ItemStack(Block.stone), new ItemStack(Item.ingotIron), new ItemStack(Block.stone), + new ItemStack(Item.ingotIron), new ItemStack(ChemiCraftCore.instance.itemAtoms, 1, ChemiCraftData.URANIUM), new ItemStack(Item.ingotIron), + new ItemStack(Block.stone), new ItemStack(Item.redstone), new ItemStack(Block.stone) + }, + new ItemStack(this.mod.itemRadiationBallet), + null); + + ChemiCraftAPI.addMaterialRecipe( + new ItemStack[] { + new ItemStack(Block.stone), new ItemStack(ChemiCraftCore.instance.itemAtoms, 1, ChemiCraftData.URANIUM), new ItemStack(Block.stone), + new ItemStack(Item.ingotIron), new ItemStack(Item.redstone), new ItemStack(Item.ingotIron), + new ItemStack(Block.stone), new ItemStack(Item.redstone), new ItemStack(Block.stone) + }, + new ItemStack(this.mod.itemRaditionGunDataChip), + null); + + ChemiCraftAPI.addMaterialRecipe( + new ItemStack[]{ + new ItemStack(Block.blockSteel), new ItemStack(Block.blockSteel), new ItemStack(this.mod.itemRaditionGunDataChip), + null, null, new ItemStack(Block.stone), + null, null, new ItemStack(Item.stick) + }, + new ItemStack(this.mod.itemRadiationGun), + null); + //分解台のレシピ this.mod.api.addElectrolysisDecompositionRecipe( new ItemStack(ChemiCraftCore.instance.itemCompounds, 1, this.mod.api.getCompound("Water")),