2013-12-27 23:59:59 +01:00
|
|
|
package appeng.client.texture;
|
|
|
|
|
|
|
|
import net.minecraft.client.Minecraft;
|
|
|
|
import net.minecraft.client.renderer.texture.TextureMap;
|
2014-02-09 02:34:52 +01:00
|
|
|
import net.minecraft.util.IIcon;
|
2013-12-27 23:59:59 +01:00
|
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
|
|
|
|
|
|
public enum CableBusTextures
|
|
|
|
{
|
|
|
|
|
|
|
|
Channels00("MECableSmart00"), Channels01("MECableSmart01"), Channels02("MECableSmart02"), Channels03("MECableSmart03"), Channels10("MECableSmart10"), Channels11(
|
|
|
|
"MECableSmart11"), Channels12("MECableSmart12"), Channels13("MECableSmart13"), Channels14("MECableSmart14"), Channels04("MECableSmart04"),
|
|
|
|
|
|
|
|
LevelEmitterTorchOn("ItemPart.LevelEmitterOn"), BlockWirelessOn("BlockWirelessOn"),
|
|
|
|
|
|
|
|
BlockP2PTunnel2("ItemPart.P2PTunnel2"), BlockP2PTunnel3("ItemPart.P2PTunnel3"),
|
|
|
|
|
2014-02-09 19:35:06 +01:00
|
|
|
// MEWaiting("MEWaiting"),
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
PartMonitorSides("PartMonitorSides"), PartMonitorBack("PartMonitorBack"),
|
|
|
|
|
|
|
|
Transparent("Transparent"), PartMonitorSidesStatus("PartMonitorSidesStatus"), PartMonitorSidesStatusLights("PartMonitorSidesStatusLights"),
|
|
|
|
|
2014-02-22 23:14:43 +01:00
|
|
|
PartMonitor_Colored("PartMonitor_Colored"), PartMonitor_Bright("PartMonitor_Bright"),
|
2013-12-27 23:59:59 +01:00
|
|
|
|
2014-02-22 23:14:43 +01:00
|
|
|
PartPatternTerm_Bright("PartPatternTerm_Bright"), PartPatternTerm_Colored("PartPatternTerm_Colored"), PartPatternTerm_Dark("PartPatternTerm_Dark"),
|
2013-12-27 23:59:59 +01:00
|
|
|
|
2014-02-22 23:14:43 +01:00
|
|
|
PartConvMonitor_Bright("PartConvMonitor_Bright"), PartConvMonitor_Colored("PartConvMonitor_Colored"), PartConvMonitor_Dark("PartConvMonitor_Dark"), PartCraftingMonitor_Bright(
|
|
|
|
"PartCraftingMonitor_Bright"), PartCraftingMonitor_Colored("PartCraftingMonitor_Colored"), PartCraftingMonitor_Dark("PartCraftingMonitor_Dark"),
|
2013-12-27 23:59:59 +01:00
|
|
|
|
2014-02-22 23:14:43 +01:00
|
|
|
PartCraftingTerm_Bright("PartCraftingTerm_Bright"), PartCraftingTerm_Colored("PartCraftingTerm_Colored"), PartCraftingTerm_Dark("PartCraftingTerm_Dark"), //
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
PartStorageMonitor_Bright("PartStorageMonitor_Bright"), PartStorageMonitor_Colored("PartStorageMonitor_Colored"), PartStorageMonitor_Dark(
|
2014-02-22 23:14:43 +01:00
|
|
|
"PartStorageMonitor_Dark"),
|
2013-12-27 23:59:59 +01:00
|
|
|
|
2014-02-22 23:14:43 +01:00
|
|
|
PartTerminal_Bright("PartTerminal_Bright"), PartTerminal_Colored("PartTerminal_Colored"), PartTerminal_Dark("PartTerminal_Dark"),
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
MECable_Green("MECable_Green"), MECable_Grey("MECable_Grey"), MECable_LightBlue("MECable_LightBlue"), MECable_LightGrey("MECable_LightGrey"), MECable_Lime(
|
|
|
|
"MECable_Lime"), MECable_Magenta("MECable_Magenta"), MECable_Orange("MECable_Orange"), MECable_Pink("MECable_Pink"), MECable_Purple(
|
|
|
|
"MECable_Purple"), MECable_Red("MECable_Red"), MECable_White("MECable_White"), MECable_Yellow("MECable_Yellow"), MECable_Black("MECable_Black"), MECable_Blue(
|
|
|
|
"MECable_Blue"), MECable_Brown("MECable_Brown"), MECable_Cyan("MECable_Cyan"),
|
|
|
|
|
2014-01-20 17:41:37 +01:00
|
|
|
MEDense_Black("MEDense_Black"), MEDense_Blue("MEDense_Blue"), MEDense_Brown("MEDense_Brown"), MEDense_Cyan("MEDense_Cyan"), MEDense_Gray("MEDense_Gray"), MEDense_Green(
|
|
|
|
"MEDense_Green"), MEDense_LightBlue("MEDense_LightBlue"), MEDense_LightGrey("MEDense_LightGrey"), MEDense_Lime("MEDense_Lime"), MEDense_Magenta(
|
|
|
|
"MEDense_Magenta"), MEDense_Orange("MEDense_Orange"), MEDense_Pink("MEDense_Pink"), MEDense_Purple("MEDense_Purple"), MEDense_Red("MEDense_Red"), MEDense_White(
|
|
|
|
"MEDense_White"), MEDense_Yellow("MEDense_Yellow"),
|
|
|
|
|
2013-12-27 23:59:59 +01:00
|
|
|
MESmart_Black("MESmart_Black"), MESmart_Blue("MESmart_Blue"), MESmart_Brown("MESmart_Brown"), MESmart_Cyan("MESmart_Cyan"), MESmart_Gray("MESmart_Gray"), MESmart_Green(
|
|
|
|
"MESmart_Green"), MESmart_LightBlue("MESmart_LightBlue"), MESmart_LightGrey("MESmart_LightGrey"), MESmart_Lime("MESmart_Lime"), MESmart_Magenta(
|
|
|
|
"MESmart_Magenta"), MESmart_Orange("MESmart_Orange"), MESmart_Pink("MESmart_Pink"), MESmart_Purple("MESmart_Purple"), MESmart_Red("MESmart_Red"), MESmart_White(
|
|
|
|
"MESmart_White"), MESmart_Yellow("MESmart_Yellow"),
|
|
|
|
|
|
|
|
MECovered_Black("MECovered_Black"), MECovered_Blue("MECovered_Blue"), MECovered_Brown("MECovered_Brown"), MECovered_Cyan("MECovered_Cyan"), MECovered_Gray(
|
|
|
|
"MECovered_Gray"), MECovered_Green("MECovered_Green"), MECovered_LightBlue("MECovered_LightBlue"), MECovered_LightGrey("MECovered_LightGrey"), MECovered_Lime(
|
|
|
|
"MECovered_Lime"), MECovered_Magenta("MECovered_Magenta"), MECovered_Orange("MECovered_Orange"), MECovered_Pink("MECovered_Pink"), MECovered_Purple(
|
|
|
|
"MECovered_Purple"), MECovered_Red("MECovered_Red"), MECovered_White("MECovered_White"), MECovered_Yellow("MECovered_Yellow"),
|
|
|
|
|
|
|
|
BlockAnnihilationPlaneOn("BlockAnnihilationPlaneOn"),
|
|
|
|
|
|
|
|
BlockFormPlaneOn("BlockFormPlaneOn"),
|
|
|
|
|
2014-04-04 06:31:10 +02:00
|
|
|
ItemPartLevelEmitterOn("ItemPart.LevelEmitterOn"), PartTransitionPlaneBack("PartTransitionPlaneBack"),
|
|
|
|
|
|
|
|
PartTunnelSides("PartTunnelSides"), PartPlaneSides("PartPlaneSides"), PartExportSides("PartExportSides"), PartImportSides("PartImportSides"),
|
|
|
|
|
|
|
|
PartWirelessSides("PartWirelessSides"), PartStorageSides("PartStorageSides"), PartStorageBack("PartStorageBack");
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
final private String name;
|
2014-02-09 02:34:52 +01:00
|
|
|
public IIcon IIcon;
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
public static ResourceLocation GuiTexture(String string)
|
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getName()
|
|
|
|
{
|
|
|
|
return name;
|
|
|
|
}
|
|
|
|
|
|
|
|
private CableBusTextures(String name) {
|
|
|
|
this.name = name;
|
|
|
|
}
|
|
|
|
|
2014-02-09 02:34:52 +01:00
|
|
|
public IIcon getIcon()
|
2013-12-27 23:59:59 +01:00
|
|
|
{
|
2014-02-09 02:34:52 +01:00
|
|
|
return IIcon;
|
2013-12-27 23:59:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public void registerIcon(TextureMap map)
|
|
|
|
{
|
2014-02-09 02:34:52 +01:00
|
|
|
IIcon = map.registerIcon( "appliedenergistics2:" + name );
|
2013-12-27 23:59:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@SideOnly(Side.CLIENT)
|
2014-02-09 02:34:52 +01:00
|
|
|
public static IIcon getMissing()
|
2013-12-27 23:59:59 +01:00
|
|
|
{
|
|
|
|
return ((TextureMap) Minecraft.getMinecraft().getTextureManager().getTexture( TextureMap.locationBlocksTexture )).getAtlasSprite( "missingno" );
|
|
|
|
}
|
|
|
|
}
|