OSDN Git Service

大規模なソース仕様変更
[chemicraft/chemicraft.git] / common / pcc / chemicraft / ChemiCraftRegisterChemicalRecipe.java
1 package pcc.chemicraft;
2
3 import net.minecraft.block.Block;
4 import net.minecraft.item.ItemStack;
5 import pcc.chemicraft.gen.EnumOreSpawnFrequency;
6
7 public class ChemiCraftRegisterChemicalRecipe extends ChemiCraftRegister {
8
9         public ChemiCraftRegisterChemicalRecipe(ChemiCraft mod) {
10                 super(mod);
11         }
12
13         @Override
14         public void start() {
15                 // 元素入手手段
16
17                 // 水素
18                 // 水を分解。
19
20                 // ヘリウム
21                 // 未定。
22
23                 // リチウム
24                 this.mod.api.addAtomOres(
25                                 "LithiumOre",
26                                 new String[] { "Li", "Al", "Si", "O" },
27                                 new Integer[] { 1, 1, 4, 10 },
28                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
29                                 8,
30                                 EnumOreSpawnFrequency.NORMAL);
31                 // LiAlSi4O10
32                 this.mod.api.addAtomOresLanguage("LithiumOre", "リチウム鉱石", "ja_JP");
33
34                 // ベリリウム
35                 this.mod.api.addAtomOres(
36                                 "BerylliumOre",
37                                 new String[] { "Be", "Al", "Si", "O" },
38                                 new Integer[] { 3, 2, 6, 18 },
39                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
40                                 8,
41                                 EnumOreSpawnFrequency.NORMAL);
42                 // Be3Al2Si6O18
43                 this.mod.api.addAtomOresLanguage("BerylliumOre", "ベリリウム鉱石", "ja_JP");
44
45                 // ホウ素
46                 this.mod.api.addAtomOres(
47                                 "BoronOre",
48                                 new String[] { "Na", "Ca", "B", "O", "H" },
49                                 new Integer[] { 1, 1, 5, 17, 16 },
50                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
51                                 8,
52                                 EnumOreSpawnFrequency.NORMAL);
53                 // NaCaB5O6(OH)6・5H2O
54                 this.mod.api.addAtomOresLanguage("BoronOre", "ホウ素鉱石", "ja_JP");
55
56                 // 炭素
57                 this.mod.api.addPyrolysisDecompositionRecipe(
58                                 new ItemStack(Block.oreCoal),
59                                 new Integer[] { this.mod.chemicalData.CARBON },
60                                 new Integer[] { 1 });
61
62                 // フッ素
63                 this.mod.api.addAtomOres(
64                                 "FluorineOre",
65                                 new String[] { "Ca", "F" },
66                                 new Integer[] { 1, 2 },
67                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
68                                 8,
69                                 EnumOreSpawnFrequency.NORMAL);
70                 // CaF2
71                 this.mod.api.addAtomOresLanguage("FluorineOre", "フッ素鉱石", "ja_JP");
72
73                 // ナトリウム
74                 this.mod.api.addAtomOres(
75                                 "SodiumOre",
76                                 new String[] { "Na", "Cl" },
77                                 new Integer[] { 1, 1 },
78                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
79                                 8,
80                                 EnumOreSpawnFrequency.NORMAL);
81                 // NaCl
82                 this.mod.api.addAtomOresLanguage("SodiumOre", "ナトリウム鉱石", "ja_JP");
83
84                 // マグネシウム
85                 this.mod.api.addAtomOres(
86                                 "MagnesiumOre",
87                                 new String[] { "Ca", "Mg", "C", "O" },
88                                 new Integer[] { 1, 1, 2, 6 },
89                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
90                                 8,
91                                 EnumOreSpawnFrequency.NORMAL);
92                 // CaMg(CO3)2
93                 this.mod.api.addAtomOresLanguage("MagnesiumOre", "マグネシウム鉱石", "ja_JP");
94
95                 // アルミニウム
96                 this.mod.api.addAtomOres(
97                                 "AluminiumOre",
98                                 new String[] { "Al", "O", "H" },
99                                 new Integer[] { 3, 3, 3 },
100                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
101                                 8,
102                                 EnumOreSpawnFrequency.NORMAL);
103                 // Al(OH)3
104                 this.mod.api.addAtomOresLanguage("AluminiumOre", "アルミニウム鉱石", "ja_JP");
105
106                 // ケイ素
107                 // 1.5まで保留。
108
109                 // リン
110                 this.mod.api.addAtomOres(
111                                 "PhosphorusOre",
112                                 new String[] { "Ca", "P", "O", "F" },
113                                 new Integer[] { 5, 3, 12, 1 },
114                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
115                                 8,
116                                 EnumOreSpawnFrequency.NORMAL);
117                 // Ca5(PO4)3F
118                 this.mod.api.addAtomOresLanguage("PhosphorusOre", "リン鉱石", "ja_JP");
119
120                 // 硫黄
121                 this.mod.api.addAtomOres(
122                                 "SulfurOre",
123                                 new String[] { "S" },
124                                 new Integer[] { 1 },
125                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
126                                 8,
127                                 EnumOreSpawnFrequency.NORMAL);
128                 // S
129                 this.mod.api.addAtomOresLanguage("SulfurOre", "硫黄鉱石", "ja_JP");
130
131                 // カリウム
132                 this.mod.api.addAtomOres(
133                                 "PotassiumOre",
134                                 new String[] { "K", "Cl" },
135                                 new Integer[] { 1, 1 },
136                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
137                                 8,
138                                 EnumOreSpawnFrequency.NORMAL);
139                 // KCl
140                 this.mod.api.addAtomOresLanguage("PotassiumOre", "カリウム鉱石", "ja_JP");
141
142                 // カルシウム
143                 this.mod.api.addAtomOres(
144                                 "CalciumOre",
145                                 new String[] { "Ca", "C", "O" },
146                                 new Integer[] { 1, 1, 3 },
147                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
148                                 8,
149                                 EnumOreSpawnFrequency.NORMAL);
150                 // CaCO3
151                 this.mod.api.addAtomOresLanguage("CalciumOre", "カルシウム鉱石", "ja_JP");
152
153                 // スカンジウム
154                 this.mod.api.addAtomOres(
155                                 "ScandiumOre",
156                                 new String[] { "Sc", "Y", "Si", "O" },
157                                 new Integer[] { 2, 2, 2, 7 },
158                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
159                                 8,
160                                 EnumOreSpawnFrequency.NORMAL);
161                 // (Sc,Y)2Si2O7
162                 this.mod.api.addAtomOresLanguage("ScandiumOre", "スカンジウム鉱石", "ja_JP");
163
164                 // チタン
165                 this.mod.api.addAtomOres(
166                                 "TitaniumOre",
167                                 new String[] { "Ti", "O" },
168                                 new Integer[] { 1, 2 },
169                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
170                                 8,
171                                 EnumOreSpawnFrequency.NORMAL);
172                 // TiO2
173                 this.mod.api.addAtomOresLanguage("TitaniumOre", "チタン鉱石", "ja_JP");
174
175                 // バナジウム
176                 this.mod.api.addAtomOres(
177                                 "VanadiumOre",
178                                 new String[] { "K", "U", "O", "V", "H" },
179                                 new Integer[] { 2, 2, 15, 2, 6 },
180                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
181                                 8,
182                                 EnumOreSpawnFrequency.NORMAL);
183                 // K2(UO2)2V2O8・3H2O
184                 this.mod.api.addAtomOresLanguage("VanadiumOre", "バナジウム鉱石", "ja_JP");
185
186                 // クロム
187                 this.mod.api.addAtomOres(
188                                 "Chromium",
189                                 new String[] { "Fe", "Cr", "O" },
190                                 new Integer[] { 1, 2, 4 },
191                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
192                                 8,
193                                 EnumOreSpawnFrequency.NORMAL);
194                 this.mod.api.addAtomOresLanguage("Chromium", "クロム鉱石", "ja_JP");
195                 // FeCr2O4
196
197                 // マンガン
198                 this.mod.api.addAtomOres(
199                                 "ManganeseOre",
200                                 new String[] { "Mn", "O" },
201                                 new Integer[] { 1, 2 },
202                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
203                                 8,
204                                 EnumOreSpawnFrequency.NORMAL);
205                 this.mod.api.addAtomOresLanguage("ManganeseOre", "ja_JP", "マンガン鉱石");
206                 // MnO2
207
208                 // コバルト
209                 this.mod.api.addAtomOres(
210                                 "CobaltOre",
211                                 new String[] { "Co", "As", "S" },
212                                 new Integer[] { 1, 1, 1 },
213                                 this.mod.atomOresID[this.mod.api.getAtomOresLastIndex()],
214                                 8,
215                                 EnumOreSpawnFrequency.NORMAL);
216                 this.mod.api.addAtomOresLanguage("CobaltOre", "ja_JP", "コバルト鉱石");
217                 // CoAsS
218
219                 // this.mod.api.addAtomOres("元素名(英)", new String[]{"元素"}, new Integer[]{<数>}, this.atomOresID[this.mod.api.getAtomOresLastIndex()], 8, EnumOreSpawnFrequency.NORMAL); // 化学式
220                 // this.mod.api.addAtomOresLanguage("元素名(英)", "元素名(他国語)", "言語");
221         }
222
223 }