From a1504799f44ba2debdfef06317f24e7f9c1129d6 Mon Sep 17 00:00:00 2001 From: aerospark Date: Tue, 23 Jun 2015 15:29:05 -0700 Subject: strip linenumbers --- .../gregtech/common/tools/GT_Tool_WireCutter.java | 232 ++++++++++----------- 1 file changed, 116 insertions(+), 116 deletions(-) (limited to 'main/java/gregtech/common/tools/GT_Tool_WireCutter.java') diff --git a/main/java/gregtech/common/tools/GT_Tool_WireCutter.java b/main/java/gregtech/common/tools/GT_Tool_WireCutter.java index 51836fd220..4e1054869b 100644 --- a/main/java/gregtech/common/tools/GT_Tool_WireCutter.java +++ b/main/java/gregtech/common/tools/GT_Tool_WireCutter.java @@ -1,122 +1,122 @@ -/* 1: */ package gregtech.common.tools; -/* 2: */ -/* 3: */ import gregtech.api.GregTech_API; -/* 4: */ import gregtech.api.enums.Materials; +package gregtech.common.tools; + +import gregtech.api.GregTech_API; +import gregtech.api.enums.Materials; import gregtech.api.enums.Textures; -/* 5: */ import gregtech.api.enums.Textures.ItemIcons; -/* 6: */ import gregtech.api.interfaces.IIconContainer; -/* 7: */ import gregtech.api.items.GT_MetaGenerated_Tool; +import gregtech.api.enums.Textures.ItemIcons; +import gregtech.api.interfaces.IIconContainer; +import gregtech.api.items.GT_MetaGenerated_Tool; + +import java.util.Map; -/* 8: */ import java.util.Map; +import net.minecraft.block.Block; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ChatComponentText; +import net.minecraft.util.EnumChatFormatting; +import net.minecraft.util.IChatComponent; -/* 9: */ import net.minecraft.block.Block; -/* 10: */ import net.minecraft.entity.EntityLivingBase; -/* 11: */ import net.minecraft.item.ItemStack; -/* 12: */ import net.minecraft.util.ChatComponentText; -/* 13: */ import net.minecraft.util.EnumChatFormatting; -/* 14: */ import net.minecraft.util.IChatComponent; -/* 15: */ -/* 16: */ public class GT_Tool_WireCutter -/* 17: */ extends GT_Tool -/* 18: */ { -/* 19: */ public int getToolDamagePerBlockBreak() -/* 20: */ { -/* 21: 17 */ return 100; -/* 22: */ } -/* 23: */ -/* 24: */ public int getToolDamagePerDropConversion() -/* 25: */ { -/* 26: 22 */ return 100; -/* 27: */ } -/* 28: */ -/* 29: */ public int getToolDamagePerContainerCraft() -/* 30: */ { -/* 31: 27 */ return 400; -/* 32: */ } -/* 33: */ -/* 34: */ public int getToolDamagePerEntityAttack() -/* 35: */ { -/* 36: 32 */ return 200; -/* 37: */ } -/* 38: */ -/* 39: */ public int getBaseQuality() -/* 40: */ { -/* 41: 37 */ return 0; -/* 42: */ } -/* 43: */ -/* 44: */ public float getBaseDamage() -/* 45: */ { -/* 46: 42 */ return 1.25F; -/* 47: */ } -/* 48: */ -/* 49: */ public float getSpeedMultiplier() -/* 50: */ { -/* 51: 47 */ return 1.0F; -/* 52: */ } -/* 53: */ -/* 54: */ public float getMaxDurabilityMultiplier() -/* 55: */ { -/* 56: 52 */ return 1.0F; -/* 57: */ } -/* 58: */ -/* 59: */ public String getCraftingSound() -/* 60: */ { -/* 61: 57 */ return null; -/* 62: */ } -/* 63: */ -/* 64: */ public String getEntityHitSound() -/* 65: */ { -/* 66: 62 */ return null; -/* 67: */ } -/* 68: */ -/* 69: */ public String getBreakingSound() -/* 70: */ { -/* 71: 67 */ return (String)GregTech_API.sSoundList.get(Integer.valueOf(0)); -/* 72: */ } -/* 73: */ -/* 74: */ public String getMiningSound() -/* 75: */ { -/* 76: 72 */ return null; -/* 77: */ } -/* 78: */ -/* 79: */ public boolean canBlock() -/* 80: */ { -/* 81: 77 */ return false; -/* 82: */ } -/* 83: */ -/* 84: */ public boolean isCrowbar() -/* 85: */ { -/* 86: 82 */ return false; -/* 87: */ } -/* 88: */ -/* 89: */ public boolean isMinableBlock(Block aBlock, byte aMetaData) -/* 90: */ { -/* 91: 87 */ String tTool = aBlock.getHarvestTool(aMetaData); -/* 92: 88 */ return (tTool != null) && (tTool.equals("cutter")); -/* 93: */ } -/* 94: */ -/* 95: */ public ItemStack getBrokenItem(ItemStack aStack) -/* 96: */ { -/* 97: 93 */ return null; -/* 98: */ } -/* 99: */ -/* 100: */ public IIconContainer getIcon(boolean aIsToolHead, ItemStack aStack) -/* 101: */ { -/* 102: 98 */ return aIsToolHead ? Textures.ItemIcons.WIRE_CUTTER : null; -/* 103: */ } -/* 104: */ -/* 105: */ public short[] getRGBa(boolean aIsToolHead, ItemStack aStack) -/* 106: */ { -/* 107:103 */ return aIsToolHead ? GT_MetaGenerated_Tool.getPrimaryMaterial(aStack).mRGBa : GT_MetaGenerated_Tool.getSecondaryMaterial(aStack).mRGBa; -/* 108: */ } -/* 109: */ -/* 110: */ public void onStatsAddedToTool(GT_MetaGenerated_Tool aItem, int aID) {} -/* 111: */ -/* 112: */ public IChatComponent getDeathMessage(EntityLivingBase aPlayer, EntityLivingBase aEntity) -/* 113: */ { -/* 114:113 */ return new ChatComponentText(EnumChatFormatting.GREEN + aPlayer.getCommandSenderName() + EnumChatFormatting.WHITE + " has cut the Cable for the Life Support Machine of " + EnumChatFormatting.RED + aEntity.getCommandSenderName() + EnumChatFormatting.WHITE); -/* 115: */ } -/* 116: */ } +public class GT_Tool_WireCutter + extends GT_Tool +{ + public int getToolDamagePerBlockBreak() + { + return 100; + } + + public int getToolDamagePerDropConversion() + { + return 100; + } + + public int getToolDamagePerContainerCraft() + { + return 400; + } + + public int getToolDamagePerEntityAttack() + { + return 200; + } + + public int getBaseQuality() + { + return 0; + } + + public float getBaseDamage() + { + return 1.25F; + } + + public float getSpeedMultiplier() + { + return 1.0F; + } + + public float getMaxDurabilityMultiplier() + { + return 1.0F; + } + + public String getCraftingSound() + { + return null; + } + + public String getEntityHitSound() + { + return null; + } + + public String getBreakingSound() + { + return (String)GregTech_API.sSoundList.get(Integer.valueOf(0)); + } + + public String getMiningSound() + { + return null; + } + + public boolean canBlock() + { + return false; + } + + public boolean isCrowbar() + { + return false; + } + + public boolean isMinableBlock(Block aBlock, byte aMetaData) + { + String tTool = aBlock.getHarvestTool(aMetaData); + return (tTool != null) && (tTool.equals("cutter")); + } + + public ItemStack getBrokenItem(ItemStack aStack) + { + return null; + } + + public IIconContainer getIcon(boolean aIsToolHead, ItemStack aStack) + { + return aIsToolHead ? Textures.ItemIcons.WIRE_CUTTER : null; + } + + public short[] getRGBa(boolean aIsToolHead, ItemStack aStack) + { + return aIsToolHead ? GT_MetaGenerated_Tool.getPrimaryMaterial(aStack).mRGBa : GT_MetaGenerated_Tool.getSecondaryMaterial(aStack).mRGBa; + } + + public void onStatsAddedToTool(GT_MetaGenerated_Tool aItem, int aID) {} + + public IChatComponent getDeathMessage(EntityLivingBase aPlayer, EntityLivingBase aEntity) + { + return new ChatComponentText(EnumChatFormatting.GREEN + aPlayer.getCommandSenderName() + EnumChatFormatting.WHITE + " has cut the Cable for the Life Support Machine of " + EnumChatFormatting.RED + aEntity.getCommandSenderName() + EnumChatFormatting.WHITE); + } +} /* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar -- cgit