new Formula("H2O"));
//鉱石分解の追加
- for (int i = 0; i < this.mod.apiBase.getAtomOresName().sizeKeysList(); i++) {
+ for (int i = 0; i < this.mod.apiBase.getAtomOresName().sizeElementsList("en_US"); i++) {
this.mod.api.addPyrolysisDecompositionRecipe(
new ItemStack(this.mod.blockAtomOres[i / 16], 1, i - i / 16 * 16),
- this.mod.apiBase.getAtomOresFormulas().get(this.mod.apiBase.getAtomOresName().getKeyList(i)));
+ this.mod.apiBase.getAtomOresFormulas().get(this.mod.apiBase.getAtomOresName().get("en_US", (i % 16) + ((i / 16) * 16))));
}
}