Package cpw.mods.fml.common

Examples of cpw.mods.fml.common.ModMetadata


 
  public static CoreCore instance;

  public CoreCore()
  {
    super(new ModMetadata());
    ModMetadata md = super.getMetadata();
    md.modId = modId;
    md.name = modName;
    md.version = version.substring(version.indexOf('R') + 1);
    md.authorList = Arrays.asList("PowerCrystals");
    md.url = "http://www.minecraftforum.net/topic/1629898-";
View Full Code Here


    public static DenLibFluidHandler fluids;
    public static ChunkHandler TERemover;
    public static DenWorldHandler worldHandler;

    public denLibMod() {
        super(new ModMetadata());
        ModMetadata md = super.getMetadata();
        md.modId = "denLib";
        md.name = "denLib";
        md.version = "@VERSION@";
        md.authorList = Arrays.asList("denoflionsx");
        md.url = "http://denoflionsx.info";
View Full Code Here

import java.util.Arrays;

public abstract class DenModContainer extends DummyModContainer {

    public DenModContainer() {
        super(new ModMetadata());
        ModMetadata md = super.getMetadata();
        md.modId = "denLib";
        md.name = "denLib";
        md.version = "@VERSION@";
        md.authorList = Arrays.asList("denoflionsx");
        md.url = "http://denoflionsx.info";
View Full Code Here

        return new LinkedList<ArtifactVersion>(getRequirements());
    }

    @Override
    public ModMetadata getMetadata() {
        ModMetadata meta = super.getMetadata();
        meta.description = "Recipe Viewer, Inventory Manager, Item Spawner, Cheats and more.\n"+ EnumChatFormatting.WHITE+"\n";

        if (plugins.size() == 0) {
            meta.description += EnumChatFormatting.RED+"No installed plugins.";
        } else {
View Full Code Here

    ASMDataTable asmData;

    static BukkitContainer instance;

    public BukkitContainer() {
        super(new ModMetadata());
        instance = this;
        ModMetadata md = getMetadata();
        md.modId = "Bukkit";
        md.name = "Bukkit";
        md.description = "The bukkit minecraft server API";
        wrapper = new ServerWrapper();
        Bukkit.setServer(wrapper);
View Full Code Here

  public static class CoFHDummyContainer extends DummyModContainer implements IFMLCallHook {

    public CoFHDummyContainer() {

      super(new ModMetadata());
      ModMetadata md = getMetadata();
      md.autogenerated = true;
      md.authorList = Arrays.asList("skyboy026");
      md.modId = "<CoFH ASM>";
      md.name = md.description = "CoFH ASM Data Initialization";
      md.version = "000";
View Full Code Here

    public boolean mod;

    public FEModContainer()
    {
        super(new ModMetadata());
        /* ModMetadata is the same as mcmod.info */
        ModMetadata myMeta = super.getMetadata();
        myMeta.authorList = Arrays.asList(new String[]
                { "See the ForgeEssentials author list." });
        myMeta.description = "Does needed setup for ForgeEssentials.";
        myMeta.modId = "FEPreLoader";
        myMeta.version = version;
View Full Code Here

    private static Configuration config;

    public ForgeModContainer()
    {
        super(new ModMetadata());
        ModMetadata meta = getMetadata();
        meta.modId       = "Forge";
        meta.name        = "Minecraft Forge";
        meta.version     = String.format("%d.%d.%d.%d", majorVersion, minorVersion, revisionVersion, buildVersion);
        meta.credits     = "Made possible with help from many people";
        meta.authorList  = Arrays.asList("LexManos", "Eloraam", "Spacetoad");
View Full Code Here

        try
        {
            Class<?> optifineConfig = Class.forName("Config", false, Loader.instance().getModClassLoader());
            String optifineVersion = (String) optifineConfig.getField("VERSION").get(null);
            Map<String,Object> dummyOptifineMeta = ImmutableMap.<String,Object>builder().put("name", "Optifine").put("version", optifineVersion).build();
            ModMetadata optifineMetadata = MetadataCollection.from(getClass().getResourceAsStream("optifinemod.info"),"optifine").getMetadataForId("optifine", dummyOptifineMeta);
            optifineContainer = new DummyModContainer(optifineMetadata);
            FMLLog.info("Forge Mod Loader has detected optifine %s, enabling compatibility features",optifineContainer.getVersion());
        }
        catch (Exception e)
        {
View Full Code Here

TOP

Related Classes of cpw.mods.fml.common.ModMetadata

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.