package net.minecraft.client.renderer.entity;

import net.minecraft.entity.Entity;
import net.minecraft.entity.projectile.EntityPotion;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;

public class RenderPotion extends RenderSnowball
{

    public RenderPotion(RenderManager p_i46136_1_, RenderItem p_i46136_2_)
    {
        super(p_i46136_1_, Items.potionitem, p_i46136_2_);
    }

    public ItemStack func_177085_a(EntityPotion p_177085_1_)
    {
        return new ItemStack(this.field_177084_a, 1, p_177085_1_.getPotionDamage());
    }

    public ItemStack func_177082_d(Entity p_177082_1_)
    {
        return this.func_177085_a((EntityPotion)p_177082_1_);
    }
}
