mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 12:19:55 +00:00
This will allow EnderIO alloys to be used in Big Reactors as turbine coil materials as well as reactor interior materials
34 lines
978 B
Java
34 lines
978 B
Java
package crazypants.enderio.material;
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
public enum Alloy {
|
|
|
|
ELECTRICAL_STEEL("electricalSteel", 6.0f),
|
|
ENERGETIC_ALLOY("energeticAlloy", 7.0f),
|
|
PHASED_GOLD("phasedGold", 4.0f),
|
|
REDSTONE_ALLOY("redstoneAlloy", 1.0f),
|
|
CONDUCTIVE_IRON("conductiveIron", 5.2f),
|
|
PHASED_IRON("phasedIron", 7.0f),
|
|
DARK_STEEL("darkSteel", 10.0f),
|
|
SOULARIUM("soularium", 10.0f);
|
|
|
|
public final String unlocalisedName;
|
|
public final String iconKey;
|
|
public final String oredictIngotName;
|
|
public final String oredictBlockName;
|
|
private final float hardness;
|
|
|
|
private Alloy(String baseName, float hardness) {
|
|
this.unlocalisedName = "enderio." + baseName;
|
|
this.iconKey = "enderio:" + baseName;
|
|
this.oredictIngotName = "ingot" + StringUtils.capitalize(baseName);
|
|
this.oredictBlockName = "block" + StringUtils.capitalize(baseName);
|
|
this.hardness = hardness;
|
|
}
|
|
|
|
public float getHardness() {
|
|
return hardness;
|
|
}
|
|
}
|