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