mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 20:52:26 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
83698cb73c
commit
84c2239244
561 files changed
+8872
-9300
No files matched your search
@@ -1,16 +1,19 @@
|
||||
package tconstruct.items.tools;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.*;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.*;
|
||||
|
||||
import tconstruct.library.crafting.ToolBuilder;
|
||||
import tconstruct.library.tools.*;
|
||||
import tconstruct.tools.TinkerTools;
|
||||
|
||||
public class Hammer extends AOEHarvestTool {
|
||||
|
||||
public Hammer() {
|
||||
super(2, 1, 0);
|
||||
this.setUnlocalizedName("InfiTool.Hammer");
|
||||
@@ -41,9 +44,8 @@ public class Hammer extends AOEHarvestTool {
|
||||
return materials;
|
||||
}
|
||||
|
||||
static Material[] materials =
|
||||
new Material[] {Material.rock, Material.iron, Material.ice, Material.glass, Material.piston, Material.anvil
|
||||
};
|
||||
static Material[] materials = new Material[] { Material.rock, Material.iron, Material.ice, Material.glass,
|
||||
Material.piston, Material.anvil };
|
||||
|
||||
@Override
|
||||
public Item getHeadItem() {
|
||||
@@ -150,6 +152,6 @@ public class Hammer extends AOEHarvestTool {
|
||||
|
||||
@Override
|
||||
public String[] getTraits() {
|
||||
return new String[] {"weapon", "harvest", "melee", "bludgeoning"};
|
||||
return new String[] { "weapon", "harvest", "melee", "bludgeoning" };
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user