SHARE
TWEET

ClientProxy.java

GorgeousFreeman Dec 12th, 2018 16 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.vicmatskiv.mw;
  2.  
  3. import com.vicmatskiv.mw.CommonProxy;
  4. import com.vicmatskiv.weaponlib.ItemAttachment;
  5. import com.vicmatskiv.weaponlib.Weapon;
  6. import net.minecraft.block.Block;
  7. import net.minecraft.client.Minecraft;
  8. import net.minecraft.client.renderer.ItemModelMesher;
  9. import net.minecraft.client.renderer.RenderItem;
  10. import net.minecraft.client.renderer.block.model.ModelResourceLocation;
  11. import net.minecraft.item.Item;
  12. import net.minecraftforge.fml.common.event.FMLInitializationEvent;
  13.  
  14. public class ClientProxy extends CommonProxy {
  15.     @Override
  16.     protected boolean isClient() {
  17.         return true;
  18.     }
  19.  
  20.     @Override
  21.     public void init(Object mod, FMLInitializationEvent event) {
  22.         super.init(mod, event);
  23.         RenderItem renderItem = Minecraft.getMinecraft().getRenderItem();
  24.     }
  25. }
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