ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/items/metalists/TheCrystals.java

32 lines
1.3 KiB
Java
Raw Normal View History

2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.mod.items.metalists;
2015-11-09 18:05:52 +01:00
2016-01-05 04:47:35 +01:00
import de.ellpeck.actuallyadditions.mod.util.Util;
import net.minecraft.item.Rarity;
2016-11-21 16:23:48 +01:00
import net.minecraft.util.IStringSerializable;
2015-11-09 18:05:52 +01:00
2019-05-02 09:08:15 +02:00
public enum TheCrystals implements IStringSerializable {
2015-11-09 18:05:52 +01:00
2019-05-02 09:08:15 +02:00
REDSTONE("red", Util.CRYSTAL_RED_RARITY, 0xFF2F21, 158F / 255F, 43F / 255F, 39F / 255F),
LAPIS("blue", Util.CRYSTAL_BLUE_RARITY, 0x5171FF, 37F / 255F, 49F / 255F, 147F / 255F),
DIAMOND("light_blue", Util.CRYSTAL_LIGHT_BLUE_RARITY, 0x35F1FF, 99F / 255F, 135F / 255F, 210F / 255F),
2017-02-13 23:17:08 +01:00
COAL("black", Util.CRYSTAL_BLACK_RARITY, 0x434442, 0.2F, 0.2F, 0.2F),
2019-05-02 09:08:15 +02:00
EMERALD("green", Util.CRYSTAL_GREEN_RARITY, 0x44E033, 54F / 255F, 75F / 255F, 24F / 255F),
2017-02-13 23:17:08 +01:00
IRON("white", Util.CRYSTAL_WHITE_RARITY, 0xCEDDD4, 0.8F, 0.8F, 0.8F);
2015-11-09 18:05:52 +01:00
public final String name;
public final Rarity rarity;
public final float[] conversionColorParticles;
2017-02-13 23:17:08 +01:00
public final int clusterColor;
2015-11-09 18:05:52 +01:00
TheCrystals(String name, Rarity rarity, int clusterColor, float... conversionColorParticles) {
2015-11-09 18:05:52 +01:00
this.name = name;
this.rarity = rarity;
this.conversionColorParticles = conversionColorParticles;
2017-02-13 23:17:08 +01:00
this.clusterColor = clusterColor;
2015-11-09 18:05:52 +01:00
}
2016-11-21 16:23:48 +01:00
@Override
2019-05-02 09:08:15 +02:00
public String getName() {
2016-11-21 16:23:48 +01:00
return this.name;
}
2015-11-09 18:05:52 +01:00
}