SHARE
TWEET

Untitled

a guest Jan 17th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package net.mod.topazmod.proxy;
  2.  
  3. import java.util.HashMap;
  4. import java.util.Map;
  5.  
  6. import cpw.mods.fml.client.registry.ClientRegistry;
  7. import cpw.mods.fml.client.registry.RenderingRegistry;
  8. import cpw.mods.fml.common.eventhandler.SubscribeEvent;
  9. import cpw.mods.fml.relauncher.SideOnly;
  10. import net.minecraft.client.model.ModelBiped;
  11. import net.minecraft.item.Item;
  12. import net.minecraftforge.client.event.GuiScreenEvent.InitGuiEvent;
  13. import net.minecraftforge.common.MinecraftForge;
  14. import net.mod.topazmod.armorTopazia.ItemArmorTopaze;
  15. import net.mod.topazmod.gui.ChestFinderGui;
  16. import net.mod.topazmod.init.ItemMod;
  17. import net.mod.topazmod.models.ArmorTopaze;
  18.  
  19.  
  20.  
  21. public class ClientProxy extends CommonProxy
  22. {
  23.    
  24.     public static final Map<Item, ModelBiped> armorModelsHelmet = new HashMap<Item, ModelBiped>();
  25.    
  26.     public static int renderTesr;
  27.  
  28.     public void registerOverlay()
  29.     {
  30.         MinecraftForge.EVENT_BUS.register(new ChestFinderGui());
  31.     }
  32.     public void registerRenders()
  33.        {
  34.      MinecraftForge.EVENT_BUS.register(this);  
  35.        
  36.      
  37.      ArmorTopaze custom_armor = new ArmorTopaze(1F);
  38.      ArmorTopaze custom_legs = new ArmorTopaze(0.5F);
  39.      
  40.      armorModelsHelmet.put(ItemMod.armort_topaze_helmet, custom_armor);
  41.      armorModelsHelmet.put(ItemMod.armort_topaze_chestplate, custom_armor);
  42.      armorModelsHelmet.put(ItemMod.armort_topaze_legging, custom_legs);
  43.      armorModelsHelmet.put(ItemMod.armort_topaze_boots, custom_armor);
  44.        }
  45.  
  46. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top