diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2016-04-25 12:32:53 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2016-04-25 12:32:53 +1000 |
commit | 9aedb8e33e04654018db03e3b2c4994ecccb6149 (patch) | |
tree | 07153f1d5718af8a6dd94debdcd9e6c43d9f6bbe /src/Java/miscutil/core/lib | |
parent | d0d5d53dad03639177a244ce159c30ee56c43b32 (diff) | |
download | GT5-Unofficial-9aedb8e33e04654018db03e3b2c4994ecccb6149.tar.gz GT5-Unofficial-9aedb8e33e04654018db03e3b2c4994ecccb6149.tar.bz2 GT5-Unofficial-9aedb8e33e04654018db03e3b2c4994ecccb6149.zip |
Implemented the groundwork for some custom textures.
Not using them currently though, as they cause the client to crash.
Will debug more & use default turbine textures for now.
Diffstat (limited to 'src/Java/miscutil/core/lib')
-rw-r--r-- | src/Java/miscutil/core/lib/CORE.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Java/miscutil/core/lib/CORE.java b/src/Java/miscutil/core/lib/CORE.java index 1b920fa8bf..f19d0dc12d 100644 --- a/src/Java/miscutil/core/lib/CORE.java +++ b/src/Java/miscutil/core/lib/CORE.java @@ -1,8 +1,13 @@ package miscutil.core.lib; +import java.util.ArrayList; +import java.util.List; import java.util.Map; import miscutil.core.creative.AddToCreativeTab; +import net.minecraft.client.renderer.texture.IIconRegister; +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; public class CORE { @@ -15,8 +20,9 @@ public class CORE { public static Map PlayerCache; public static final String[] VOLTAGES = {"ULV","LV","MV","HV","EV","IV","LuV","ZPM","UV","MAX"}; - - + @SideOnly(Side.CLIENT) + public static IIconRegister GT_BlockIcons, GT_ItemIcons; + public static List<Runnable> GT_BlockIconload = new ArrayList<Runnable>(); public static final Class<AddToCreativeTab> TAB = AddToCreativeTab.class; //GUIS @@ -32,7 +38,7 @@ public class CORE { TEX_DIR = "textures/", TEX_DIR_GUI = TEX_DIR + "gui/", TEX_DIR_ITEM = TEX_DIR + "items/", - TEX_DIR_BLOCK = TEX_DIR + "blocks/", + TEX_DIR_BLOCK = TEX_DIR/* + "blocks/"*/, TEX_DIR_ENTITY = TEX_DIR + "entity/", TEX_DIR_ASPECTS = TEX_DIR + "aspects/", RES_PATH = MODID + ":" + TEX_DIR, |