package fr.jackcartersmith.ob.entities; import org.lwjgl.opengl.GL11; import fr.jackcartersmith.ob.models.ModelLaserLight; 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 LaserLightEntityRenderer extends RenderLiving { ModelLaserLight model = new ModelLaserLight(); private static final ResourceLocation Your_Texture = new ResourceLocation("ob", "textures/entity/laserLight.png"); public LaserLightEntityRenderer(ModelBase par1ModelBase, float par2) { super(par1ModelBase, par2); } /** * Returns the location of an entity's texture. Doesn't seem to be called unless you call Render.bindEntityTexture. */ protected ResourceLocation getEntityTexture(Entity entity) { return Your_Texture; } /** * Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then * handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic * (Render