2015-03-07 12:51:28 +01:00
|
|
|
package ellpeck.actuallyadditions.items.metalists;
|
2015-03-07 02:23:31 +01:00
|
|
|
|
2015-04-04 05:20:19 +02:00
|
|
|
import ellpeck.actuallyadditions.util.INameableItem;
|
2015-03-29 15:29:05 +02:00
|
|
|
import ellpeck.actuallyadditions.util.StringUtil;
|
2015-03-07 02:23:31 +01:00
|
|
|
import net.minecraft.item.EnumRarity;
|
|
|
|
|
2015-04-04 05:20:19 +02:00
|
|
|
public enum TheDusts implements INameableItem{
|
2015-03-07 02:23:31 +01:00
|
|
|
|
2015-04-04 05:20:19 +02:00
|
|
|
IRON("Iron", 7826534, EnumRarity.common, "dustIron"),
|
|
|
|
GOLD("Gold", 14335744, EnumRarity.uncommon, "dustGold"),
|
|
|
|
DIAMOND("Diamond", 292003, EnumRarity.rare, "dustDiamond"),
|
|
|
|
EMERALD("Emerald", 4319527, EnumRarity.epic, "dustEmerald"),
|
|
|
|
LAPIS("Lapis", 1849791, EnumRarity.uncommon, "dustLapis"),
|
|
|
|
QUARTZ("Quartz", StringUtil.DECIMAL_COLOR_WHITE, EnumRarity.uncommon, "dustQuartz"),
|
|
|
|
COAL("Coal", 0, EnumRarity.uncommon, "dustCoal"),
|
|
|
|
QUARTZ_BLACK("QuartzBlack", 18, EnumRarity.rare, "dustQuartzBlack");
|
2015-03-07 02:23:31 +01:00
|
|
|
|
|
|
|
public final String name;
|
2015-04-04 05:20:19 +02:00
|
|
|
public final String oredictName;
|
2015-03-07 02:23:31 +01:00
|
|
|
public final int color;
|
|
|
|
public final EnumRarity rarity;
|
|
|
|
|
2015-04-04 05:20:19 +02:00
|
|
|
TheDusts(String name, int color, EnumRarity rarity, String oredictName){
|
2015-03-07 02:23:31 +01:00
|
|
|
this.name = name;
|
|
|
|
this.color = color;
|
|
|
|
this.rarity = rarity;
|
2015-04-04 05:20:19 +02:00
|
|
|
this.oredictName = oredictName;
|
2015-03-07 02:23:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getName(){
|
|
|
|
return this.name;
|
|
|
|
}
|
2015-04-04 05:20:19 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getOredictName(){
|
|
|
|
return this.oredictName;
|
|
|
|
}
|
2015-03-07 02:23:31 +01:00
|
|
|
}
|