aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/chrisoft/trashyaddon/Addon.java
blob: 2e4f504602fe38cbd0fec0267c87d65cee4f052d (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
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";
    }
}