From 72b41bcec1393e8fa11197687b27573b049ef176 Mon Sep 17 00:00:00 2001 From: drcrazy Date: Sat, 2 Jul 2022 11:43:41 +0300 Subject: [PATCH] Removed compressor recipe for iridium alloy plate. --- .../machine/compressor/CompressorRecipesProvider.groovy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/datagen/groovy/techreborn/datagen/recipes/machine/compressor/CompressorRecipesProvider.groovy b/src/datagen/groovy/techreborn/datagen/recipes/machine/compressor/CompressorRecipesProvider.groovy index f97d9d1d5..94725e589 100644 --- a/src/datagen/groovy/techreborn/datagen/recipes/machine/compressor/CompressorRecipesProvider.groovy +++ b/src/datagen/groovy/techreborn/datagen/recipes/machine/compressor/CompressorRecipesProvider.groovy @@ -38,6 +38,10 @@ class CompressorRecipesProvider extends TechRebornRecipesProvider { @Override void generateRecipes() { TRContent.Plates.values().each {plate -> + if (plate == TRContent.Plates.IRIDIUM_ALLOY) { + // Iridium alloy plate should be gated behind Implosion Compressor + return + } if (plate.getSource() != null) { var ingredient = TagConvertible.convertIf(plate.getSource()) offerCompressorRecipe {