Advertisement
HalestormXV

Untitled

Jul 15th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.96 KB | None | 0 0
  1. package halestormxv.eAngelus.mobs.renders;
  2.  
  3. import halestormxv.eAngelus.main.Reference;
  4. import halestormxv.eAngelus.mobs.entitys.EntityPhantom;
  5. import net.minecraft.client.model.ModelBase;
  6. import net.minecraft.client.renderer.entity.RenderLiving;
  7. import net.minecraft.client.renderer.entity.RenderManager;
  8. import net.minecraft.util.ResourceLocation;
  9.  
  10. import javax.annotation.Nullable;
  11.  
  12. /**
  13.  * Created by Blaze on 7/15/2017.
  14.  */
  15. public class RenderPhantom extends RenderLiving<EntityPhantom>
  16. {
  17.     private static final ResourceLocation PHANTOM_TEXTURE = new ResourceLocation(Reference.MODID, "textures/entity/phantom/mobPhantom.png");
  18.  
  19.     public RenderPhantom(RenderManager rendermanagerIn, ModelBase modelbaseIn, float shadowsizeIn)
  20.     {
  21.         super(rendermanagerIn, modelbaseIn, shadowsizeIn);
  22.     }
  23.  
  24.     @Nullable
  25.     @Override
  26.     protected ResourceLocation getEntityTexture(EntityPhantom entity)
  27.     {
  28.         return PHANTOM_TEXTURE;
  29.     }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement