Skip to content

Commit

Permalink
Blacklist quantum entangled singularity EMC via mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed May 2, 2024
1 parent ac9d71b commit de10b35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/gripe/_90/appliede/AppliedE.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ public AppliedE() {
registerEMC(AEItems.CALCULATION_PROCESSOR_PRESS, 2048);
registerEMC(AEItems.ENGINEERING_PROCESSOR_PRESS, 2048);
registerEMC(AEItems.LOGIC_PROCESSOR_PRESS, 2048);
registerEMC(AEItems.QUANTUM_ENTANGLED_SINGULARITY, 0);
registerEMC(AEParts.CABLE_ANCHOR, 32);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import net.minecraft.world.item.crafting.RecipeType;

import appeng.core.definitions.AEBlocks;
import appeng.core.definitions.AEItems;
import appeng.recipes.transform.TransformCircumstance;
import appeng.recipes.transform.TransformRecipe;

Expand Down Expand Up @@ -38,6 +39,10 @@ protected Collection<Ingredient> getIngredients(Recipe<?> recipe) {
return Collections.emptyList();
}

if (transform.getResultItem().is(AEItems.QUANTUM_ENTANGLED_SINGULARITY.asItem())) {
return Collections.emptyList();
}

var ingredients = super.getIngredients(recipe);

if (transform.circumstance == TransformCircumstance.EXPLOSION) {
Expand Down

0 comments on commit de10b35

Please sign in to comment.