Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Adjust recipe catalysts
Browse files Browse the repository at this point in the history
  • Loading branch information
miozune committed Dec 3, 2023
1 parent 82b7a40 commit 276cbf1
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ public Collection<RecipeMap<?>> getAvailableRecipeMaps() {
return Arrays.asList(RecipeMaps.arcFurnaceRecipes, RecipeMaps.plasmaArcFurnaceRecipes);
}

@Override
public int getRecipeCatalystPriority() {
return -1;
}

@Override
protected ProcessingLogic createProcessingLogic() {
return new ProcessingLogic().setSpeedBonus(1F / 3.5F).setMaxParallelSupplier(this::getMaxParallelRecipes);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ public Collection<RecipeMap<?>> getAvailableRecipeMaps() {
return Arrays.asList(RecipeMaps.cutterRecipes, RecipeMaps.slicerRecipes);
}

@Override
public int getRecipeCatalystPriority() {
return -1;
}

@Override
protected ProcessingLogic createProcessingLogic() {
return new ProcessingLogic().setSpeedBonus(1F / 3F).setEuModifier(0.75F)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ public RecipeMap<?> getRecipeMap() {
return RecipeMaps.extruderRecipes;
}

@Override
public int getRecipeCatalystPriority() {
return -1;
}

@Override
protected ProcessingLogic createProcessingLogic() {
return new ProcessingLogic().setSpeedBonus(1F / 3.5F).setMaxParallelSupplier(this::getMaxParallelRecipes);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
import static gregtech.api.enums.GT_HatchElement.OutputBus;
import static gregtech.api.util.GT_StructureUtility.buildHatchAdder;

import java.util.Arrays;
import java.util.Collection;

import javax.annotation.Nonnull;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
Expand Down Expand Up @@ -137,6 +142,17 @@ public RecipeMap<?> getRecipeMap() {
return mFormingMode ? RecipeMaps.formingPressRecipes : RecipeMaps.benderRecipes;
}

@Nonnull
@Override
public Collection<RecipeMap<?>> getAvailableRecipeMaps() {
return Arrays.asList(RecipeMaps.formingPressRecipes, RecipeMaps.benderRecipes);
}

@Override
public int getRecipeCatalystPriority() {
return -1;
}

@Override
protected ProcessingLogic createProcessingLogic() {
return new ProcessingLogic().setSpeedBonus(1F / 6F).setMaxParallelSupplier(this::getMaxParallelRecipes);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ public RecipeMap<?> getRecipeMap() {
return RecipeMaps.sifterRecipes;
}

@Override
public int getRecipeCatalystPriority() {
return -1;
}

@Override
public void onPreTick(final IGregTechTileEntity aBaseMetaTileEntity, final long aTick) {
super.onPreTick(aBaseMetaTileEntity, aTick);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ public RecipeMap<?> getRecipeMap() {
return RecipeMaps.wiremillRecipes;
}

@Override
public int getRecipeCatalystPriority() {
return -1;
}

@Override
protected ProcessingLogic createProcessingLogic() {
return new ProcessingLogic().setSpeedBonus(1F / 3F).setEuModifier(0.75F)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ public RecipeMap<?> getRecipeMap() {
return RecipeMaps.blastFurnaceRecipes;
}

@Override
public int getRecipeCatalystPriority() {
return -1;
}

@Override
public boolean isCorrectMachinePart(ItemStack aStack) {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,11 @@ public RecipeMap<?> getRecipeMap() {
return RecipeMaps.implosionRecipes;
}

@Override
public int getRecipeCatalystPriority() {
return -1;
}

@Override
public boolean isCorrectMachinePart(ItemStack aStack) {
return true;
Expand Down

0 comments on commit 276cbf1

Please sign in to comment.