1 package pcc.chemicraft.base;
3 import pcc.chemicraft.base.gen.EnumOreSpawnFrequency;
4 import pcc.chemicraft.core.ChemiCraftCore;
5 import pcc.chemicraft.util.AtomInfo;
6 import pcc.chemicraft.util.Formula;
10 * @author mozipi,ponkotate
12 public class ChemiCraftRegisterChemicalRecipe extends ChemiCraftBaseRegister {
14 public ChemiCraftRegisterChemicalRecipe(ChemiCraftBase mod) {
21 for (int i = 0; i < this.mod.chemicalData.ATOMSLIST.length; i++) {
22 if (AtomInfo.isSolid(i + 1) && !AtomInfo.isLanthanoid(i + 1)
23 && !AtomInfo.isActinoid(i + 1)) {
25 this.mod.apiBase.addAtomOres(
26 ChemiCraftCore.ATOMSNAME[i],
27 new Formula(this.mod.chemicalData.ATOMSLIST[i]),
28 this.mod.atomOresID[this.mod.apiBase.getAtomOresLastIndex()],
29 EnumOreSpawnFrequency.NORMAL);
31 this.mod.apiBase.addAtomOresLanguage(ChemiCraftCore.ATOMSNAME[i], ChemiCraftCore.ATOMSNAMEJP[i] + "鉱石", "ja_JP");
36 this.mod.apiBase.addAtomOres(
38 new Formula("LaCePrNdPmSmEuGdTbDyHoErTmYbLu"),
39 this.mod.atomOresID[this.mod.apiBase.getAtomOresLastIndex()],
40 EnumOreSpawnFrequency.RARE);
41 // LaCePrNdPmSmEuGdTbDyHoErTmYbLu
42 this.mod.apiBase.addAtomOresLanguage("Lanthanoid", "ランタノイド鉱石", "ja_JP");
45 this.mod.apiBase.addAtomOres(
47 new Formula("AcThPaUNpPuAmCmBkCfEsFmMdNoLr"),
48 this.mod.atomOresID[this.mod.apiBase.getAtomOresLastIndex()],
49 EnumOreSpawnFrequency.RARE);
50 // AcThPaUNpPuAmCmBkCfEsFmMdNoLr
51 this.mod.apiBase.addAtomOresLanguage("Actinoid", "アクチノイド鉱石", "ja_JP");