Mekanism-tilera-Edition/common/mekanism/client/render/entity/RenderRobit.java

26 lines
681 B
Java
Raw Normal View History

package mekanism.client.render.entity;
import mekanism.client.model.ModelRobit;
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;
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);
}
2013-07-20 18:10:14 +02:00
@Override
protected ResourceLocation getEntityTexture(Entity entity)
2013-07-20 18:10:14 +02:00
{
return MekanismUtils.getResource(ResourceType.RENDER, "Robit.png");
}
}