From de10b35ef9df34a4179372c04f9756221319f616 Mon Sep 17 00:00:00 2001 From: 90 Date: Thu, 2 May 2024 18:31:09 +0100 Subject: [PATCH] Blacklist quantum entangled singularity EMC via mapper --- src/main/java/gripe/_90/appliede/AppliedE.java | 1 - .../gripe/_90/appliede/emc/TransformRecipeTypeMapper.java | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/gripe/_90/appliede/AppliedE.java b/src/main/java/gripe/_90/appliede/AppliedE.java index 95f79d0..9821850 100644 --- a/src/main/java/gripe/_90/appliede/AppliedE.java +++ b/src/main/java/gripe/_90/appliede/AppliedE.java @@ -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); }); } diff --git a/src/main/java/gripe/_90/appliede/emc/TransformRecipeTypeMapper.java b/src/main/java/gripe/_90/appliede/emc/TransformRecipeTypeMapper.java index 54fb1a9..bc023e0 100644 --- a/src/main/java/gripe/_90/appliede/emc/TransformRecipeTypeMapper.java +++ b/src/main/java/gripe/_90/appliede/emc/TransformRecipeTypeMapper.java @@ -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; @@ -38,6 +39,10 @@ protected Collection 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) {