Skip to content

Commit

Permalink
Consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCarlos26 committed Dec 11, 2023
1 parent a4db51f commit 206777d
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions src/main/java/me/redcarlos/higtools/HIGTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ public class HIGTools extends MeteorAddon {
public static final Logger LOG = LogUtils.getLogger();
public static final ModMetadata METADATA = FabricLoader.getInstance().getModContainer("higtools").orElseThrow(() -> new RuntimeException("HIGTools mod container not found!")).getMetadata();
public static final String VERSION = METADATA.getVersion().toString();
public static final Category Main = new Category("HIG Tools", Items.NETHERITE_PICKAXE.getDefaultStack());
public static final Category Borers = new Category(" Borers ", Items.NETHERITE_PICKAXE.getDefaultStack());
public static final HudGroup Hud = new HudGroup("HIG Tools");
public static final Category MAIN = new Category("HIG Tools", Items.NETHERITE_PICKAXE.getDefaultStack());
public static final Category BORERS = new Category(" Borers ", Items.NETHERITE_PICKAXE.getDefaultStack());
public static final HudGroup HUD = new HudGroup("HIG Tools");

@Override
public void onInitialize() {
Expand Down Expand Up @@ -74,7 +74,7 @@ public String getPackage() {

@Override
public void onRegisterCategories() {
Modules.registerCategory(Main);
Modules.registerCategory(Borers);
Modules.registerCategory(MAIN);
Modules.registerCategory(BORERS);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public abstract class BorerModule extends Module {
);

protected BorerModule(String name, String description, int extForwards, int extBackwards, int xOffset, int zOffset) {
super(HIGTools.Borers, name, description);
super(HIGTools.BORERS, name, description);

extForward = sgGeneral.add(new IntSetting.Builder()
.name("ExtForward")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import java.util.List;

public class BindsHud extends HudElement {
public static final HudElementInfo<BindsHud> INFO = new HudElementInfo<>(HIGTools.Hud, "binds-hud", "Displays modules you've binded keys to.", BindsHud::new);
public static final HudElementInfo<BindsHud> INFO = new HudElementInfo<>(HIGTools.HUD, "binds-hud", "Displays modules you've binded keys to.", BindsHud::new);

private final SettingGroup sgGeneral = settings.getDefaultGroup();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import static meteordevelopment.meteorclient.MeteorClient.mc;

public class WelcomeHudHig extends HudElement {
public static final HudElementInfo<WelcomeHudHig> INFO = new HudElementInfo<>(HIGTools.Hud, "welcome-hud-hig", "Displays a welcome message.", WelcomeHudHig::new);
public static final HudElementInfo<WelcomeHudHig> INFO = new HudElementInfo<>(HIGTools.HUD, "welcome-hud-hig", "Displays a welcome message.", WelcomeHudHig::new);

private String leftText;
private String rightText;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public class AfkLogout extends Module {
);

public AfkLogout() {
super(HIGTools.Main, "afk-logout", "Logs out when you are at a certain coords. Useful for afk travelling.");
super(HIGTools.MAIN, "afk-logout", "Logs out when you are at a certain coords. Useful for afk travelling.");
}

@EventHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class AutoCenter extends Module {
private int highway = -1;

public AutoCenter() {
super(HIGTools.Main, "auto-center", "Automatically centers the player so that NetherBorer mines on axis.");
super(HIGTools.MAIN, "auto-center", "Automatically centers the player so that NetherBorer mines on axis.");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class AutoWalkHig extends Module {
private boolean sentMessage;

public AutoWalkHig() {
super(HIGTools.Main, "auto-walk-hig", "Automatically walks forward (optimized for highway digging).");
super(HIGTools.MAIN, "auto-walk-hig", "Automatically walks forward (optimized for highway digging).");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public class AxisViewer extends Module {
);

public AxisViewer() {
super(HIGTools.Main, "axis-viewer", "Render culling fucks it up :skull:");
super(HIGTools.MAIN, "axis-viewer", "Render culling fucks it up :skull:");
}

@EventHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ChatPrefixHig extends Module {
);

public ChatPrefixHig() {
super(HIGTools.Main, "HIG-prefix", "Set a prefix for the HIGTools modules toggles.");
super(HIGTools.MAIN, "HIG-prefix", "Set a prefix for the HIGTools modules toggles.");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public class DiscordRPC extends Module {
}

public DiscordRPC() {
super(HIGTools.Main, "discord-RPC", "Displays HIG Tools as your presence on discord.");
super(HIGTools.MAIN, "discord-RPC", "Displays HIG Tools as your presence on discord.");

runInMainMenu = true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public class HandManager extends Module {
private boolean swapped;

public HandManager() {
super(HIGTools.Main, "hand-manager", "Automatically manages your offhand (optimized for highway digging).");
super(HIGTools.MAIN, "hand-manager", "Automatically manages your offhand (optimized for highway digging).");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public enum Rotation {
private final MBlockPos posRender3 = new MBlockPos();

public HighwayBuilderPlus() {
super(HIGTools.Main, "highway-builder+", "Automatically builds highways.");
super(HIGTools.MAIN, "highway-builder+", "Automatically builds highways.");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class HighwayTools extends Module {
private double originRatio;

public HighwayTools() {
super(HIGTools.Main, "highway-tools", "Digs, builds and repairs highways automatically.");
super(HIGTools.MAIN, "highway-tools", "Digs, builds and repairs highways automatically.");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public class HotbarManager extends Module {
);

public HotbarManager() {
super(HIGTools.Main, "hotbar-manager", "Automatically sort and replenish your hotbar.");
super(HIGTools.MAIN, "hotbar-manager", "Automatically sort and replenish your hotbar.");
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class RotationHig extends Module {
);

public RotationHig() {
super(HIGTools.Main, "HIG-rotation", "Changes/locks your yaw and pitch.");
super(HIGTools.MAIN, "HIG-rotation", "Changes/locks your yaw and pitch.");
}

@EventHandler
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class ScaffoldPlus extends Module {
private boolean worked = false;

public ScaffoldPlus() {
super(HIGTools.Main, "scaffold+", "Scaffolds blocks under you.");
super(HIGTools.MAIN, "scaffold+", "Scaffolds blocks under you.");
}

@EventHandler
Expand Down

0 comments on commit 206777d

Please sign in to comment.