a04a266c17
Merging months of dev work into master. The update is playable, but untested.
39 lines
No EOL
1.3 KiB
Java
39 lines
No EOL
1.3 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 StevenDimDoors.mod_pocketDim.tileentities.TileEntityTransTrapdoor;
|
|
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());
|
|
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTransTrapdoor.class, new RenderTransTrapdoor());
|
|
//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);
|
|
}
|
|
|
|
} |