1 package net.minecraft.src.ChemiCraft;
3 import java.util.ArrayList;
5 public class ChemiCraftAPI {
7 public static ChemiCraftAPI instance = new ChemiCraftAPI();
9 private boolean addLanguage = false;
10 private static ArrayList<String> compoundsNameList = new ArrayList();
11 private static ArrayList<String> compoundsLangNameList = new ArrayList();
12 private static ArrayList<String> compoundsLangList = new ArrayList();
14 public static void addCompound(String name){
15 compoundsNameList.add(name);
18 public static void addLangCompound(String lang, String name){
19 compoundsLangNameList.add(name);
20 compoundsLangList.add(lang);
23 public static ArrayList<String> getCompoundsName(){
24 compoundsNameList.trimToSize();
25 return compoundsNameList;
28 public static ArrayList<String> getCompoundsLangName(){
29 compoundsLangNameList.trimToSize();
30 return compoundsLangNameList;
33 public static ArrayList<String> getCompoundsLang(){
34 compoundsLangList.trimToSize();
35 return compoundsLangList;