    001/*
    002 * Forge Mod Loader
    003 * Copyright (c) 2012-2013 cpw.
    004 * All rights reserved. This program and the accompanying materials
    005 * are made available under the terms of the GNU Lesser Public License v2.1
    006 * which accompanies this distribution, and is available at
    007 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
    008 *
    009 * Contributors:
    010 *     cpw - implementation
    011 */
    012
    013package cpw.mods.fml.common;
    014
    015import cpw.mods.fml.common.versioning.ArtifactVersion;
    016import cpw.mods.fml.common.versioning.DefaultArtifactVersion;
    017import cpw.mods.fml.common.versioning.VersionParser;
    018import cpw.mods.fml.common.versioning.VersionRange;
    019
    020public class MinecraftDummyContainer extends DummyModContainer
    021{
    022
    023    private VersionRange staticRange;
    024    public MinecraftDummyContainer(String actualMCVersion)
    025    {
    026        super(new ModMetadata());
    027        getMetadata().modId = "Minecraft";
    028        getMetadata().name = "Minecraft";
    029        getMetadata().version = actualMCVersion;
    030        staticRange = VersionParser.parseRange("["+actualMCVersion+"]");
    031    }
    032
    033
    034    public VersionRange getStaticVersionRange()
    035    {
    036        return staticRange;
    037    }
    038}