2015-01-30 20:16:32 +01:00
|
|
|
package ellpeck.someprettyrandomstuff.proxy;
|
2014-12-03 21:55:53 +01:00
|
|
|
|
2015-02-20 22:45:33 +01:00
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
import cpw.mods.fml.client.registry.ClientRegistry;
|
|
|
|
import ellpeck.someprettyrandomstuff.blocks.InitBlocks;
|
|
|
|
import ellpeck.someprettyrandomstuff.blocks.render.ModelCompost;
|
|
|
|
import ellpeck.someprettyrandomstuff.blocks.render.RenderItems;
|
|
|
|
import ellpeck.someprettyrandomstuff.blocks.render.RenderTileEntity;
|
|
|
|
import ellpeck.someprettyrandomstuff.tile.TileEntityCompost;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraftforge.client.MinecraftForgeClient;
|
|
|
|
|
2014-12-03 21:55:53 +01:00
|
|
|
@SuppressWarnings("unused")
|
|
|
|
public class ClientProxy implements IProxy{
|
|
|
|
|
2015-02-20 22:45:33 +01:00
|
|
|
@Override
|
2015-01-29 20:23:19 +01:00
|
|
|
public void preInit(){
|
2015-02-20 22:45:33 +01:00
|
|
|
|
2014-12-03 21:55:53 +01:00
|
|
|
}
|
|
|
|
|
2015-02-20 22:45:33 +01:00
|
|
|
@Override
|
2015-01-29 20:23:19 +01:00
|
|
|
public void init(){
|
2015-03-07 02:23:31 +01:00
|
|
|
ClientRegistry.bindTileEntitySpecialRenderer(TileEntityCompost.class, new RenderTileEntity(new ModelCompost()));
|
|
|
|
MinecraftForgeClient.registerItemRenderer(Item.getItemFromBlock(InitBlocks.blockCompost), new RenderItems(new ModelCompost()));
|
2014-12-03 21:55:53 +01:00
|
|
|
}
|
|
|
|
|
2015-02-20 22:45:33 +01:00
|
|
|
@Override
|
2015-01-29 20:23:19 +01:00
|
|
|
public void postInit(){
|
2015-02-20 22:45:33 +01:00
|
|
|
|
2014-12-03 21:55:53 +01:00
|
|
|
}
|
|
|
|
}
|