Skip to content

Commit

Permalink
formatting?
Browse files Browse the repository at this point in the history
  • Loading branch information
eve336 committed Dec 17, 2024
1 parent bd32839 commit dc886e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ public static void processBlock(TagPrefix blockPrefix, Material material, DustPr
ItemStack blockStack = ChemicalHelper.get(blockPrefix, material.hasFlag(IS_MAGNETIC) ?
material.getProperty(PropertyKey.INGOT).getMacerateInto() : material);
long materialAmount = blockPrefix.getMaterialAmount(material);
if (material.hasFluid()&& !material.hasFlag(NO_SOLIDIFYING)) {
if (material.hasFluid() && !material.hasFlag(NO_SOLIDIFYING)) {
FLUID_SOLIDFICATION_RECIPES.recipeBuilder("solidify_" + material.getName() + "_block")
.notConsumable(GTItems.SHAPE_MOLD_BLOCK)
.inputFluids(material.getFluid((int) (materialAmount * L / M)))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static void processGear(TagPrefix gearPrefix, Material material, DustProp
}
}

if (material.hasFluid()&& !material.hasFlag(NO_SOLIDIFYING)) {
if (material.hasFluid() && !material.hasFlag(NO_SOLIDIFYING)) {
boolean isSmall = gearPrefix == gearSmall;
FLUID_SOLIDFICATION_RECIPES.recipeBuilder("solidify_" + material.getName() + "_" + gearPrefix.name)
.notConsumable(isSmall ? GTItems.SHAPE_MOLD_GEAR_SMALL : GTItems.SHAPE_MOLD_GEAR)
Expand Down Expand Up @@ -279,7 +279,7 @@ public static void processLens(TagPrefix lensPrefix, Material material, GemPrope

public static void processPlate(TagPrefix platePrefix, Material material, DustProperty property,
Consumer<FinishedRecipe> provider) {
if (material.hasFluid()&& !material.hasFlag(NO_SOLIDIFYING)) {
if (material.hasFluid() && !material.hasFlag(NO_SOLIDIFYING)) {
FLUID_SOLIDFICATION_RECIPES.recipeBuilder("solidify_" + material.getName() + "_to_plate")
.notConsumable(GTItems.SHAPE_MOLD_PLATE)
.inputFluids(material.getFluid(L))
Expand Down Expand Up @@ -405,7 +405,7 @@ public static void processRotor(TagPrefix rotorPrefix, Material material, IngotP
'S', new UnificationEntry(screw, material),
'R', new UnificationEntry(ring, material));

if (material.hasFluid()&& !material.hasFlag(NO_SOLIDIFYING)) {
if (material.hasFluid() && !material.hasFlag(NO_SOLIDIFYING)) {
FLUID_SOLIDFICATION_RECIPES.recipeBuilder("solidify_" + material.getName() + "_to_rotor")
.notConsumable(GTItems.SHAPE_MOLD_ROTOR)
.inputFluids(material.getFluid(L * 4))
Expand Down

0 comments on commit dc886e9

Please sign in to comment.