mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-04-28 07:29:05 +02:00
32 lines
1.3 KiB
Java
32 lines
1.3 KiB
Java
package de.ellpeck.actuallyadditions.mod.items.metalists;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.util.Util;
|
|
import net.minecraft.item.Rarity;
|
|
import net.minecraft.util.IStringSerializable;
|
|
|
|
public enum TheCrystals implements IStringSerializable {
|
|
|
|
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),
|
|
COAL("black", Util.CRYSTAL_BLACK_RARITY, 0x434442, 0.2F, 0.2F, 0.2F),
|
|
EMERALD("green", Util.CRYSTAL_GREEN_RARITY, 0x44E033, 54F / 255F, 75F / 255F, 24F / 255F),
|
|
IRON("white", Util.CRYSTAL_WHITE_RARITY, 0xCEDDD4, 0.8F, 0.8F, 0.8F);
|
|
|
|
public final String name;
|
|
public final Rarity rarity;
|
|
public final float[] conversionColorParticles;
|
|
public final int clusterColor;
|
|
|
|
TheCrystals(String name, Rarity rarity, int clusterColor, float... conversionColorParticles) {
|
|
this.name = name;
|
|
this.rarity = rarity;
|
|
this.conversionColorParticles = conversionColorParticles;
|
|
this.clusterColor = clusterColor;
|
|
}
|
|
|
|
@Override
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
} |