Guest User

ClientProxy

a guest
Dec 24th, 2015
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.57 KB | None | 0 0
  1. package com.chef.mod.proxy;
  2.  
  3. import com.chef.mod.init.MyBlocks;
  4. import com.chef.mod.renderer.MilkBarrelRenderer;
  5.  
  6. import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
  7. import cpw.mods.fml.client.registry.RenderingRegistry;
  8.  
  9. public class ClientProxy extends CommonProxy {
  10.  
  11.     public static int milkBarrelRenderType;
  12.  
  13.     public void registerProxies() {
  14.        
  15.        
  16.  
  17.     }
  18.  
  19.     public static void setCustomRenderers() {
  20.        
  21.         milkBarrelRenderType = RenderingRegistry.getNextAvailableRenderId();
  22.         RenderingRegistry.registerBlockHandler(new MilkBarrelRenderer());
  23.        
  24.     }
  25. }
Add Comment
Please, Sign In to add comment