2013-02-18 03:46:16 +01:00
|
|
|
package StevenDimDoors.mod_pocketDimClient;
|
|
|
|
import cpw.mods.fml.client.registry.ClientRegistry;
|
|
|
|
import cpw.mods.fml.client.registry.RenderingRegistry;
|
|
|
|
import net.minecraft.src.ModLoader;
|
|
|
|
import net.minecraftforge.client.MinecraftForgeClient;
|
|
|
|
import StevenDimDoors.mod_pocketDim.CommonProxy;
|
|
|
|
import StevenDimDoors.mod_pocketDim.TileEntityDimDoor;
|
|
|
|
import StevenDimDoors.mod_pocketDim.mod_pocketDim;
|
|
|
|
|
|
|
|
|
|
|
|
public class ClientProxy extends CommonProxy
|
|
|
|
{
|
|
|
|
@Override
|
|
|
|
public void registerRenderers()
|
|
|
|
{
|
|
|
|
|
2013-03-29 23:19:27 +01:00
|
|
|
//MinecraftForgeClient.preloadTexture(BLOCK_PNG);
|
2013-02-18 03:46:16 +01:00
|
|
|
MinecraftForgeClient.preloadTexture(WARP_PNG);
|
|
|
|
MinecraftForgeClient.preloadTexture(RIFT_PNG);
|
|
|
|
|
2013-03-29 23:19:27 +01:00
|
|
|
//MinecraftForgeClient.preloadTexture(RIFT2_PNG);
|
2013-03-10 05:04:20 +01:00
|
|
|
|
2013-02-18 03:46:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void loadTextures()
|
|
|
|
{
|
|
|
|
|
2013-03-29 23:19:27 +01:00
|
|
|
|
2013-02-18 03:46:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDimDoor.class, new RenderDimDoor());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void printStringClient(String string)
|
|
|
|
{
|
|
|
|
|
|
|
|
ModLoader.getMinecraftInstance().ingameGUI.getChatGUI().printChatMessage(string);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|