aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/chrisoft/trashyaddon/Addon.java
blob: 00f08697656186356c74a820228cd390562e67c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package org.chrisoft.trashyaddon;

import org.chrisoft.trashyaddon.commands.*;
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");

        // 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());

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

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

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