Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 4a77b40

Browse files
committed
1.21.4: disable broken features
1 parent 286f4b6 commit 4a77b40

File tree

7 files changed

+16
-23
lines changed

7 files changed

+16
-23
lines changed

1.21.4/src/main/java/io/github/axolotlclient/AxolotlClient.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
import io.github.axolotlclient.modules.Module;
3838
import io.github.axolotlclient.modules.ModuleLoader;
3939
import io.github.axolotlclient.modules.auth.Auth;
40-
import io.github.axolotlclient.modules.blur.MotionBlur;
4140
import io.github.axolotlclient.modules.freelook.Freelook;
4241
import io.github.axolotlclient.modules.hud.HudManager;
4342
import io.github.axolotlclient.modules.hypixel.HypixelMods;
@@ -80,7 +79,7 @@ public static void getModules() {
8079
modules.add(Zoom.getInstance());
8180
modules.add(HudManager.getInstance());
8281
modules.add(HypixelMods.getInstance());
83-
modules.add(MotionBlur.getInstance());
82+
//modules.add(MotionBlur.getInstance()); // TODO fix motion blur, it's broken since 1.21.2's rendering changes
8483
modules.add(ScrollableTooltips.getInstance());
8584
modules.add(DiscordRPC.getInstance());
8685
modules.add(Freelook.getInstance());

1.21.4/src/main/java/io/github/axolotlclient/mixin/LivingEntityMixin.java

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,11 @@
2222

2323
package io.github.axolotlclient.mixin;
2424

25-
import io.github.axolotlclient.modules.hud.HudManager;
26-
import io.github.axolotlclient.modules.hud.gui.hud.simple.ComboHud;
27-
import net.minecraft.server.level.ServerLevel;
28-
import net.minecraft.world.damagesource.DamageSource;
2925
import net.minecraft.world.entity.Entity;
3026
import net.minecraft.world.entity.EntityType;
3127
import net.minecraft.world.entity.LivingEntity;
32-
import net.minecraft.world.entity.player.Player;
3328
import net.minecraft.world.level.Level;
3429
import org.spongepowered.asm.mixin.Mixin;
35-
import org.spongepowered.asm.mixin.injection.At;
36-
import org.spongepowered.asm.mixin.injection.Inject;
37-
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
3830

3931
@Mixin(LivingEntity.class)
4032
public abstract class LivingEntityMixin extends Entity {
@@ -43,8 +35,8 @@ public LivingEntityMixin(EntityType<?> type, Level world) {
4335
super(type, world);
4436
}
4537

46-
// TODO check whether this works while on servers
47-
@Inject(method = "hurtServer", at = @At(value = "FIELD", target = "Lnet/minecraft/world/entity/LivingEntity;lastDamageStamp:J"))
38+
// TODO this doesn't work currently
39+
/*@Inject(method = "hurtServer", at = @At(value = "FIELD", target = "Lnet/minecraft/world/entity/LivingEntity;lastDamageStamp:J"))
4840
private void axolotlclient$onDamage(ServerLevel world, DamageSource source, float amount, CallbackInfoReturnable<Boolean> cir) {
4941
// The client doesn't really get any sort of information about why a person is damaged
5042
// Kinda sucks since that means combos can't be guarenteed (i.e. fall damage, or other person hits)
@@ -54,5 +46,5 @@ public LivingEntityMixin(EntityType<?> type, Level world) {
5446
ComboHud comboHud = (ComboHud) HudManager.getInstance().get(ComboHud.ID);
5547
comboHud.onEntityDamage(this);
5648
}
57-
}
49+
}*/
5850
}

1.21.4/src/main/java/io/github/axolotlclient/mixin/PlayerEntityMixin.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
import io.github.axolotlclient.modules.particles.Particles;
2929
import net.minecraft.client.Minecraft;
3030
import net.minecraft.core.particles.ParticleTypes;
31-
import net.minecraft.server.level.ServerLevel;
32-
import net.minecraft.world.damagesource.DamageSource;
3331
import net.minecraft.world.entity.Entity;
3432
import net.minecraft.world.entity.EntityType;
3533
import net.minecraft.world.entity.LivingEntity;
@@ -39,7 +37,6 @@
3937
import org.spongepowered.asm.mixin.injection.At;
4038
import org.spongepowered.asm.mixin.injection.Inject;
4139
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
42-
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
4340

4441
@Mixin(Player.class)
4542
public abstract class PlayerEntityMixin extends LivingEntity {
@@ -72,8 +69,8 @@ protected PlayerEntityMixin(EntityType<? extends LivingEntity> entityType, Level
7269
}
7370
}
7471

75-
// TODO check whether this actually still works now
76-
@Inject(method = "hurtServer", at = @At("HEAD"))
72+
// TODO this doesn't work currently
73+
/*@Inject(method = "hurtServer", at = @At("HEAD"))
7774
private void axolotlclient$damage(ServerLevel world, DamageSource source, float amount, CallbackInfoReturnable<Boolean> cir) {
7875
if (source.getEntity() != null && getUUID() == Minecraft.getInstance().player.getUUID()) {
7976
ReachHud reachDisplayHud = (ReachHud) HudManager.getInstance().get(ReachHud.ID);
@@ -86,5 +83,5 @@ protected PlayerEntityMixin(EntityType<? extends LivingEntity> entityType, Level
8683
ComboHud comboHud = (ComboHud) HudManager.getInstance().get(ComboHud.ID);
8784
comboHud.onEntityDamage(this);
8885
}
89-
}
86+
}*/
9087
}

1.21.4/src/main/java/io/github/axolotlclient/modules/hud/HudManager.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,20 @@ public void init() {
9898
add(new ItemUpdateHud());
9999
add(new PackDisplayHud());
100100
add(new IRLTimeHud());
101-
add(new ReachHud());
101+
add(new ReachHud()); // TODO
102102
add(new MemoryHud());
103103
add(new PlayerCountHud());
104104
add(new CompassHud());
105105
add(new TPSHud());
106-
add(new ComboHud());
106+
add(new ComboHud()); // TODO
107107
add(new PlayerHud());
108108
entries.put(BedwarsMod.getInstance().getUpgradesOverlay().getId(), BedwarsMod.getInstance().getUpgradesOverlay());
109109

110110
entries.values().forEach(HudEntry::init);
111111

112+
((ReachHud)get(ReachHud.ID)).getEnabled().setForceOff(true, "feature.broken");
113+
((ComboHud)get(ComboHud.ID)).getEnabled().setForceOff(true, "feature.broken");
114+
112115
refreshAllBounds();
113116
}
114117

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
- migrate 1.21.4 to mojmap
2424
- add Activity support for MCCIsland
2525
- block more disallowed features on MCCIsland
26+
- 1.21.4: temporarily disable broken features: MotionBlur, ReachHud, ComboHud
2627

2728
### 3.0.6
2829

common/src/main/resources/assets/axolotlclient/lang/en_us.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,5 +598,6 @@
598598
"api.account.export.success.description": "Exported account data to %s",
599599
"api.account.export.failure.title": "Export failed",
600600
"api.account.export.failure.description_write": "Failed to write file, you may find more information in the log file!",
601-
"api.account.export.failure.description_server": "Failed to request data from the server, please contact AxolotlClient with a log file to get support!"
601+
"api.account.export.failure.description_server": "Failed to request data from the server, please contact AxolotlClient with a log file to get support!",
602+
"feature.broken": "This feature is currently not working. If you know how to fix it please let us know!"
602603
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ org.gradle.parallel=true
66
axolotlclient.modules.all=true
77

88
# Mod Properties
9-
version=3.1.0-beta.35
9+
version=3.1.0-beta.36
1010

1111
maven_group=io.github.axolotlclient
1212

0 commit comments

Comments
 (0)