<commit_before>package net.darkhax.darkutils.addons;

import mezz.jei.api.IModRegistry;
import net.minecraftforge.fml.common.Optional;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public interface ModAddon {
    
    public void onPreInit ();
    
    public void onInit ();
    
    public void onPostInit ();
    
    @SideOnly(Side.CLIENT)
    public void onClientPreInit ();
    
    @Optional.Method(modid = "JEI")
    public void onJEIReady (IModRegistry registry);
}<commit_msg>Added some documentation to my addon file. <commit_after>package net.darkhax.darkutils.addons;

import mezz.jei.api.IModRegistry;
import net.minecraftforge.fml.common.Optional;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;

public interface ModAddon {
    
    /**
     * Called during the preInit stage of loading. This is done after packets, blocks, items,
     * recipes, events and misc content from the main mod has been loaded, but before the
     * models or client code has been initialized.
     */
    public void onPreInit ();
    
    /**
     * Called during the init stage of loading. This is done after everything else from the
     * main mod has loaded. Currently add-ons are the only thing to make use of this stage.
     */
    public void onInit ();
    
    /**
     * Called during the postInit stage of loading. This is done after everything else from the
     * main mod has loaded. Currently add-ons are the only thing to make use of this stage.
     */
    public void onPostInit ();
    
    /**
     * Called during the preInit stage of loading. This version of the preInit method is only
     * handled on the client side. This method will be completely deleted from the server side
     * version of the code. This is the last thing to be called during the client preInit
     * stage.
     */
    @SideOnly(Side.CLIENT)
    public void onClientPreInit ();
    
    /**
     * Called when the JEI mod is ready to accept input from other mods. This method will be
     * completely deleted if the game starts without JEI installed. The primary use of this
     * method is to add descriptions for items in JEI.
     * 
     * @param registry Access to the JEI registry.
     */
    @Optional.Method(modid = "JEI")
    public void onJEIReady (IModRegistry registry);
}
{'fraction_non_alphanumeric': 0.07289484708839547, 'fraction_numerical': 0.0, 'mean_word_length': 2.9211822660098523, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2557188', 'n_tokens_mistral': 686, 'n_tokens_neox': 669, 'n_words': 265}