From 9aedb8e33e04654018db03e3b2c4994ecccb6149 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Mon, 25 Apr 2016 12:32:53 +1000 Subject: 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. --- src/Java/miscutil/core/lib/CORE.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/Java/miscutil/core/lib') 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 GT_BlockIconload = new ArrayList(); public static final Class 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, -- cgit