forked from Starsetter/Decorative-Chimney-Mod-1.1710.1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ClientProxy.java
60 lines (46 loc) · 3.21 KB
/
ClientProxy.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package com.DecorativeChimney;
import com.DecorativeChimney.InventoryRenders.InvBlock;
import com.DecorativeChimney.InventoryRenders.ItemChimney1Render;
import com.DecorativeChimney.InventoryRenders.ItemChimney2Render;
import com.DecorativeChimney.Models.ModelChimney1;
import com.DecorativeChimney.Models.ModelChimney2;
import com.DecorativeChimney.TileEntityRenders.*;
import net.minecraftforge.client.IItemRenderer;
import net.minecraftforge.client.MinecraftForgeClient;
import cpw.mods.fml.client.registry.ClientRegistry;
import cpw.mods.fml.client.registry.RenderingRegistry;
public class ClientProxy extends CommonProxy
{
@Override
public void registerRenderers()
{
}
public void preInitLoading()
{
}
public void initRenders()
{
DecorativeChimneyCore.blockHollowBricksModelID = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(DecorativeChimneyCore.blockHollowBricksModelID, new InvBlock());
DecorativeChimneyCore.blockMantelCornerModelID = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(DecorativeChimneyCore.blockMantelCornerModelID, new InvBlock());
DecorativeChimneyCore.blockMantelCenterModelID = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(DecorativeChimneyCore.blockMantelCenterModelID, new InvBlock());
DecorativeChimneyCore.blockMantelSideModelID = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(DecorativeChimneyCore.blockMantelSideModelID, new InvBlock());
DecorativeChimneyCore.blockMantelPlainSideModelID = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(DecorativeChimneyCore.blockMantelPlainSideModelID, new InvBlock());
DecorativeChimneyCore.blockMantelFootModelID = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(DecorativeChimneyCore.blockMantelFootModelID, new InvBlock());
DecorativeChimneyCore.blockChimney1ModelID = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(DecorativeChimneyCore.blockChimney1ModelID, new InvBlock());
DecorativeChimneyCore.blockChimney2ModelID = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(DecorativeChimneyCore.blockChimney2ModelID, new InvBlock());
DecorativeChimneyCore.blockChimney3ModelID = RenderingRegistry.getNextAvailableRenderId();
RenderingRegistry.registerBlockHandler(DecorativeChimneyCore.blockChimney3ModelID, new InvBlock());
ClientRegistry.bindTileEntitySpecialRenderer(com.DecorativeChimney.TileEntities.TileEntityLogs.class, new TileEntityLogsRender());
ClientRegistry.bindTileEntitySpecialRenderer(com.DecorativeChimney.TileEntities.TileEntityChimney1.class, new TileEntityChimney1Render());
ClientRegistry.bindTileEntitySpecialRenderer(com.DecorativeChimney.TileEntities.TileEntityChimney2.class, new TileEntityChimney2Render());
ClientRegistry.bindTileEntitySpecialRenderer(com.DecorativeChimney.TileEntities.TileEntityChimney3.class, new TileEntityChimney3Render());
}
}