GT5-Unofficial/main/java/gregtech/common/tools/GT_Tool_Drill_MV.java

63 lines
2.1 KiB
Java
Raw Normal View History

2015-04-23 16:14:22 +00:00
/* 1: */ package gregtech.common.tools;
/* 2: */
/* 3: */ import gregtech.GT_Mod;
import gregtech.api.enums.Textures;
/* 4: */ import gregtech.api.enums.Textures.ItemIcons;
/* 5: */ import gregtech.api.interfaces.IIconContainer;
/* 6: */ import gregtech.common.GT_Proxy;
/* 7: */ import net.minecraft.item.ItemStack;
/* 8: */
/* 9: */ public class GT_Tool_Drill_MV
/* 10: */ extends GT_Tool_Drill_LV
/* 11: */ {
/* 12: */ public int getToolDamagePerBlockBreak()
/* 13: */ {
/* 14:13 */ return GT_Mod.gregtechproxy.mHardRock ? 100 : 200;
/* 15: */ }
/* 16: */
/* 17: */ public int getToolDamagePerDropConversion()
/* 18: */ {
/* 19:18 */ return 400;
/* 20: */ }
/* 21: */
/* 22: */ public int getToolDamagePerContainerCraft()
/* 23: */ {
/* 24:23 */ return 3200;
/* 25: */ }
/* 26: */
/* 27: */ public int getToolDamagePerEntityAttack()
/* 28: */ {
/* 29:28 */ return 800;
/* 30: */ }
/* 31: */
/* 32: */ public int getBaseQuality()
/* 33: */ {
/* 34:33 */ return 1;
/* 35: */ }
/* 36: */
/* 37: */ public float getBaseDamage()
/* 38: */ {
/* 39:38 */ return 2.5F;
/* 40: */ }
/* 41: */
/* 42: */ public float getSpeedMultiplier()
/* 43: */ {
/* 44:43 */ return 6.0F;
/* 45: */ }
/* 46: */
/* 47: */ public float getMaxDurabilityMultiplier()
/* 48: */ {
/* 49:48 */ return 2.0F;
/* 50: */ }
/* 51: */
/* 52: */ public IIconContainer getIcon(boolean aIsToolHead, ItemStack aStack)
/* 53: */ {
/* 54:53 */ return aIsToolHead ? gregtech.api.items.GT_MetaGenerated_Tool.getPrimaryMaterial(aStack).mIconSet.mTextures[gregtech.api.enums.OrePrefixes.toolHeadDrill.mTextureIndex] : Textures.ItemIcons.POWER_UNIT_MV;
/* 55: */ }
/* 56: */ }
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
* Qualified Name: gregtech.common.tools.GT_Tool_Drill_MV
* JD-Core Version: 0.7.0.1
*/