    001    package cpw.mods.fml.common;
    002
    003    import cpw.mods.fml.common.versioning.ArtifactVersion;
    004    import cpw.mods.fml.common.versioning.DefaultArtifactVersion;
    005    import cpw.mods.fml.common.versioning.VersionParser;
    006    import cpw.mods.fml.common.versioning.VersionRange;
    007
    008    public 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    }