25 lines
681 B
Java
25 lines
681 B
Java
package mekanism.client.render.entity;
|
|
|
|
import mekanism.client.model.ModelRobit;
|
|
import mekanism.common.util.MekanismUtils;
|
|
import mekanism.common.util.MekanismUtils.ResourceType;
|
|
import net.minecraft.client.renderer.entity.RenderLiving;
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.util.ResourceLocation;
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
|
|
@SideOnly(Side.CLIENT)
|
|
public class RenderRobit extends RenderLiving
|
|
{
|
|
public RenderRobit()
|
|
{
|
|
super(new ModelRobit(), 0.5F);
|
|
}
|
|
|
|
@Override
|
|
protected ResourceLocation getEntityTexture(Entity entity)
|
|
{
|
|
return MekanismUtils.getResource(ResourceType.RENDER, "Robit.png");
|
|
}
|
|
}
|