chore(history): squash 10 commit(s) from 2026-07-31

- feat: Фаза 1 ребрендинг combatant → lovisual + восстановление config
- refactor: Фаза 2 — выкинуть Runtime/JarReplacement, заменить на Lifecycle
- refactor: Фаза 3.5 — удалить читерские модули, ESP под легит
- refactor: Фаза 3 — разбить Renderer2D (3379→2150 фасад + 14 хелперов ≤200)
- refactor: Фаза 3 — разбить BetterChatRenderer (2870→210 фасад + 21 хелпер ≤200)
- refactor: Фаза 3 — разбить UnifiedSettingRenderer (2798→208 фасад + 24 хелпера ≤200)
- refactor: Фаза 3 — разбить ClickGuiRenderer (1887→542 фасад + 15 хелперов ≤200)
- refactor: Фаза 3 — разбить NameTags (1791→438 фасад + 11 хелперов ≤200)
- refactor: Фаза 3 — разбить TargetHud (1655→340 фасад + 11 хелперов ≤200)
- refactor: Фаза 3 — разбить ESP (1538→269 фасад + 11 хелперов ≤200)
This commit is contained in:
loki5512344 2026-07-31 23:14:14 +02:00
parent 8084ac50b3
commit 52d87368c9
1595 changed files with 35857 additions and 51145 deletions

View file

@ -1,5 +1,5 @@
/*
* This file is part of the Combatant Client distribution.
* This file is part of the LoVisual Client distribution.
* Copyright (c) 2026 pivosos2007.
* Portions derived from ThunderHack Recode, copyright (c) 2023-2024 Pan4ur & 06ED.
* Upstream: https://github.com/Pan4ur/ThunderHack-Recode
@ -20,8 +20,6 @@ import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import dev.loki.lovisual.features.module.Modules;
import dev.loki.lovisual.features.module.modules.movement.NoPush;
import static net.minecraft.world.level.material.FlowingFluid.FALLING;
@ -32,24 +30,7 @@ public abstract class FlowingFluidMixin {
protected abstract boolean isSolidFace(BlockGetter world, BlockPos pos, Direction direction);
@Inject(method = "getFlow", at = @At("HEAD"), cancellable = true)
private void combatant$getVelocity(BlockGetter world, BlockPos pos, FluidState state, CallbackInfoReturnable<Vec3> cir) {
NoPush np = Modules.get(NoPush.class);
if (np == null || !np.liquidsEnabled()) return;
double d = 0.0;
double e = 0.0;
BlockPos.MutableBlockPos mutable = new BlockPos.MutableBlockPos();
Vec3 vec3d = new Vec3(d, 0.0, e);
if (state.getValue(FALLING)) {
for (Direction direction2 : Direction.Plane.HORIZONTAL) {
mutable.setWithOffset(pos, direction2);
if (!this.isSolidFace(world, mutable, direction2) && !this.isSolidFace(world, mutable.above(), direction2)) {
continue;
}
vec3d = vec3d.normalize().add(0.0, -6.0, 0.0);
break;
}
}
cir.setReturnValue(vec3d.normalize());
private void lovisual$getVelocity(BlockGetter world, BlockPos pos, FluidState state, CallbackInfoReturnable<Vec3> cir) {
// NoPush module removed; no fluid velocity override remains.
}
}