Hide Quantum chest and tanks when quantumstorage is loaded

This commit is contained in:
modmuss50 2016-09-27 17:50:34 +01:00
parent fb6feac92f
commit 7b162009c2
3 changed files with 19 additions and 3 deletions

View file

@ -16,6 +16,7 @@ import techreborn.api.recipe.machines.AssemblingMachineRecipe;
import techreborn.api.recipe.machines.ImplosionCompressorRecipe;
import techreborn.client.container.*;
import techreborn.client.gui.*;
import techreborn.compat.CompatManager;
import techreborn.compat.jei.alloySmelter.AlloySmelterRecipeCategory;
import techreborn.compat.jei.alloySmelter.AlloySmelterRecipeHandler;
import techreborn.compat.jei.assemblingMachine.AssemblingMachineRecipeCategory;
@ -256,5 +257,10 @@ import java.util.List;
registry.getJeiHelpers().getItemBlacklist().addItemToBlacklist(new ItemStack(ModBlocks.pump));
if(CompatManager.isQuantumStorageLoaded){
registry.getJeiHelpers().getItemBlacklist().addItemToBlacklist(new ItemStack(ModBlocks.quantumChest));
registry.getJeiHelpers().getItemBlacklist().addItemToBlacklist(new ItemStack(ModBlocks.quantumTank));
}
}
}