    001package cpw.mods.fml.common;
    002
    003import cpw.mods.fml.common.versioning.ArtifactVersion;
    004import cpw.mods.fml.common.versioning.DefaultArtifactVersion;
    005import cpw.mods.fml.common.versioning.VersionParser;
    006import cpw.mods.fml.common.versioning.VersionRange;
    007
    008public class MinecraftDummyContainer extends DummyModContainer
    009{
    010
    011    private VersionRange staticRange;
    012    public MinecraftDummyContainer(String actualMCVersion)
    013    {
    014        super(new ModMetadata());
    015        getMetadata().modId = "Minecraft";
    016        getMetadata().name = "Minecraft";
    017        getMetadata().version = actualMCVersion;
    018        staticRange = VersionParser.parseRange("["+actualMCVersion+"]");
    019    }
    020
    021
    022    public VersionRange getStaticVersionRange()
    023    {
    024        return staticRange;
    025    }
    026}