sort modules alphabetically

This commit is contained in:
Daniella / Tove 2024-05-27 10:54:41 +02:00
parent b3bd346163
commit baa3a608ea
3 changed files with 35 additions and 35 deletions

View file

@ -30,35 +30,35 @@ public class Setup {
new Client(),
// OPTIONAL
new Test(),
new ClickGUI(),
new HUD(),
new Set(),
new ChatCrypt(),
new Freecam(),
new AutoTotem(),
new ElytraFly(),
new ExtraChat(),
new Velocity(),
new Nametags(),
new AutoSignText(),
new ChatAppend(),
new NoSlowDown(),
new AutoEat(),
//new AutoKill(),
//AutoKill.INSTANCE.autoHit,
//AutoKill.INSTANCE.autoCrystal,
new Bright(),
new MidClick(),
new Selection(),
new Timer(),
new HUD.ShowTPS(),
new ElytraBot(),
new ChatFilter(),
new Baritone(),
new AutoEat(),
new AutoTotem(),
new AutoReconnect(),
new AutoSignText(),
new Baritone(),
new Bright(),
new ChatAppend(),
new ChatCrypt(),
new ChatExtras(),
new ChatFilter(),
new ClickGUI(),
new ElytraFly(),
new ElytraBot(),
new Freecam(),
new HUD(),
new HUD.ShowTPS(),
new ISeeYou(),
new Ping()
new MidClick(),
new Nametags(),
new NoSlowDown(),
new Ping(),
new Set(),
new Selection(),
new Test(),
new Timer(),
new Velocity(),
};

View file

@ -1,7 +1,7 @@
package com.baseband.client.mixins;
import com.baseband.client.BaseBand;
import com.baseband.client.module.chat.ExtraChat;
import com.baseband.client.module.chat.ChatExtras;
import net.minecraft.client.gui.ChatLine;
import net.minecraft.client.gui.Gui;
import net.minecraft.client.gui.GuiNewChat;
@ -15,30 +15,30 @@ import java.util.List;
public class MixinGuiNewChat extends Gui {
@Redirect(method = "drawChat", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/gui/GuiNewChat;drawRect(IIIII)V"))
private void drawRectHook(int left, int top, int right, int bottom, int color) {
if(!BaseBand.isFeatureEnabled(ExtraChat.class)) {
if(!BaseBand.isFeatureEnabled(ChatExtras.class)) {
Gui.drawRect(left, top, right, bottom, color);
return;
}
ExtraChat extraChat = BaseBand.getFeature(ExtraChat.class);
Gui.drawRect(left, top, right, bottom, extraChat.clearchat ? 0 : color);
ChatExtras chatExtras = BaseBand.getFeature(ChatExtras.class);
Gui.drawRect(left, top, right, bottom, chatExtras.clearchat ? 0 : color);
}
@Redirect(method = "setChatLine", at = @At(value = "INVOKE", target = "Ljava/util/List;size()I", ordinal = 0, remap = false))
public int drawnChatLinesSize(List<ChatLine> list) {
if(!BaseBand.isFeatureEnabled(ExtraChat.class))
if(!BaseBand.isFeatureEnabled(ChatExtras.class))
return list.size();
ExtraChat extraChat = BaseBand.getFeature(ExtraChat.class);
return extraChat.infinitechat ? -2147483647 : list.size();
ChatExtras chatExtras = BaseBand.getFeature(ChatExtras.class);
return chatExtras.infinitechat ? -2147483647 : list.size();
}
@Redirect(method = "setChatLine", at = @At(value = "INVOKE", target = "Ljava/util/List;size()I", ordinal = 2, remap = false))
public int chatLinesSize(List<ChatLine> list) {
if(!BaseBand.isFeatureEnabled(ExtraChat.class))
if(!BaseBand.isFeatureEnabled(ChatExtras.class))
return list.size();
ExtraChat extraChat = BaseBand.getFeature(ExtraChat.class);
return extraChat.infinitechat ? -2147483647 : list.size();
ChatExtras chatExtras = BaseBand.getFeature(ChatExtras.class);
return chatExtras.infinitechat ? -2147483647 : list.size();
}
}

View file

@ -20,7 +20,7 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
@Chat
public class ExtraChat extends Feature {
public class ChatExtras extends Feature {
@Override