149 lines
No EOL
14 KiB
Java
149 lines
No EOL
14 KiB
Java
package gregtech.api.enums;
|
|
|
|
import gregtech.api.interfaces.IIconContainer;
|
|
|
|
public class TextureSet {
|
|
public static final TextureSet
|
|
SET_NONE = new TextureSet("NONE"), SET_DULL = new TextureSet("DULL"), SET_RUBY = new TextureSet("RUBY"), SET_OPAL = new TextureSet("OPAL"), SET_LEAF = new TextureSet("LEAF"), SET_WOOD = new TextureSet("WOOD"), SET_SAND = new TextureSet("SAND"), SET_FINE = new TextureSet("FINE"), SET_FIERY = new TextureSet("FIERY"), SET_FLUID = new TextureSet("FLUID"), SET_ROUGH = new TextureSet("ROUGH"), SET_PAPER = new TextureSet("PAPER"), SET_GLASS = new TextureSet("GLASS"), SET_FLINT = new TextureSet("FLINT"), SET_LAPIS = new TextureSet("LAPIS"), SET_SHINY = new TextureSet("SHINY"), SET_SHARDS = new TextureSet("SHARDS"), SET_POWDER = new TextureSet("POWDER"), SET_QUARTZ = new TextureSet("QUARTZ"), SET_EMERALD = new TextureSet("EMERALD"), SET_DIAMOND = new TextureSet("DIAMOND"), SET_LIGNITE = new TextureSet("LIGNITE"), SET_MAGNETIC = new TextureSet("MAGNETIC"), SET_METALLIC = new TextureSet("METALLIC"), SET_NETHERSTAR = new TextureSet("NETHERSTAR"), SET_GEM_VERTICAL = new TextureSet("GEM_VERTICAL"), SET_GEM_HORIZONTAL = new TextureSet("GEM_HORIZONTAL");
|
|
|
|
/**
|
|
* For the Indices of OrePrefixes you need to look into the OrePrefix Enum.
|
|
*/
|
|
public static final short
|
|
INDEX_wire = 69, INDEX_foil = 70, INDEX_block1 = 71, INDEX_block2 = 72, INDEX_block3 = 73, INDEX_block4 = 74, INDEX_block5 = 75, INDEX_block6 = 76;
|
|
|
|
public final IIconContainer[] mTextures = new IIconContainer[128];
|
|
public final String mSetName;
|
|
|
|
public TextureSet(String aSetName) {
|
|
mSetName = aSetName;
|
|
mTextures[0] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/dustTiny");
|
|
mTextures[1] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/dustSmall");
|
|
mTextures[2] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/dust");
|
|
mTextures[3] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/dustImpure");
|
|
mTextures[4] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/dustPure");
|
|
mTextures[5] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/crushed");
|
|
mTextures[6] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/crushedPurified");
|
|
mTextures[7] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/crushedCentrifuged");
|
|
mTextures[8] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/gem");
|
|
mTextures[9] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/nugget");
|
|
mTextures[10] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[11] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/ingot");
|
|
mTextures[12] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/ingotHot");
|
|
mTextures[13] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/ingotDouble");
|
|
mTextures[14] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/ingotTriple");
|
|
mTextures[15] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/ingotQuadruple");
|
|
mTextures[16] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/ingotQuintuple");
|
|
mTextures[17] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/plate");
|
|
mTextures[18] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/plateDouble");
|
|
mTextures[19] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/plateTriple");
|
|
mTextures[20] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/plateQuadruple");
|
|
mTextures[21] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/plateQuintuple");
|
|
mTextures[22] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/plateDense");
|
|
mTextures[23] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/stick");
|
|
mTextures[24] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/lens");
|
|
mTextures[25] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/round");
|
|
mTextures[26] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/bolt");
|
|
mTextures[27] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/screw");
|
|
mTextures[28] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/ring");
|
|
mTextures[29] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/foil");
|
|
mTextures[30] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/cell");
|
|
mTextures[31] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/cellPlasma");
|
|
mTextures[32] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadSword");
|
|
mTextures[33] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadPickaxe");
|
|
mTextures[34] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadShovel");
|
|
mTextures[35] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadAxe");
|
|
mTextures[36] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadHoe");
|
|
mTextures[37] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadHammer");
|
|
mTextures[38] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadFile");
|
|
mTextures[39] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadSaw");
|
|
mTextures[40] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadDrill");
|
|
mTextures[41] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadChainsaw");
|
|
mTextures[42] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadWrench");
|
|
mTextures[43] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadUniversalSpade");
|
|
mTextures[44] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadSense");
|
|
mTextures[45] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadPlow");
|
|
mTextures[46] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadArrow");
|
|
mTextures[47] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadScrewdriver");
|
|
mTextures[48] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadBuzzSaw");
|
|
mTextures[49] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/toolHeadSoldering");
|
|
mTextures[50] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[51] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/wireFine");
|
|
mTextures[52] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/gearGtSmall");
|
|
mTextures[53] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/rotor");
|
|
mTextures[54] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/stickLong");
|
|
mTextures[55] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/springSmall");
|
|
mTextures[56] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/spring");
|
|
mTextures[57] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/arrowGtWood");
|
|
mTextures[58] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/arrowGtPlastic");
|
|
mTextures[59] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/gemChipped");
|
|
mTextures[60] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/gemFlawed");
|
|
mTextures[61] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/gemFlawless");
|
|
mTextures[62] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/gemExquisite");
|
|
mTextures[63] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/gearGt");
|
|
mTextures[64] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[65] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[66] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[67] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/oreSmall");
|
|
mTextures[68] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/ore");
|
|
mTextures[69] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/wire");
|
|
mTextures[70] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/foil");
|
|
mTextures[71] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/block1");
|
|
mTextures[72] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/block2");
|
|
mTextures[73] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/block3");
|
|
mTextures[74] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/block4");
|
|
mTextures[75] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/block5");
|
|
mTextures[76] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/block6");
|
|
mTextures[77] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/pipeSide");
|
|
mTextures[78] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/pipeTiny");
|
|
mTextures[79] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/pipeSmall");
|
|
mTextures[80] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/pipeMedium");
|
|
mTextures[81] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/pipeLarge");
|
|
mTextures[82] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/pipeHuge");
|
|
mTextures[83] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/frameGt");
|
|
mTextures[84] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[85] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[86] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[87] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[88] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[89] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[90] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[91] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[92] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[93] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[94] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[95] = new Textures.BlockIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[96] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/crateGtDust");
|
|
mTextures[97] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/crateGtIngot");
|
|
mTextures[98] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/crateGtGem");
|
|
mTextures[99] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/crateGtPlate");
|
|
mTextures[100] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/turbineBlade");
|
|
mTextures[101] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[102] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[103] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[104] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[105] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[106] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[107] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[108] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[109] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[110] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[111] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[112] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[113] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[114] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[115] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[116] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[117] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[118] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[119] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[120] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[121] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[122] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[123] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[124] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[125] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[126] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
mTextures[127] = new Textures.ItemIcons.CustomIcon("materialicons/" + mSetName + "/void");
|
|
}
|
|
} |