/FileExtraction/Java_unseen/trychen_ChinaCraft/src/main/java/unstudio/chinacraft/item/combat/CCBuddhistMonksKnife.java
package unstudio.chinacraft.item.combat;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemSword;
import unstudio.chinacraft.client.render.item.SpecialItemRender;
import unstudio.chinacraft.common.ChinaCraft;
import unstudio.chinacraft.util.ItemLoreHelper;
import unstudio.chinacraft.util.annotation.register.ISpecialEquippedRender;

import java.util.List;

/**
 * Created by trychen on 17/5/28.
 */
public class CCBuddhistMonksKnife extends ItemSword implements ISpecialEquippedRender {
    public CCBuddhistMonksKnife(ToolMaterial toolMaterial) {
        super(toolMaterial);
        setUnlocalizedName("buddhist_monks_knife");
        setMaxDamage(200);
        setCreativeTab(ChinaCraft.tabTool);
    }

    public int getDamage(){
        return (int) func_150931_i();
    }

    @Override
    public void doRender() {

    }

    @Override
    public SpecialItemRender.RenderType getSpecialRenderType() {
        return SpecialItemRender.RenderType.huge;
    }

    @SideOnly(Side.CLIENT)
    public void addInformation(ItemStack p_77624_1_, EntityPlayer p_77624_2_, List p_77624_3_, boolean p_77624_4_) {
        ItemLoreHelper.shiftLoreWithStat(p_77624_3_,getUnlocalizedName());
    }
}