xd i got bored and added gethud info to fancychat

This commit is contained in:
Bella 2020-04-02 20:19:49 -04:00
parent bce3ade0db
commit 0b4ee11f7e
No known key found for this signature in database
GPG Key ID: 815562EA23BFE344
1 changed files with 17 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import net.minecraft.network.play.client.CPacketChatMessage;
import java.util.Random;
import static me.zeroeightsix.kami.module.modules.gui.InfoOverlay.getItems;
import static me.zeroeightsix.kami.util.InfoCalculator.isNumberEven;
/**
@ -90,6 +91,22 @@ public class FancyChat extends Module {
}
});
@Override
public String getHudInfo() {
switch (modeSetting.getValue()) {
case GREEN_TEXT:
return ">";
case MOCKING:
return "mOcK";
case LEET:
return "1337";
case UWU:
return "uwu";
default:
return "";
}
}
private boolean isCommand(String s) {
for (String value : CustomChat.cmdCheck) {
if (s.startsWith(value)) return true;