The return of achievements

- Re-added achievements
- Organised all imports (seemed all over the place)
- Formatted all code (seemed very combined, used the TinkerStyle)
This commit is contained in:
Arthur Uzulin committed 2014-09-09 18:30:15 +10:00
1 parent ae2d8d6e4d
commit 80efde613a
419 files changed
+2406 -4144

No files matched your search

@@ -21,7 +21,7 @@ public class ModAttack extends ItemModTypeFilter
threshold = 24;
modifierType = "Tool";
}
public ModAttack(String type, int effect, ItemStack[] items, int[] value, int max, int threshold, String modifierType)
{
super(effect, "ModAttack", items, value);
@@ -41,7 +41,7 @@ public class ModAttack extends ItemModTypeFilter
if (!validType(toolItem))
return false;
if(matchingAmount(input) > max)
if (matchingAmount(input) > max)
return false;
NBTTagCompound tags = tool.getTagCompound().getCompoundTag(toolItem.getBaseTagName());
@@ -57,7 +57,7 @@ public class ModAttack extends ItemModTypeFilter
}
return false;
}
@Override
public boolean validType (IModifyable input)
{