aboutsummaryrefslogblamecommitdiff
path: root/src/main/java/org/chrisoft/trashyaddon/Addon.java
blob: 2e4f504602fe38cbd0fec0267c87d65cee4f052d (plain) (tree)












































                                                                       
package org.chrisoft.trashyaddon;

import org.chrisoft.trashyaddon.commands.BlockDataCommand;
import org.chrisoft.trashyaddon.commands.EntityDataCommand;
import com.mojang.logging.LogUtils;
import meteordevelopment.meteorclient.addons.MeteorAddon;
import meteordevelopment.meteorclient.commands.Commands;
import org.chrisoft.trashyaddon.commands.MapDumpCommand;
import org.chrisoft.trashyaddon.commands.MapTallyCommand;
import org.slf4j.Logger;

public class Addon extends MeteorAddon {
    public static final Logger LOG = LogUtils.getLogger();
    //public static final Category CATEGORY = new Category("Example");
    //public static final HudGroup HUD_GROUP = new HudGroup("Example");

    @Override
    public void onInitialize() {
        LOG.info("Initializing Meteor Trash Addons");

        // Modules
        //Modules.get().add(new ModuleExample());

        // Commands
        Commands.add(new EntityDataCommand());
        Commands.add(new BlockDataCommand());
        Commands.add(new MapDumpCommand());
        Commands.add(new MapTallyCommand());

        // HUD
        //Hud.get().register(HudExample.INFO);
    }

    /*
    @Override
    public void onRegisterCategories() {
        Modules.registerCategory(CATEGORY);
    }
    */

    @Override
    public String getPackage() {
        return "org.chrisoft.trashyaddon";
    }
}