Files
EnderIO/src/main/java/crazypants/enderio/material/Alloy.java
T
Alexander Hess f3ef4fb726 Register ingot storage blocks to Ore Dictionary
This will allow EnderIO alloys to be used in Big Reactors as turbine coil materials as well as reactor interior materials
2014-08-31 17:59:00 +01:00

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;
}
}