blob: 427b47924cb2c6c65bf65d5b290d2f8433fbae16 (
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
47
48
49
50
51
52
|
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";
}
}
|