aboutsummaryrefslogblamecommitdiff
path: root/src/main/java/org/chrisoft/trashyaddon/Addon.java
blob: 427b47924cb2c6c65bf65d5b290d2f8433fbae16 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                 
                                           


                                                                           
                                          


                                                         
                                                              









                                                                       

                                                                                             

                  
                                           
                                                      





                                              
                                             
                                                   
















                                              
package org.chrisoft.trashyaddon;

import org.chrisoft.trashyaddon.commands.*;
import org.chrisoft.trashyaddon.misc.AddonEntityOutlineShader;
import org.chrisoft.trashyaddon.misc.AddonPostProcessingShaders;
import org.chrisoft.trashyaddon.mixin.meteorclient.PostProcessShadersMixin;
import org.chrisoft.trashyaddon.modules.*;
import com.mojang.logging.LogUtils;
import meteordevelopment.meteorclient.addons.MeteorAddon;
import meteordevelopment.meteorclient.commands.Commands;
import meteordevelopment.meteorclient.systems.modules.Modules;
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");
        AddonPostProcessingShaders.registerPostProcessShader(new AddonEntityOutlineShader());
        CEntitySelectorOptions.register();

        // Modules
        Modules.get().add(new AutoTrade());
        Modules.get().add(new MatchedItemHighlight());

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

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

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

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