package com.lothrazar.cyclicmagic.module;
import com.lothrazar.cyclicmagic.config.IHasConfig;
import com.lothrazar.cyclicmagic.data.Const;
import com.lothrazar.cyclicmagic.registry.FluidsRegistry;
import net.minecraftforge.common.config.Configuration;

public class FluidsModule extends BaseModule implements IHasConfig {
  private boolean enableMilk;
  private boolean enablePoison;
  @Override
  public void syncConfig(Configuration config) {
    enableMilk = config.getBoolean("FluidMilk", Const.ConfigCategory.content, true, Const.ConfigCategory.contentDefaultText);
    enablePoison = config.getBoolean("FluidPoison", Const.ConfigCategory.content, true, Const.ConfigCategory.contentDefaultText);
  }
  @Override
  public void onPreInit() {
    if (enableMilk) {
      FluidsRegistry.registerMilk();
    }
    if (enablePoison) {
      FluidsRegistry.registerPoison();
    }
  }
}

@@ -244,16 +244,64 @@
 uration;
+%0Aimport net.minecraftforge.fluids.FluidRegistry;
 %0A%0Apublic
@@ -782,24 +782,94 @@
 PreInit() %7B%0A
+    // xpjuice fluid is added by the Exp Pylon block in /components/ %0A
     if (enab

comment for xp fluid