Reorganized Modules

Make them similar to meteor's style.
This commit is contained in:
StormyBytes
2021-06-01 17:55:32 +07:00
parent c7eb5e5b52
commit 4c3887500d
14 changed files with 142 additions and 153 deletions

View File

@@ -41,10 +41,6 @@ public class Auto32K extends Module {
Dispenser
}
public Auto32K(){
super(MeteorRejectsAddon.CATEGORY, "auto-32k", "Automatically attacks other players with a 32k weapon.");
}
private final SettingGroup sgGeneral = settings.getDefaultGroup();
private final Setting<Mode> mode = sgGeneral.add(new EnumSetting.Builder<Mode>()
@@ -88,7 +84,11 @@ public class Auto32K extends Module {
private int z;
private int phase = 0;
private BlockPos bestBlock;
public Auto32K(){
super(MeteorRejectsAddon.CATEGORY, "auto-32k", "Automatically attacks other players with a 32k weapon.");
}
@Override
public void onDeactivate() {
phase = 0;
@@ -305,4 +305,4 @@ public class Auto32K extends Module {
list.add(Blocks.COBBLESTONE);
return list;
}
}
}