2013-08-26 18:57:08 -04:00
|
|
|
package mekanism.client.render.entity;
|
2013-05-19 18:43:01 -04:00
|
|
|
|
2013-08-26 18:49:32 -04:00
|
|
|
import mekanism.client.model.ModelRobit;
|
2013-08-26 18:57:08 -04:00
|
|
|
import mekanism.common.util.MekanismUtils;
|
|
|
|
import mekanism.common.util.MekanismUtils.ResourceType;
|
2013-06-28 19:43:45 -04:00
|
|
|
import net.minecraft.client.renderer.entity.RenderLiving;
|
2013-07-20 12:10:14 -04:00
|
|
|
import net.minecraft.entity.Entity;
|
|
|
|
import net.minecraft.util.ResourceLocation;
|
2013-05-29 11:35:30 -04:00
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
2013-05-19 18:43:01 -04:00
|
|
|
|
2013-05-29 11:35:30 -04:00
|
|
|
@SideOnly(Side.CLIENT)
|
2013-05-19 18:43:01 -04:00
|
|
|
public class RenderRobit extends RenderLiving
|
|
|
|
{
|
|
|
|
public RenderRobit()
|
|
|
|
{
|
|
|
|
super(new ModelRobit(), 0.5F);
|
|
|
|
}
|
2013-07-20 12:10:14 -04:00
|
|
|
|
|
|
|
@Override
|
2013-09-28 02:59:47 +01:00
|
|
|
protected ResourceLocation getEntityTexture(Entity entity)
|
2013-07-20 12:10:14 -04:00
|
|
|
{
|
|
|
|
return MekanismUtils.getResource(ResourceType.RENDER, "Robit.png");
|
|
|
|
}
|
2013-05-19 18:43:01 -04:00
|
|
|
}
|