mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-18 19:39:12 +00:00
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:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user