Skip to content

Commit

Permalink
the serious update
Browse files Browse the repository at this point in the history
  • Loading branch information
exhq committed Sep 2, 2023
1 parent aa21db1 commit d311472
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 29 deletions.
5 changes: 5 additions & 0 deletions src/main/java/dev/exhq/EchosShittySkyBlockMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import net.fabricmc.fabric.api.client.command.v2.ClientCommandRegistrationCallback;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents;
import net.fabricmc.loader.api.FabricLoader;
import net.minecraft.client.MinecraftClient;
import net.minecraft.scoreboard.Scoreboard;
import net.minecraft.scoreboard.ScoreboardPlayerScore;
Expand Down Expand Up @@ -42,6 +43,10 @@ public static String findMatchingSubstring(String input, String regexPattern) {
}
@Override
public void onInitializeClient() {




ClientReceiveMessageEvents.GAME.register((message, overlay) -> {
if (overlay){
var noColor = message.getString().replaceAll("§[a-f0-9]", "");
Expand Down
1 change: 0 additions & 1 deletion src/main/java/dev/exhq/LocrawParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public boolean allowReceiveGameMessage(Text message, boolean overlay) {
String jsonString = message.getString();
Gson gson = new Gson();
data = gson.fromJson(jsonString, LocrawData.class);
MinecraftClient.getInstance().inGameHud.getChatHud().addMessage(Text.of("locraw detected"));
return false;
}
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
public class RunLocrawAfterLoad {
@Inject(method = "close", at = @At("HEAD"))
public void onClose(CallbackInfo ci) {
MinecraftClient.getInstance().inGameHud.getChatHud().addMessage(Text.of("while the screen was loading, i was having gay sex with your mother"));
MinecraftClient.getInstance().player.networkHandler.sendCommand("locraw");
}
}
27 changes: 0 additions & 27 deletions src/main/java/dev/exhq/mixin/client/TitleScreenMixin.java

This file was deleted.

0 comments on commit d311472

Please sign in to comment.