mirror of https://github.com/kami-blue/client
xd i got bored and added gethud info to fancychat
This commit is contained in:
parent
bce3ade0db
commit
0b4ee11f7e
|
@ -11,6 +11,7 @@ import net.minecraft.network.play.client.CPacketChatMessage;
|
||||||
|
|
||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
|
import static me.zeroeightsix.kami.module.modules.gui.InfoOverlay.getItems;
|
||||||
import static me.zeroeightsix.kami.util.InfoCalculator.isNumberEven;
|
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) {
|
private boolean isCommand(String s) {
|
||||||
for (String value : CustomChat.cmdCheck) {
|
for (String value : CustomChat.cmdCheck) {
|
||||||
if (s.startsWith(value)) return true;
|
if (s.startsWith(value)) return true;
|
||||||
|
|
Loading…
Reference in New Issue