Auto Format code

This commit is contained in:
modmuss50 2016-10-08 20:46:16 +01:00
parent 112b1657cf
commit 796df6c055
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
503 changed files with 12260 additions and 16291 deletions

View file

@ -3,31 +3,27 @@ package techreborn.items.tools;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Items;
import techreborn.config.ConfigTechReborn;
public class ItemAdvancedDrill extends ItemDrill
{
public ItemAdvancedDrill()
{
public class ItemAdvancedDrill extends ItemDrill {
public ItemAdvancedDrill() {
super(ToolMaterial.DIAMOND, "techreborn.advancedDrill", ConfigTechReborn.AdvancedDrillCharge,
ConfigTechReborn.AdvancedDrillTier, 4.0F, 20F);
ConfigTechReborn.AdvancedDrillTier, 4.0F, 20F);
this.cost = 250;
}
@Override
public boolean canHarvestBlock(IBlockState blockIn)
{
public boolean canHarvestBlock(IBlockState blockIn) {
return Items.DIAMOND_PICKAXE.canHarvestBlock(blockIn) || Items.DIAMOND_SHOVEL.canHarvestBlock(blockIn);
}
@Override
public String getTextureName(int damage)
{
public String getTextureName(int damage) {
return "techreborn:items/tool/advancedDrill";
}
@Override
public int getMaxMeta()
{
public int getMaxMeta() {
return 1;
}
}