package twilightforest.client.renderer.entity;

import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.client.renderer.entity.layers.LayerHeldItem;
import twilightforest.entity.EntityTFKobold;

public class RenderTFKobold extends RenderTFBiped<EntityTFKobold> {

	public RenderTFKobold(RenderManager manager, ModelBiped modelBiped, float shadowSize, String textureName) {
		super(manager, modelBiped, shadowSize, textureName);
		this.addLayer(new LayerHeldItem(this));
	}

	/**
	 * How far down the arm should we render the equipped item?
	 */
	//TODO: AtomicBlom: Somehow introduce this into LayerHeldItem
	protected void func_82422_c() {
		GlStateManager.translate(0.0F, 0.01875F, 0.0F);
	}

}
