add config to remove recipes

This commit is contained in:
GlodBlock committed 2022-06-05 23:44:52 +08:00
1 parent 7c4a3fa349
commit 0501c65153
2 files changed
+6 -1

No files matched your search

@@ -51,7 +51,10 @@ public class FluidCraft {
@Mod.EventHandler
public static void postInit(FMLPostInitializationEvent event) {
NetworkRegistry.INSTANCE.registerGuiHandler(FluidCraft.INSTANCE, new InventoryHandler());
(new RecipeLoader()).run();
if (!Config.removeRecipe) {
(new RecipeLoader()).run();
}
if (ModAndClassUtil.isBigInterface) {
Upgrades.PATTERN_CAPACITY.registerItem(new ItemStack(ItemAndBlockHolder.FLUID_INTERFACE), 3 );