ModCore

Seigneur Necron Minecraft Mods > Mod Core (API)

This page is in construction...


Introduction :

This mod is an API to develop minecraft mods. It contains a lot of classes that you can extend to create your mods easily (mod main class, configuration, logger, packet handlers, reflection tools, tile entities, entity extended properties, world properties, teleporter, containers, gui components, font renders, sounds...).


How to use (for modders) :

This is how you should use my mod :
- Never copy my classes in your mod ! Instead, declare my mod as a dependency of your mod (see the code of my other mods) and tell your users they need to install my mod to use yours.
- Avoid copying code as much as possible : extend classes, override methods... If and only if you can't do what you want by extending classes (because of private fields/methods or something) you are permitted to copy and change the code of a classe provided you change the name and/or the package of this classe (to avoid conflict between my mods and yours).
- You must give me credit for my work. Don't claim my work (edited or not) as completely your own work, or allow others to carry on believing the work is yours without correcting them.
- Don't tell people they're free to use your work if it contains the work of others. (You don't have the right to grant permission to others unless it's all your own work.)
- Don't make money off of my work.


Installation :

  • This mod must be installed on client and/or server, depending on the mods you want to install. This mod doesn't add any content, but it is a dependency for other mods.
  • Download [MVERSION]SeigneurNecronModCore_CVERSION[forge FVERSION].zip.
    • MVERSION is the Minecraft version.
    • CVERSION is the mod core version.
    • FVERSION is the Forge version.
  • Download the corresponding Forge installer.
  • Run the Forge installer twice to install Forge on the client and/or the server.
  • Put the mod core zip in the mods folder of your client and/or server.

TIPS :

  • Your client folder is :
    • Windows : %appdata%\.minecraft\
    • Mac OS X : ~/Library/Application Support/minecraft/
    • Linux : ~/.minecraft/
  • Your server folder is where you choosed it will be. You don't need a server if you don't host games.

Details :

TODO


Configuration :

Launching the mod will generate a default configuration file in the config folder of your client. The file is named seigneur_necron_mod_core.cfg. The file itself contains comments explaining each parameter.

Here is the default configuration file :

# Configuration file

####################
# general
####################

general {
    # Determines the level of the logger. Possible values : ALL, FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE, OFF. Default : INFO. You should not choose OFF or SEVERE.
    S:loggerLevel=INFO

    # THIS MUST BE TRUE or the mod will not work correctly. "false" is only used to test the mod in Eclipse while developing.
    B:obfuscated=true
}


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.