1a50aa2290
Minor changes: removed unused imports and random blocks of whitespace
37 lines
No EOL
1.1 KiB
Java
37 lines
No EOL
1.1 KiB
Java
package StevenDimDoors.mod_pocketDimClient;
|
|
import net.minecraft.src.ModLoader;
|
|
import StevenDimDoors.mod_pocketDim.CommonProxy;
|
|
import StevenDimDoors.mod_pocketDim.ticking.MobMonolith;
|
|
import StevenDimDoors.mod_pocketDim.tileentities.TileEntityDimDoor;
|
|
import cpw.mods.fml.client.registry.ClientRegistry;
|
|
import cpw.mods.fml.client.registry.RenderingRegistry;
|
|
|
|
|
|
public class ClientProxy extends CommonProxy
|
|
{
|
|
|
|
@Override
|
|
public void registerRenderers()
|
|
{
|
|
//MinecraftForgeClient.preloadTexture(BLOCK_PNG);
|
|
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDimDoor.class, new RenderDimDoor());
|
|
//This code activates the new rift rendering, as well as a bit of code in TileEntityRift
|
|
//ClientRegistry.bindTileEntitySpecialRenderer(TileEntityRift.class, new RenderRift());
|
|
|
|
//MinecraftForgeClient.preloadTexture(RIFT2_PNG);
|
|
RenderingRegistry.registerEntityRenderingHandler(MobMonolith.class, new RenderMobObelisk(.5F));
|
|
}
|
|
|
|
@Override
|
|
public void loadTextures()
|
|
{
|
|
|
|
}
|
|
|
|
@Override
|
|
public void printStringClient(String string)
|
|
{
|
|
ModLoader.getMinecraftInstance().ingameGUI.getChatGUI().printChatMessage(string);
|
|
}
|
|
|
|
} |