/* * This file ("TheCrystals.java") is part of the Actually Additions mod for Minecraft. * It is created and owned by Ellpeck and distributed * under the Actually Additions License to be found at * http://ellpeck.de/actaddlicense * View the source code at https://github.com/Ellpeck/ActuallyAdditions * * © 2015-2016 Ellpeck */ package de.ellpeck.actuallyadditions.mod.items.metalists; import de.ellpeck.actuallyadditions.mod.util.Util; import net.minecraft.item.EnumRarity; public enum TheCrystals{ REDSTONE("Red", Util.CRYSTAL_RED_RARITY, 158F/255F, 43F/255F, 39F/255F), LAPIS("Blue", Util.CRYSTAL_BLUE_RARITY, 37F/255F, 49F/255F, 147F/255F), DIAMOND("LightBlue", Util.CRYSTAL_LIGHT_BLUE_RARITY, 99F/255F, 135F/255F, 210F/255F), COAL("Black", Util.CRYSTAL_BLACK_RARITY, 0.2F, 0.2F, 0.2F), EMERALD("Green", Util.CRYSTAL_GREEN_RARITY, 54F/255F, 75F/255F, 24F/255F), IRON("White", Util.CRYSTAL_WHITE_RARITY, 0.8F, 0.8F, 0.8F); public final String name; public final EnumRarity rarity; public final float[] conversionColorParticles; TheCrystals(String name, EnumRarity rarity, float... conversionColorParticles){ this.name = name; this.rarity = rarity; this.conversionColorParticles = conversionColorParticles; } }