Skip to content

Commit

Permalink
fix: spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
bruberu committed Jan 14, 2024
1 parent a031e6c commit 6a22239
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

import gregtech.api.fluids.store.FluidStorage;
import gregtech.api.fluids.store.FluidStorageKey;

import gregtech.api.fluids.store.FluidStorageKeys;

import gregtech.api.unification.material.Material;

import net.minecraftforge.fluids.Fluid;

import net.minecraftforge.fluids.FluidStack;

import org.jetbrains.annotations.NotNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package gregtech.loaders.recipe.handlers;

import gregtech.api.fluids.store.FluidStorageKey;
import gregtech.api.fluids.store.FluidStorageKeys;
import gregtech.api.recipes.ModHandler;
import gregtech.api.recipes.RecipeMaps;
Expand Down Expand Up @@ -469,7 +468,8 @@ public static void processBlock(OrePrefix blockPrefix, Material material, DustPr
if (material.hasFluid() && material.getProperty(PropertyKey.FLUID).solidifiesFrom(material) != null) {
RecipeMaps.FLUID_SOLIDFICATION_RECIPES.recipeBuilder()
.notConsumable(MetaItems.SHAPE_MOLD_BLOCK)
.fluidInputs(material.getProperty(PropertyKey.FLUID).solidifiesFrom(material, ((int) (materialAmount * L / M))))
.fluidInputs(material.getProperty(PropertyKey.FLUID).solidifiesFrom(material,
((int) (materialAmount * L / M))))
.outputs(blockStack)
.duration((int) material.getMass()).EUt(VA[ULV])
.buildAndRegister();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package gregtech.loaders.recipe.handlers;

import gregtech.api.fluids.store.FluidStorageKeys;
import gregtech.api.recipes.ModHandler;
import gregtech.api.recipes.RecipeBuilder;
import gregtech.api.recipes.RecipeMaps;
Expand All @@ -22,7 +21,6 @@

import net.minecraft.item.EnumDyeColor;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fluids.FluidStack;

import static gregtech.api.GTValues.*;
import static gregtech.api.recipes.RecipeMaps.BENDER_RECIPES;
Expand Down Expand Up @@ -206,7 +204,8 @@ public static void processGear(OrePrefix gearPrefix, Material material, DustProp
boolean isSmall = gearPrefix == OrePrefix.gearSmall;
RecipeMaps.FLUID_SOLIDFICATION_RECIPES.recipeBuilder()
.notConsumable(isSmall ? MetaItems.SHAPE_MOLD_GEAR_SMALL : MetaItems.SHAPE_MOLD_GEAR)
.fluidInputs(material.getProperty(PropertyKey.FLUID).solidifiesFrom(material, L * (isSmall ? 1 : 4)))
.fluidInputs(
material.getProperty(PropertyKey.FLUID).solidifiesFrom(material, L * (isSmall ? 1 : 4)))
.outputs(stack)
.duration(isSmall ? 20 : 100)
.EUt(VA[ULV])
Expand Down

0 comments on commit 6a22239

Please sign in to comment.