@@ -0,0 +1,2507 @@
+package org.cyclops.cyclopscore.config.extendedconfig;%0A%0Aimport net.minecraft.block.state.IBlockState;%0Aimport net.minecraft.client.renderer.ItemMeshDefinition;%0Aimport net.minecraft.client.renderer.block.statemap.StateMapperBase;%0Aimport net.minecraft.client.resources.model.ModelBakery;%0Aimport net.minecraft.client.resources.model.ModelResourceLocation;%0Aimport net.minecraft.item.Item;%0Aimport net.minecraft.item.ItemStack;%0Aimport net.minecraftforge.client.model.ModelLoader;%0Aimport net.minecraftforge.fluids.BlockFluidClassic;%0Aimport org.cyclops.cyclopscore.helper.MinecraftHelpers;%0Aimport org.cyclops.cyclopscore.init.ModBase;%0A%0A/**%0A * Config for BlockFluids.%0A * @author immortaleeb%0A * @see ExtendedConfig%0A */%0Apublic abstract class BlockFluidConfig extends BlockConfig %7B%0A%0A    private ModelResourceLocation fluidLocation;%0A%0A    /**%0A     * Make a new instance.%0A     *%0A     * @param mod     The mod instance.%0A     * @param enabled If this should is enabled.%0A     * @param namedId The unique name ID for the configurable.%0A     * @param comment The comment to add in the config file for this configurable.%0A     * @param element The class of this configurable.%0A     */%0A    public BlockFluidConfig(ModBase mod, boolean enabled, String namedId, String comment, Class%3C? extends BlockFluidClassic%3E element) %7B%0A        super(mod, enabled, namedId, comment, element);%0A%0A        fluidLocation = new ModelResourceLocation(mod.getModId() + %22:%22 + getNamedId(), %22fluid%22);%0A    %7D%0A%0A    @Override%0A    public BlockFluidClassic getBlockInstance() %7B%0A        return (BlockFluidClassic) super.getBlockInstance();%0A    %7D%0A%0A    @Override%0A    public void onRegistered() %7B%0A        super.onRegistered();%0A%0A        // Handle registration for fluid rendering%0A        if (MinecraftHelpers.isClientSide()) %7B%0A            BlockFluidClassic blockInstance = getBlockInstance();%0A            Item fluid = Item.getItemFromBlock(blockInstance);%0A%0A            ModelBakery.addVariantName(fluid);%0A            ModelLoader.setCustomMeshDefinition(fluid, new ItemMeshDefinition() %7B%0A                @Override%0A                public ModelResourceLocation getModelLocation(ItemStack stack) %7B%0A                    return fluidLocation;%0A                %7D%0A            %7D);%0A%0A            ModelLoader.setCustomStateMapper(blockInstance, new StateMapperBase() %7B%0A%0A                @Override%0A                protected ModelResourceLocation getModelResourceLocation(IBlockState state) %7B%0A                    return fluidLocation;%0A                %7D%0A            %7D);%0A        %7D%0A    %7D%0A%7D%0A

Add config for BlockFluids