Guest User

RenderSanglier.java

a guest
Aug 13th, 2013
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package nyvelia.proxy;
  2.  
  3. import net.minecraft.client.model.ModelBase;
  4. import net.minecraft.client.renderer.entity.Render;
  5. import net.minecraft.entity.Entity;
  6. import net.minecraft.util.ResourceLocation;
  7. import nyvelia.common.MobSanglier;
  8.  
  9. public class RenderSanglier extends Render {
  10.  
  11. protected static final ResourceLocation texture = new ResourceLocation("Nyvelia:ModelSanglier.png");
  12.  
  13.     public RenderSanglier(ModelBase modelBase, float tailleOmbre)
  14.     {
  15.         super();
  16.     }
  17.  
  18.     protected ResourceLocation func_110870_a(MobSanglier entity)
  19.     {
  20.         return texture;
  21.     }
  22.    
  23.     @Override
  24.     protected ResourceLocation func_110775_a(Entity par1Entity)
  25.     {
  26.         return this.func_110870_a((MobSanglier)par1Entity);
  27.     }
  28.  
  29.     @Override
  30.     public void doRender(Entity entity, double d0, double d1, double d2, float f, float f1)
  31.     {
  32.         // ?
  33.     }
  34.  
  35. }
RAW Paste Data