OSDN Git Service

作物のテクスチャごねごねの仕様書ついか
[chemicraft/ChemiCraftNext.git] / common / pcc / chemicraft / base / ChemiCraftRegisterBaseRecipe.java
index c420904..985f18e 100644 (file)
@@ -105,10 +105,10 @@ public class ChemiCraftRegisterBaseRecipe extends ChemiCraftBaseRegister {
                                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))));
                }
        }