[ci skip] spotlessApply with the new settings

This commit is contained in:
Jason Mitchell committed 2023-01-28 18:04:28 -08:00
1 parent 83698cb73c
commit 84c2239244
561 files changed
+8872 -9300

No files matched your search

@@ -1,12 +1,15 @@
package tconstruct.modifiers.tools;
import java.util.Arrays;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import tconstruct.library.modifier.IModifyable;
import tconstruct.library.tools.ToolCore;
public class ModAttack extends ItemModTypeFilter {
String tooltipName;
int max;
int threshold;
@@ -37,8 +40,8 @@ public class ModAttack extends ItemModTypeFilter {
}
// gloves
public ModAttack(
String type, int effect, ItemStack[] items, int[] value, int max, int threshold, String modifierType) {
public ModAttack(String type, int effect, ItemStack[] items, int[] value, int max, int threshold,
String modifierType) {
super(effect, "ModAttack", items, value);
tooltipName = "\u00a7fKnuckles";
guiType = type;
@@ -112,7 +115,7 @@ public class ModAttack extends ItemModTypeFilter {
int increase = matchingAmount(input);
String modName = "\u00a7f" + guiType + " (" + increase + "/" + max + ")";
int tooltipIndex = addToolTip(tool, tooltipName, modName);
int[] keyPair = new int[] {increase, max, tooltipIndex};
int[] keyPair = new int[] { increase, max, tooltipIndex };
tags.setIntArray(key, keyPair);
int attack = tags.getInteger("Attack");