SHARE
TWEET

ClientProxy.java

a guest Mar 16th, 2019 109 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package club.slickyfox.afism.proxy;
  2.  
  3. import net.minecraft.client.renderer.block.model.ModelResourceLocation;
  4. import net.minecraft.item.Item;
  5. import net.minecraftforge.client.model.ModelLoader;
  6. public class ClientProxy extends CommonProxy {
  7.  
  8.     @Override
  9.     public void registerItemRenderer(Item item, int meta, String id) {
  10.         ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id));
  11.     }
  12.  
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top