GT5-Unofficial/src/main/java/gregtech/api/enums/Textures.java

674 lines
42 KiB
Java
Raw Normal View History

2015-04-23 16:14:22 +00:00
package gregtech.api.enums;
import gregtech.api.GregTech_API;
import gregtech.api.interfaces.IIconContainer;
import gregtech.api.interfaces.ITexture;
import gregtech.api.objects.GT_RenderedTexture;
import gregtech.api.objects.GT_SidedTexture;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.util.IIcon;
import net.minecraft.util.ResourceLocation;
2015-10-22 02:06:25 +00:00
import static gregtech.api.enums.GT_Values.RES_PATH_BLOCK;
import static gregtech.api.enums.GT_Values.RES_PATH_ITEM;
2015-04-23 16:14:22 +00:00
public class Textures {
2015-10-22 02:06:25 +00:00
public enum BlockIcons implements IIconContainer, Runnable {
VOID // The Empty Texture
, RENDERING_ERROR, PIPE_RESTRICTOR, INSULATION_FULL, INSULATION_TINY, INSULATION_SMALL, INSULATION_MEDIUM, INSULATION_LARGE, INSULATION_HUGE, CFOAM_FRESH, CFOAM_HARDENED, SOLARPANEL, SOLARPANEL_8V, SOLARPANEL_LV, SOLARPANEL_MV, SOLARPANEL_HV, SOLARPANEL_EV, SOLARPANEL_IV, SOLARPANEL_LuV, SOLARPANEL_ZPM, SOLARPANEL_UV, VENT_NORMAL, VENT_ADVANCED, COVER_WOOD_PLATE, ARROW_UP, ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, AUTOMATION_FILTER, AUTOMATION_TYPEFILTER, AUTOMATION_CHESTBUFFER, AUTOMATION_SUPERBUFFER, AUTOMATION_REGULATOR, CONCRETE_LIGHT_STONE, CONCRETE_LIGHT_COBBLE, CONCRETE_LIGHT_COBBLE_MOSSY, CONCRETE_LIGHT_BRICKS, CONCRETE_LIGHT_BRICKS_CRACKED, CONCRETE_LIGHT_BRICKS_MOSSY, CONCRETE_LIGHT_BRICKS_CHISELED, CONCRETE_LIGHT_SMOOTH, CONCRETE_DARK_STONE, CONCRETE_DARK_COBBLE, CONCRETE_DARK_COBBLE_MOSSY, CONCRETE_DARK_BRICKS, CONCRETE_DARK_BRICKS_CRACKED, CONCRETE_DARK_BRICKS_MOSSY, CONCRETE_DARK_BRICKS_CHISELED, CONCRETE_DARK_SMOOTH, GRANITE_BLACK_STONE, GRANITE_BLACK_COBBLE, GRANITE_BLACK_COBBLE_MOSSY, GRANITE_BLACK_BRICKS, GRANITE_BLACK_BRICKS_CRACKED, GRANITE_BLACK_BRICKS_MOSSY, GRANITE_BLACK_BRICKS_CHISELED, GRANITE_BLACK_SMOOTH, GRANITE_RED_STONE, GRANITE_RED_COBBLE, GRANITE_RED_COBBLE_MOSSY, GRANITE_RED_BRICKS, GRANITE_RED_BRICKS_CRACKED, GRANITE_RED_BRICKS_MOSSY, GRANITE_RED_BRICKS_CHISELED, GRANITE_RED_SMOOTH, MACHINE_BRONZEBRICKS_TOP, MACHINE_BRONZEBRICKS_SIDE, MACHINE_BRONZEBRICKS_BOTTOM, MACHINE_STEELBRICKS_TOP, MACHINE_STEELBRICKS_SIDE, MACHINE_STEELBRICKS_BOTTOM, MACHINE_BRONZE_TOP, MACHINE_BRONZE_SIDE, MACHINE_BRONZE_BOTTOM, MACHINE_STEEL_TOP, MACHINE_STEEL_SIDE, MACHINE_STEEL_BOTTOM, MACHINE_8V_TOP, MACHINE_8V_SIDE, MACHINE_8V_BOTTOM, MACHINE_LV_TOP, MACHINE_LV_SIDE, MACHINE_LV_BOTTOM, MACHINE_MV_TOP, MACHINE_MV_SIDE, MACHINE_MV_BOTTOM, MACHINE_HV_TOP, MACHINE_HV_SIDE, MACHINE_HV_BOTTOM, MACHINE_EV_TOP, MACHINE_EV_SIDE, MACHINE_EV_BOTTOM, MACHINE_IV_TOP, MACHINE_IV_SIDE, MACHINE_IV_BOTTOM, MACHINE_LuV_TOP, MACHINE_LuV_SIDE, MACHINE_LuV_BOTTOM, MACHINE_ZPM_TOP, MACHINE_ZPM_SIDE, MACHINE_ZPM_BOTTOM, MACHINE_UV_TOP, MACHINE_UV_SIDE, MACHINE_UV_BOTTOM, MACHINE_MAX_TOP, MACHINE_MAX_SIDE, MACHINE_MAX_BOTTOM, MACHINE_BRONZEPLATEDBRICKS, MACHINE_HEATPROOFCASING, MACHINE_BRONZEBLASTFURNACE, MACHINE_BRONZEBLASTFURNACE_ACTIVE, MACHINE_CASING_ROBUST_TUNGSTENSTEEL, MACHINE_CASING_CLEAN_STAINLESSSTEEL, MACHINE_CASING_STABLE_TITANIUM, MACHINE_CASING_FIREBOX_TITANIUM, MACHINE_CASING_FUSION_COIL, MACHINE_CASING_FUSION, MACHINE_CASING_FUSION_GLASS, MACHINE_CASING_FUSION_GLASS_YELLOW, MACHINE_CASING_FUSION_2, MACHINE_CASING_MAGIC, MACHINE_CASING_MAGIC_ACTIVE, MACHINE_CASING_MAGIC_FRONT, MACHINE_CASING_MAGIC_FRONT_ACTIVE, MACHINE_CASING_DRAGONEGG, MACHINE_CASING_SOLID_STEEL, MACHINE_CASING_FROST_PROOF, MACHINE_CASING_PUMP, MACHINE_CASING_MOTOR, MACHINE_CASING_PIPE_BRONZE, MACHINE_CASING_PIPE_STEEL, MACHINE_CASING_PIPE_TITANIUM, MACHINE_CASING_PIPE_TUNGSTENSTEEL, MACHINE_CASING_GEARBOX_BRONZE, MACHINE_CASING_GEARBOX_STEEL, MACHINE_CASING_GEARBOX_TITANIUM, MACHINE_CASING_GEARBOX_TUNGSTENSTEEL, MACHINE_CASING_DATA_DRIVE, MACHINE_CASING_CONTAINMENT_FIELD, MACHINE_CASING_ASSEMBLER, MACHINE_CASING_PROCESSOR, MACHINE_CASING_STRIPES_A, MACHINE_CASING_STRIPES_B, MACHINE_CASING_RADIOACTIVEHAZARD, MACHINE_CASING_BIOHAZARD, MACHINE_CASING_EXPLOSIONHAZARD, MACHINE_CASING_FIREHAZARD, MACHINE_CASING_ACIDHAZARD, MACHINE_CASING_MAGICHAZARD, MACHINE_CASING_FROSTHAZARD, MACHINE_CASING_NOISEHAZARD, MACHINE_CASING_GRATE, MACHINE_CASING_VENT, MACHINE_CASING_RADIATIONPROOF, MACHINE_CASING_FIREBOX_BRONZE, MACHINE_CASING_FIREBOX_STEEL, MACHINE_CASING_FIREBOX_TUNGSTENSTEEL, BOILER_SOLAR, BOILER_FRONT, BOILER_FRONT_ACTIVE, BOILER_LAVA_FRONT, BOILER_LAVA_FRONT_ACTIVE, NAQUADAH_REACTOR_SOLID_BACK, NAQUADAH_REACTOR_SOLID_FRONT, NAQUADAH_REACTOR_SOLID_SIDE, NAQUADAH_REACTOR_SOLID_BOTTOM, NAQUADAH_REACTOR_SOLID_TOP, NAQUADAH_REACTOR_SOLID_BACK_ACTIVE, NAQUADAH_REACTOR_SOLID_FRONT_ACTIVE, NAQUADAH_REACTOR_SOLID_SIDE_ACTIVE, NAQUADAH_REACTOR_SOLID_BOTTOM_ACTIVE, NAQUADAH_REACTOR_SOLID_TOP_ACTIVE, NAQUADAH_REACTOR_FLUID_BACK, NAQUADAH_REACTOR_FLUID_FRONT, NA
2015-10-22 02:06:25 +00:00
/**
* Icon for Fresh CFoam
*/
public static final ITexture[] FRESHFOAM = new ITexture[]{new GT_RenderedTexture(CFOAM_FRESH)};
/**
* Icons for Hardened CFoam
* 0 = No Color
* 1 - 16 = Colors
*/
public static final ITexture[][] HARDENEDFOAMS = new ITexture[][]{
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.CONSTRUCTION_FOAM.mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[0].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[1].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[2].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[3].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[4].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[5].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[6].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[7].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[8].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[9].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[10].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[11].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[12].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[13].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[14].mRGBa)},
new ITexture[]{new GT_RenderedTexture(CFOAM_HARDENED, Dyes.VALUES[15].mRGBa)}
};
/**
* Machine Casings by Tier
* 0 = 8V, 1 = LV, 2 = MV, 3 = HV, 4 = EV, 5 = IV, 6 = IV, 7 = IV, 8 = IV, 9 = IV
*/
public static final IIconContainer[]
MACHINECASINGS_SIDE = new IIconContainer[]{
MACHINE_8V_SIDE,
MACHINE_LV_SIDE,
MACHINE_MV_SIDE,
MACHINE_HV_SIDE,
MACHINE_EV_SIDE,
MACHINE_IV_SIDE,
MACHINE_LuV_SIDE,
MACHINE_ZPM_SIDE,
MACHINE_UV_SIDE,
MACHINE_MAX_SIDE,
MACHINE_MAX_SIDE,
MACHINE_MAX_SIDE,
MACHINE_MAX_SIDE,
MACHINE_MAX_SIDE,
MACHINE_MAX_SIDE,
MACHINE_MAX_SIDE,
},
MACHINECASINGS_TOP = new IIconContainer[]{
MACHINE_8V_TOP,
MACHINE_LV_TOP,
MACHINE_MV_TOP,
MACHINE_HV_TOP,
MACHINE_EV_TOP,
MACHINE_IV_TOP,
MACHINE_LuV_TOP,
MACHINE_ZPM_TOP,
MACHINE_UV_TOP,
MACHINE_MAX_TOP,
MACHINE_MAX_TOP,
MACHINE_MAX_TOP,
MACHINE_MAX_TOP,
MACHINE_MAX_TOP,
MACHINE_MAX_TOP,
MACHINE_MAX_TOP,
},
MACHINECASINGS_BOTTOM = new IIconContainer[]{
MACHINE_8V_BOTTOM,
MACHINE_LV_BOTTOM,
MACHINE_MV_BOTTOM,
MACHINE_HV_BOTTOM,
MACHINE_EV_BOTTOM,
MACHINE_IV_BOTTOM,
MACHINE_LuV_BOTTOM,
MACHINE_ZPM_BOTTOM,
MACHINE_UV_BOTTOM,
MACHINE_MAX_BOTTOM,
MACHINE_MAX_BOTTOM,
MACHINE_MAX_BOTTOM,
MACHINE_MAX_BOTTOM,
MACHINE_MAX_BOTTOM,
MACHINE_MAX_BOTTOM,
MACHINE_MAX_BOTTOM,
},
GRANITES = new IIconContainer[]{
GRANITE_BLACK_STONE,
GRANITE_BLACK_COBBLE,
GRANITE_BLACK_COBBLE_MOSSY,
GRANITE_BLACK_BRICKS,
GRANITE_BLACK_BRICKS_CRACKED,
GRANITE_BLACK_BRICKS_MOSSY,
GRANITE_BLACK_BRICKS_CHISELED,
GRANITE_BLACK_SMOOTH,
GRANITE_RED_STONE,
GRANITE_RED_COBBLE,
GRANITE_RED_COBBLE_MOSSY,
GRANITE_RED_BRICKS,
GRANITE_RED_BRICKS_CRACKED,
GRANITE_RED_BRICKS_MOSSY,
GRANITE_RED_BRICKS_CHISELED,
GRANITE_RED_SMOOTH,
},
CONCRETES = new IIconContainer[]{
CONCRETE_DARK_STONE,
CONCRETE_DARK_COBBLE,
CONCRETE_DARK_COBBLE_MOSSY,
CONCRETE_DARK_BRICKS,
CONCRETE_DARK_BRICKS_CRACKED,
CONCRETE_DARK_BRICKS_MOSSY,
CONCRETE_DARK_BRICKS_CHISELED,
CONCRETE_DARK_SMOOTH,
CONCRETE_LIGHT_STONE,
CONCRETE_LIGHT_COBBLE,
CONCRETE_LIGHT_COBBLE_MOSSY,
CONCRETE_LIGHT_BRICKS,
CONCRETE_LIGHT_BRICKS_CRACKED,
CONCRETE_LIGHT_BRICKS_MOSSY,
CONCRETE_LIGHT_BRICKS_CHISELED,
CONCRETE_LIGHT_SMOOTH,
},
TURBINE = new IIconContainer[]{
LARGETURBINE_ST1,
LARGETURBINE_ST2,
LARGETURBINE_ST3,
LARGETURBINE_ST4,
LARGETURBINE_ST5,
LARGETURBINE_ST6,
LARGETURBINE_ST7,
LARGETURBINE_ST8,
LARGETURBINE_ST9
2015-10-22 02:06:25 +00:00
},
TURBINE_ACTIVE = new IIconContainer[]{
LARGETURBINE_ST_ACTIVE1,
LARGETURBINE_ST_ACTIVE2,
LARGETURBINE_ST_ACTIVE3,
LARGETURBINE_ST_ACTIVE4,
LARGETURBINE_ST_ACTIVE5,
LARGETURBINE_ST_ACTIVE6,
LARGETURBINE_ST_ACTIVE7,
LARGETURBINE_ST_ACTIVE8,
LARGETURBINE_ST_ACTIVE9
},
TURBINE1 = new IIconContainer[]{
LARGETURBINE_SS1,
LARGETURBINE_SS2,
LARGETURBINE_SS3,
LARGETURBINE_SS4,
LARGETURBINE_SS5,
LARGETURBINE_SS6,
LARGETURBINE_SS7,
LARGETURBINE_SS8,
LARGETURBINE_SS9
},
TURBINE_ACTIVE1 = new IIconContainer[]{
LARGETURBINE_SS_ACTIVE1,
LARGETURBINE_SS_ACTIVE2,
LARGETURBINE_SS_ACTIVE3,
LARGETURBINE_SS_ACTIVE4,
LARGETURBINE_SS_ACTIVE5,
LARGETURBINE_SS_ACTIVE6,
LARGETURBINE_SS_ACTIVE7,
LARGETURBINE_SS_ACTIVE8,
LARGETURBINE_SS_ACTIVE9
},
TURBINE2 = new IIconContainer[]{
LARGETURBINE_TI1,
LARGETURBINE_TI2,
LARGETURBINE_TI3,
LARGETURBINE_TI4,
LARGETURBINE_TI5,
LARGETURBINE_TI6,
LARGETURBINE_TI7,
LARGETURBINE_TI8,
LARGETURBINE_TI9
},
TURBINE_ACTIVE2 = new IIconContainer[]{
LARGETURBINE_TI_ACTIVE1,
LARGETURBINE_TI_ACTIVE2,
LARGETURBINE_TI_ACTIVE3,
LARGETURBINE_TI_ACTIVE4,
LARGETURBINE_TI_ACTIVE5,
LARGETURBINE_TI_ACTIVE6,
LARGETURBINE_TI_ACTIVE7,
LARGETURBINE_TI_ACTIVE8,
LARGETURBINE_TI_ACTIVE9
},
TURBINE3 = new IIconContainer[]{
LARGETURBINE_TU1,
LARGETURBINE_TU2,
LARGETURBINE_TU3,
LARGETURBINE_TU4,
LARGETURBINE_TU5,
LARGETURBINE_TU6,
LARGETURBINE_TU7,
LARGETURBINE_TU8,
LARGETURBINE_TU9
},
TURBINE_ACTIVE3 = new IIconContainer[]{
LARGETURBINE_TU_ACTIVE1,
LARGETURBINE_TU_ACTIVE2,
LARGETURBINE_TU_ACTIVE3,
LARGETURBINE_TU_ACTIVE4,
LARGETURBINE_TU_ACTIVE5,
LARGETURBINE_TU_ACTIVE6,
LARGETURBINE_TU_ACTIVE7,
LARGETURBINE_TU_ACTIVE8,
LARGETURBINE_TU_ACTIVE9
2015-10-22 02:06:25 +00:00
},
CONNECTED_HULLS = new IIconContainer[]{
CONCRETE_DARK_STONE,
FUSIONI_1,
FUSIONI_2,
FUSIONI_3,
FUSIONI_4,
FUSIONI_5,
FUSIONI_6,
FUSIONI_7,
FUSIONI_8,
FUSIONI_9,
FUSIONI_10,
FUSIONI_11,
FUSIONI_12,
FUSIONII_1,
FUSIONII_2,
FUSIONII_3,
FUSIONII_4,
FUSIONII_5,
FUSIONII_6,
FUSIONII_7,
FUSIONII_8,
FUSIONII_9,
FUSIONII_10,
FUSIONII_11,
FUSIONII_12,
},
STORAGE_BLOCKS1 = new IIconContainer[]{
BLOCK_ADAMANTIUM,
BLOCK_ALUMINIUM,
BLOCK_AMERICIUM,
BLOCK_ANNEALEDCOPPER,
BLOCK_ANTIMONY,
BLOCK_ARSENIC,
BLOCK_ASTRALSILVER,
BLOCK_BATTERYALLOY,
BLOCK_BERYLLIUM,
BLOCK_BISMUTH,
BLOCK_BISMUTHBRONZE,
BLOCK_BLACKBRONZE,
BLOCK_BLACKSTEEL,
BLOCK_BLUEALLOY,
BLOCK_BLUESTEEL,
BLOCK_BRASS
},
STORAGE_BLOCKS2 = new IIconContainer[]{
BLOCK_BRONZE,
BLOCK_CAESIUM,
BLOCK_CERIUM,
BLOCK_CHROME,
BLOCK_CHROMIUMDIOXIDE,
BLOCK_COBALT,
BLOCK_COBALTBRASS,
BLOCK_COPPER,
BLOCK_CUPRONICKEL,
BLOCK_DAMASCUSSTEEL,
BLOCK_DARKIRON,
BLOCK_DEEPIRON,
BLOCK_DESH,
BLOCK_DURANIUM,
BLOCK_DYSPROSIUM,
BLOCK_ELECTRUM
},
STORAGE_BLOCKS3 = new IIconContainer[]{
BLOCK_ELECTRUMFLUX,
BLOCK_ENDERIUM,
BLOCK_ERBIUM,
BLOCK_EUROPIUM,
BLOCK_FIERYSTEEL,
BLOCK_GADOLINIUM,
BLOCK_GALLIUM,
BLOCK_HOLMIUM,
BLOCK_HSLA,
BLOCK_INDIUM,
BLOCK_INFUSEDGOLD,
BLOCK_INVAR,
BLOCK_IRIDIUM,
BLOCK_IRONMAGNETIC,
BLOCK_IRONWOOD,
BLOCK_KANTHAL
},
STORAGE_BLOCKS4 = new IIconContainer[]{
BLOCK_KNIGHTMETAL,
BLOCK_LANTHANUM,
BLOCK_LEAD,
BLOCK_LUTETIUM,
BLOCK_MAGNALIUM,
BLOCK_MAGNESIUM,
BLOCK_MANGANESE,
BLOCK_METEORICIRON,
BLOCK_METEORICSTEEL,
BLOCK_MIDASIUM,
BLOCK_MITHRIL,
BLOCK_MOLYBDENUM,
BLOCK_NAQUADAH,
BLOCK_NAQUADAHALLOY,
BLOCK_NAQUADAHENRICHED,
BLOCK_NAQUADRIA
},
STORAGE_BLOCKS5 = new IIconContainer[]{
BLOCK_NEODYMIUM,
BLOCK_NEODYMIUMMAGNETIC,
BLOCK_NEUTRONIUM,
BLOCK_NICHROME,
BLOCK_NICKEL,
BLOCK_NIOBIUM,
BLOCK_NIOBIUMNITRIDE,
BLOCK_NIOBIUMTITANIUM,
BLOCK_OSMIRIDIUM,
BLOCK_OSMIUM,
BLOCK_PALLADIUM,
BLOCK_PIGIRON,
BLOCK_PLATINUM,
BLOCK_PLUTONIUM,
BLOCK_PLUTONIUM241,
BLOCK_PRASEODYMIUM
},
STORAGE_BLOCKS6 = new IIconContainer[]{
BLOCK_PROMETHIUM,
BLOCK_REDALLOY,
BLOCK_REDSTEEL,
BLOCK_ROSEGOLD,
BLOCK_RUBIDIUM,
BLOCK_SAMARIUM,
BLOCK_SCANDIUM,
BLOCK_SHADOWIRON,
BLOCK_SHADOWSTEEL,
BLOCK_SILICON,
BLOCK_SILVER,
BLOCK_SOLDERINGALLOY,
BLOCK_STAINLESSSTEEL,
BLOCK_STEEL,
BLOCK_STEELMAGNETIC,
BLOCK_STERLINGSILVER
},
STORAGE_BLOCKS7 = new IIconContainer[]{
BLOCK_SUNNARIUM,
BLOCK_TANTALUM,
BLOCK_TELLURIUM,
BLOCK_TERBIUM,
BLOCK_THAUMIUM,
BLOCK_THORIUM,
BLOCK_THULIUM,
BLOCK_TIN,
BLOCK_TINALLOY,
BLOCK_TITANIUM,
BLOCK_TRITANIUM,
BLOCK_TUNGSTEN,
BLOCK_TUNGSTENSTEEL,
BLOCK_ULTIMET,
BLOCK_URANIUM,
BLOCK_URANIUM235
},
STORAGE_BLOCKS8 = new IIconContainer[]{
BLOCK_VANADIUM,
BLOCK_VANADIUMGALLIUM,
BLOCK_WROUGHTIRON,
BLOCK_YTTRBIUM,
BLOCK_YTTRIUM,
BLOCK_YTTRIUMBARIUMCUPRATE,
BLOCK_ZINC,
BLOCK_TUNGSTENCARBIDE,
BLOCK_VANADIUMSTEEL,
BLOCK_HSSG,
BLOCK_HSSE,
BLOCK_HSSS
},
STORAGE_BLOCKS9 = new IIconContainer[]{
BLOCK_AERCRYSTAL,
BLOCK_AMBER,
BLOCK_AMETHYST,
BLOCK_AQUACRYSTAL,
BLOCK_BLUETOPAZ,
BLOCK_CERTUSQUARTZ,
BLOCK_DILITHIUM,
BLOCK_ENDEREYE,
BLOCK_ENDERPEARL,
BLOCK_FOOLSRUBY,
BLOCK_FORCE,
BLOCK_FORCICIUM,
BLOCK_FORCILLIUM,
BLOCK_GREENSAPPHIRE,
BLOCK_IGNISCRYSTAL,
BLOCK_JASPER
},
STORAGE_BLOCKS10 = new IIconContainer[]{
BLOCK_LAZURITE,
BLOCK_LIGNITE,
BLOCK_MONAZITE,
BLOCK_NITER,
BLOCK_OLIVINE,
BLOCK_OPAL,
BLOCK_ORDOCRYSTAL,
BLOCK_PERDITIOCRYSTAL,
BLOCK_PHOSPHORUS,
BLOCK_QUARTZITE,
BLOCK_REDGARNET,
BLOCK_RUBY,
BLOCK_SAPPHIRE,
BLOCK_SODALITE,
BLOCK_TANZANITE,
BLOCK_TERRACRYSTAL
},
STORAGE_BLOCKS11 = new IIconContainer[]{
BLOCK_TOPAZ,
BLOCK_VINTEUM,
BLOCK_YELLOWGARNET,
BLOCK_NETHERSTAR,
BLOCK_CHARCOAL
};
public static ITexture[]
ERROR_RENDERING = new ITexture[]{
new GT_RenderedTexture(RENDERING_ERROR)
},
OVERLAYS_ENERGY_IN = new ITexture[]{
new GT_RenderedTexture(OVERLAY_ENERGY_IN, new short[]{220, 220, 220, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN, new short[]{220, 220, 220, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN, new short[]{255, 100, 0, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN, new short[]{255, 255, 30, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN, new short[]{128, 128, 128, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN, new short[]{240, 240, 245, 0}),
},
OVERLAYS_ENERGY_OUT = new ITexture[]{
new GT_RenderedTexture(OVERLAY_ENERGY_OUT, new short[]{220, 220, 220, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT, new short[]{220, 220, 220, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT, new short[]{255, 100, 0, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT, new short[]{255, 255, 30, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT, new short[]{128, 128, 128, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT, new short[]{240, 240, 245, 0}),
},
OVERLAYS_ENERGY_IN_MULTI = new ITexture[]{
new GT_RenderedTexture(OVERLAY_ENERGY_IN_MULTI, new short[]{220, 220, 220, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN_MULTI, new short[]{220, 220, 220, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN_MULTI, new short[]{255, 100, 0, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN_MULTI, new short[]{255, 255, 30, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN_MULTI, new short[]{128, 128, 128, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN_MULTI, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN_MULTI, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN_MULTI, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN_MULTI, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_IN_MULTI, new short[]{240, 240, 245, 0}),
},
OVERLAYS_ENERGY_OUT_MULTI = new ITexture[]{
new GT_RenderedTexture(OVERLAY_ENERGY_OUT_MULTI, new short[]{220, 220, 220, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT_MULTI, new short[]{220, 220, 220, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT_MULTI, new short[]{255, 100, 0, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT_MULTI, new short[]{255, 255, 30, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT_MULTI, new short[]{128, 128, 128, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT_MULTI, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT_MULTI, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT_MULTI, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT_MULTI, new short[]{240, 240, 245, 0}),
new GT_RenderedTexture(OVERLAY_ENERGY_OUT_MULTI, new short[]{240, 240, 245, 0}),
},
LOCKERS = new ITexture[]{
new GT_RenderedTexture(OVERLAY_LOCKER_000),
new GT_RenderedTexture(OVERLAY_LOCKER_001),
new GT_RenderedTexture(OVERLAY_LOCKER_002),
new GT_RenderedTexture(OVERLAY_LOCKER_003),
new GT_RenderedTexture(OVERLAY_LOCKER_004),
new GT_RenderedTexture(OVERLAY_LOCKER_005),
new GT_RenderedTexture(OVERLAY_LOCKER_006),
new GT_RenderedTexture(OVERLAY_LOCKER_007),
new GT_RenderedTexture(OVERLAY_LOCKER_008),
new GT_RenderedTexture(OVERLAY_LOCKER_009),
new GT_RenderedTexture(OVERLAY_LOCKER_010),
new GT_RenderedTexture(OVERLAY_LOCKER_011),
new GT_RenderedTexture(OVERLAY_LOCKER_012),
new GT_RenderedTexture(OVERLAY_LOCKER_013),
},
CASING_BLOCKS = new ITexture[128],
MACHINE_CASINGS[] = new ITexture[10][17];
static {
for (byte i = 0; i < MACHINE_CASINGS.length; i++)
for (byte j = 0; j < MACHINE_CASINGS[i].length; j++)
MACHINE_CASINGS[i][j] = new GT_SidedTexture(MACHINECASINGS_BOTTOM[i], MACHINECASINGS_TOP[i], MACHINECASINGS_SIDE[i], Dyes.getModulation(j - 1, Dyes.MACHINE_METAL.mRGBa));
}
protected IIcon mIcon;
private BlockIcons() {
GregTech_API.sGTBlockIconload.add(this);
}
@Override
public IIcon getIcon() {
return mIcon;
}
@Override
public IIcon getOverlayIcon() {
return null;
}
@Override
public void run() {
mIcon = GregTech_API.sBlockIcons.registerIcon(RES_PATH_BLOCK + "iconsets/" + this);
}
@Override
public ResourceLocation getTextureFile() {
return TextureMap.locationBlocksTexture;
}
public static class CustomIcon implements IIconContainer, Runnable {
protected IIcon mIcon;
protected String mIconName;
public CustomIcon(String aIconName) {
mIconName = aIconName;
GregTech_API.sGTBlockIconload.add(this);
}
@Override
public IIcon getIcon() {
return mIcon;
}
@Override
public IIcon getOverlayIcon() {
return null;
}
@Override
public void run() {
mIcon = GregTech_API.sBlockIcons.registerIcon(RES_PATH_BLOCK + mIconName);
}
@Override
public ResourceLocation getTextureFile() {
return TextureMap.locationBlocksTexture;
}
}
}
public enum ItemIcons implements IIconContainer, Runnable {
VOID // The Empty Texture
, RENDERING_ERROR, WRENCH, MORTAR, CROWBAR, JACKHAMMER, WIRE_CUTTER, KNIFE, BUTCHERYKNIFE, SICKLE, SCOOP, GRAFTER, PLUNGER, ROLLING_PIN, HANDLE_SWORD, HANDLE_FILE, HANDLE_SAW, HANDLE_SCREWDRIVER, HANDLE_BUZZSAW, HANDLE_ELECTRIC_SCREWDRIVER, HANDLE_SOLDERING, POWER_UNIT_LV, POWER_UNIT_MV, POWER_UNIT_HV, DURABILITY_BAR_0, DURABILITY_BAR_1, DURABILITY_BAR_2, DURABILITY_BAR_3, DURABILITY_BAR_4, DURABILITY_BAR_5, DURABILITY_BAR_6, DURABILITY_BAR_7, DURABILITY_BAR_8, ENERGY_BAR_0, ENERGY_BAR_1, ENERGY_BAR_2, ENERGY_BAR_3, ENERGY_BAR_4, ENERGY_BAR_5, ENERGY_BAR_6, ENERGY_BAR_7, ENERGY_BAR_8, TURBINE, TURBINE_SMALL, TURBINE_LARGE, TURBINE_HUGE;
public static final IIconContainer[]
DURABILITY_BAR = new IIconContainer[]{
DURABILITY_BAR_0,
DURABILITY_BAR_1,
DURABILITY_BAR_2,
DURABILITY_BAR_3,
DURABILITY_BAR_4,
DURABILITY_BAR_5,
DURABILITY_BAR_6,
DURABILITY_BAR_7,
DURABILITY_BAR_8,
},
ENERGY_BAR = new IIconContainer[]{
ENERGY_BAR_0,
ENERGY_BAR_1,
ENERGY_BAR_2,
ENERGY_BAR_3,
ENERGY_BAR_4,
ENERGY_BAR_5,
ENERGY_BAR_6,
ENERGY_BAR_7,
ENERGY_BAR_8,
};
public static final ITexture[] ERROR_RENDERING = new ITexture[]{new GT_RenderedTexture(RENDERING_ERROR)};
protected IIcon mIcon, mOverlay;
private ItemIcons() {
GregTech_API.sGTItemIconload.add(this);
}
@Override
public IIcon getIcon() {
return mIcon;
}
@Override
public IIcon getOverlayIcon() {
return mOverlay;
}
@Override
public ResourceLocation getTextureFile() {
return TextureMap.locationItemsTexture;
}
@Override
public void run() {
mIcon = GregTech_API.sItemIcons.registerIcon(RES_PATH_ITEM + "iconsets/" + this);
mOverlay = GregTech_API.sItemIcons.registerIcon(RES_PATH_ITEM + "iconsets/" + this + "_OVERLAY");
}
public static class CustomIcon implements IIconContainer, Runnable {
protected IIcon mIcon, mOverlay;
protected String mIconName;
public CustomIcon(String aIconName) {
mIconName = aIconName;
GregTech_API.sGTItemIconload.add(this);
}
@Override
public IIcon getIcon() {
return mIcon;
}
@Override
public IIcon getOverlayIcon() {
return mOverlay;
}
@Override
public void run() {
mIcon = GregTech_API.sItemIcons.registerIcon(RES_PATH_ITEM + mIconName);
mOverlay = GregTech_API.sItemIcons.registerIcon(RES_PATH_ITEM + mIconName + "_OVERLAY");
}
@Override
public ResourceLocation getTextureFile() {
return TextureMap.locationItemsTexture;
}
}
}
2015-04-23 16:14:22 +00:00
}