2014-12-18 19:24:06 +01:00
|
|
|
package ellpeck.gemification.util;
|
2014-11-10 16:47:04 +01:00
|
|
|
|
|
|
|
import net.minecraft.util.StatCollector;
|
|
|
|
import org.lwjgl.input.Keyboard;
|
|
|
|
|
2014-12-03 21:55:53 +01:00
|
|
|
import java.util.ArrayList;
|
|
|
|
|
2014-12-20 21:34:07 +01:00
|
|
|
@SuppressWarnings("unused")
|
|
|
|
public class Util{
|
2014-11-10 16:47:04 +01:00
|
|
|
|
2014-12-18 19:24:06 +01:00
|
|
|
public static final String MOD_ID = "gemification";
|
|
|
|
public static final String NAME = "Gemification";
|
|
|
|
public static final String VERSION = "1.7.10-1.0.1";
|
|
|
|
|
2014-12-03 21:55:53 +01:00
|
|
|
public static ArrayList<GemType> gemList = new ArrayList<GemType>();
|
|
|
|
|
2014-12-20 21:34:07 +01:00
|
|
|
public static final GemType onyx = new GemType(0, "Onyx", true);
|
|
|
|
public static final GemType almandineGarnet = new GemType(1, "AlmandineGarnet", true);
|
|
|
|
public static final GemType chromeDiopside = new GemType(2, "ChromeDiopside", true);
|
|
|
|
public static final GemType jasper = new GemType(3, "Jasper", true);
|
|
|
|
public static final GemType sodalite = new GemType(4, "Sodalite", true);
|
|
|
|
public static final GemType iolite = new GemType(5, "Iolite", true);
|
|
|
|
public static final GemType smithsonite = new GemType(6, "Smithsonite", true);
|
|
|
|
public static final GemType danburite = new GemType(7, "Danburite", true);
|
|
|
|
public static final GemType hematite = new GemType(8, "Hematite", true);
|
|
|
|
public static final GemType lepidolite = new GemType(9, "Lepidolite", true);
|
|
|
|
public static final GemType tourmaline = new GemType(10, "Tourmaline", true);
|
|
|
|
public static final GemType sphene = new GemType(11, "Sphene", true);
|
|
|
|
public static final GemType paraibaTourlamine = new GemType(12, "ParaibaTourlamine", true);
|
|
|
|
public static final GemType rhodochrosite = new GemType(13, "Rhodochrosite", true);
|
|
|
|
public static final GemType clinohumite = new GemType(14, "Clinohumite", true);
|
|
|
|
public static final GemType goshenite = new GemType(15, "Goshenite", true);
|
2014-12-03 21:55:53 +01:00
|
|
|
public static final GemType fluidWater = new GemType(16, "Water", false);
|
|
|
|
public static final GemType fluidNone = new GemType(17, "None", false);
|
2014-11-10 16:47:04 +01:00
|
|
|
|
|
|
|
public static boolean isShiftPressed(){
|
|
|
|
return Keyboard.isKeyDown(Keyboard.KEY_LSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_RSHIFT);
|
|
|
|
}
|
|
|
|
|
2014-12-18 19:24:06 +01:00
|
|
|
public static String shiftForInfo() {
|
2014-12-20 21:34:07 +01:00
|
|
|
return (char)167+"2" + (char)167+"o" + StatCollector.translateToLocal("tooltip.shiftForInfo.desc");
|
2014-11-10 16:47:04 +01:00
|
|
|
}
|
|
|
|
}
|