Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Dec 15, 2024
1 parent d897377 commit a848480
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/java/com/nomiceu/nomilabs/groovy/GroovyHelpers.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.util.function.Predicate;
import java.util.stream.Collectors;

import com.cleanroommc.groovyscript.helper.GroovyHelper;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTBase;
import net.minecraft.nbt.NBTTagCompound;
Expand All @@ -31,6 +30,7 @@
import com.cleanroommc.groovyscript.api.GroovyLog;
import com.cleanroommc.groovyscript.api.IIngredient;
import com.cleanroommc.groovyscript.compat.mods.ModSupport;
import com.cleanroommc.groovyscript.helper.GroovyHelper;
import com.cleanroommc.groovyscript.helper.ingredient.IngredientHelper;
import com.cleanroommc.groovyscript.helper.recipe.RecipeName;
import com.cleanroommc.groovyscript.registry.ReloadableRegistryManager;
Expand Down Expand Up @@ -198,7 +198,8 @@ public static void addRecipeOutputTooltip(ItemStack stack, String recipeName,
if (recipeName.contains(":"))
JEIPlugin.addGroovyRecipeOutputTooltip(stack, new ResourceLocation(recipeName), tooltip);
else
JEIPlugin.addGroovyRecipeOutputTooltip(stack, new ResourceLocation(GroovyHelper.getPackId(), recipeName), tooltip);
JEIPlugin.addGroovyRecipeOutputTooltip(stack,
new ResourceLocation(GroovyHelper.getPackId(), recipeName), tooltip);
}

public static void addRecipeInputTooltip(ResourceLocation recipeName, int slotIndex,
Expand All @@ -211,7 +212,8 @@ public static void addRecipeInputTooltip(String recipeName, int slotIndex,
if (recipeName.contains(":"))
JEIPlugin.addGroovyRecipeInputTooltip(new ResourceLocation(recipeName), slotIndex, tooltip);
else
JEIPlugin.addGroovyRecipeInputTooltip(new ResourceLocation(GroovyHelper.getPackId(), recipeName), slotIndex, tooltip);
JEIPlugin.addGroovyRecipeInputTooltip(new ResourceLocation(GroovyHelper.getPackId(), recipeName),
slotIndex, tooltip);
}

/* Hiding Ignore NBT */
Expand Down

0 comments on commit a848480

Please sign in to comment.