cpw.mods.fml.common.ModMetadata Java Examples
The following examples show how to use
cpw.mods.fml.common.ModMetadata.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SPDummyContainer.java From Sound-Physics with GNU General Public License v3.0 | 6 votes |
public SPDummyContainer() { super(new ModMetadata()); ModMetadata meta = getMetadata(); meta.modId = "SoundPhysics"; meta.name = "Sound Physics"; meta.version = "@VERSION@"; meta.credits = "Manoog"; meta.authorList = Lists.newArrayList(); meta.authorList.add("sonicether"); meta.description = "Adds realistic sound attenuation, obstruction, and reverberation."; meta.url = ""; // TODO: Update this! meta.updateUrl = ""; meta.screenshots = new String[0]; meta.logoFile = ""; }
Example #2
Source File: TickDynamicMod.java From TickDynamic with MIT License | 6 votes |
public TickDynamicMod() { super(new ModMetadata()); ModMetadata meta = getMetadata(); meta.version = VERSION; meta.modId = MODID; meta.name = "Tick Dynamic"; meta.description = "Dynamic control of the world tickrate to reduce apparent lag."; meta.authorList.add("Wildex999 ( [email protected] )"); meta.updateUrl = "http://mods.stjerncraft.com/tickdynamic"; meta.url = "http://mods.stjerncraft.com/tickdynamic"; tickDynamic = this; tpsMutex = new Semaphore(1); tpsTimer = new Timer(); tpsList = new LinkedList<Integer>(); versionChecker = new VersionChecker(); }
Example #3
Source File: BWCore.java From bartworks with MIT License | 5 votes |
public BWCore() { super(new ModMetadata()); ModMetadata metadata = this.getMetadata(); metadata.modId = "BWCore"; metadata.name = BWCore.BWCORE_NAME; metadata.version = "0.0.1"; metadata.authorList.add("bartimaeusnek"); metadata.dependants = this.getDependants(); }
Example #4
Source File: FaweForge.java From FastAsyncWorldedit with GNU General Public License v3.0 | 5 votes |
public FaweForge(ForgeMain plugin, Logger logger, ModMetadata mod, File directory) { this.parent = plugin; this.logger = logger; this.directory = directory; this.mod = mod; try { Fawe.set(this); setupInjector(); } catch (InstanceAlreadyExistsException e) { MainUtil.handleError(e); } }
Example #5
Source File: CoreContainer.java From OmniOcular with Apache License 2.0 | 5 votes |
public CoreContainer() { super(new ModMetadata()); ModMetadata meta = getMetadata(); meta.modId = "OmniOcularCore"; meta.name = "Omni Ocular Core"; meta.version = "1.0"; meta.authorList = Arrays.asList("Epix"); meta.description = "A CoreMod to inject into Waila method"; meta.url = "http://exz.me"; }
Example #6
Source File: NBTEdit.java From NBTEdit with GNU General Public License v3.0 | 5 votes |
@EventHandler public void preInit(FMLPreInitializationEvent event){ ModMetadata modMeta = event.getModMetadata(); modMeta.authorList = Arrays.asList(new String[] { "Davidee" }); modMeta.autogenerated = false; modMeta.credits = "Thanks to Mojang, Forge, and all your support."; modMeta.description = "Allows you to edit NBT Tags in-game.\nPlease visit the URL above for help."; modMeta.url = "http://www.minecraftforum.net/topic/1558668-151/"; Configuration config = new Configuration(event.getSuggestedConfigurationFile()); config.load(); opOnly = config.get("General", "opOnly", true, "true if only Ops can NBTEdit; false allows users in creative mode to NBTEdit").getBoolean(true); config.save(); }
Example #7
Source File: NovaMinecraftPreloader.java From NOVA-Core with GNU Lesser General Public License v3.0 | 4 votes |
public NovaModContainer(ModMetadata meta, Class<?> mod) { super(meta); this.mod = mod; }