/*
 *  This file is part of Cubic Chunks Mod, licensed under the MIT License (MIT).
 *
 *  Copyright (c) 2015-2019 OpenCubicChunks
 *  Copyright (c) 2015-2019 contributors
 *
 *  Permission is hereby granted, free of charge, to any person obtaining a copy
 *  of this software and associated documentation files (the "Software"), to deal
 *  in the Software without restriction, including without limitation the rights
 *  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *  copies of the Software, and to permit persons to whom the Software is
 *  furnished to do so, subject to the following conditions:
 *
 *  The above copyright notice and this permission notice shall be included in
 *  all copies or substantial portions of the Software.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 *  THE SOFTWARE.
 */
package io.github.opencubicchunks.cubicchunks.core.asm;

import net.minecraftforge.common.ForgeVersion;
import net.minecraftforge.fml.common.DummyModContainer;
import net.minecraftforge.fml.common.ModContainer;
import net.minecraftforge.fml.common.ModMetadata;
import net.minecraftforge.fml.common.versioning.ArtifactVersion;
import net.minecraftforge.fml.common.versioning.DefaultArtifactVersion;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class CubicChunksCoreContainer extends DummyModContainer {

    public CubicChunksCoreContainer() {
        super(new ModMetadata());
        ModMetadata meta = getMetadata();
        meta.modId = "cubicchunkscore";
        meta.name = "Cubic Chunks Coremod";
        meta.version = "@@VERSION@@";
        meta.logoFile = "/assets/cubicchunks/logo.png";
    }

    @Override
    public List<ArtifactVersion> getDependencies() {
        return Collections.emptyList();//Arrays.asList(new DefaultArtifactVersion("cubicchunks", "[0.0.780.0,)"));
    }
}

@@ -1327,46 +1327,43 @@
 ort 
-net.minecraftforge.common.ForgeVersion
+com.google.common.eventbus.EventBus
 ;%0Aim
@@ -1453,26 +1453,28 @@
 .common.
-Mo
+Loa
 dCont
-ain
+roll
 er;%0Aimpo
@@ -1588,105 +1588,8 @@
 on;%0A
-import net.minecraftforge.fml.common.versioning.DefaultArtifactVersion;%0A%0Aimport java.util.Arrays;
 %0Aimp
@@ -1934,19 +1934,18 @@
  = %22
-@@VERSION@@
+0.0.9999.0
 %22;%0A 
@@ -1999,16 +1999,53 @@
 o.png%22;%0A
+        meta.parent = %22cubicchunks%22;%0A
     %7D%0A%0A 
@@ -2153,82 +2153,123 @@
 t();
-//Arrays.asList(new DefaultArtifactVersion(%22cubicchunks%22, %22%5B0.0.780.0,)%22))
+%0A    %7D%0A%0A    @Override%0A    public boolean registerBus(EventBus bus, LoadController controller) %7B%0A        return true
 ;%0A  

Fix CC coremod mod container (it's no longer considered "disabled")