2015-11-09 18:05:52 +01:00
|
|
|
/*
|
2016-05-16 22:52:27 +02:00
|
|
|
* This file ("TheCrystals.java") is part of the Actually Additions mod for Minecraft.
|
2015-11-09 18:05:52 +01:00
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
* under the Actually Additions License to be found at
|
2016-05-16 22:52:27 +02:00
|
|
|
* http://ellpeck.de/actaddlicense
|
2015-11-09 18:05:52 +01:00
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2017-01-01 16:23:26 +01:00
|
|
|
* © 2015-2017 Ellpeck
|
2015-11-09 18:05:52 +01:00
|
|
|
*/
|
|
|
|
|
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;
|
2016-11-21 16:23:48 +01:00
|
|
|
import net.minecraft.util.IStringSerializable;
|
2019-05-02 09:08:15 +02:00
|
|
|
import net.minecraftforge.common.IRarity;
|
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;
|
2019-05-02 09:08:15 +02:00
|
|
|
public final IRarity rarity;
|
2016-08-03 04:01:47 +02:00
|
|
|
public final float[] conversionColorParticles;
|
2017-02-13 23:17:08 +01:00
|
|
|
public final int clusterColor;
|
2015-11-09 18:05:52 +01:00
|
|
|
|
2019-05-02 09:08:15 +02:00
|
|
|
TheCrystals(String name, IRarity rarity, int clusterColor, float... conversionColorParticles) {
|
2015-11-09 18:05:52 +01:00
|
|
|
this.name = name;
|
|
|
|
this.rarity = rarity;
|
2016-08-03 04:01:47 +02:00
|
|
|
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
|
|
|
}
|