27 lines
923 B
Java
27 lines
923 B
Java
package WayofTime.alchemicalWizardry.common.renderer.mob;
|
|
|
|
import WayofTime.alchemicalWizardry.common.entity.mob.EntityShade;
|
|
import net.minecraft.client.model.ModelBase;
|
|
import net.minecraft.client.renderer.entity.RenderLiving;
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.util.ResourceLocation;
|
|
|
|
public class RenderShade extends RenderLiving
|
|
{
|
|
private static final ResourceLocation field_110833_a = new ResourceLocation("alchemicalwizardry", "textures/models/ShadeMob.png"); //refers to:YourMod/modelsTextureFile/optionalFile/yourTexture.png
|
|
|
|
public RenderShade(ModelBase par1ModelBase, float par2)
|
|
{
|
|
super(par1ModelBase, par2);
|
|
}
|
|
|
|
public ResourceLocation func_110832_a(EntityShade par1EntityShade)
|
|
{
|
|
return field_110833_a;
|
|
}
|
|
|
|
public ResourceLocation getEntityTexture(Entity par1Entity)
|
|
{
|
|
return this.func_110832_a((EntityShade) par1Entity);
|
|
}
|
|
} |