文件
XLZEN/src/main/java/shit/zen/patch/ScreenEffectRendererPatch.java
T
Administrator e5973969aa
Build Loader / build (push) Canceled after 0s
Add XLZen category: AntiArrow, NoFireOverlay, log collector, target health HUD
- ESP: add Chams mode rendering the full entity model through walls
  (BufferUploaderPatch drops the depth test at the draw funnel, so all
  layers - sheep fur, armor, held items - stay identical to the real entity)
- AntiArrow (XLZen): predict arrow trajectories and avoid them via
  position spoof on outgoing move packets or real dodge impulses
- NoFireOverlay (XLZen): remove the first-person burning screen effect
- LogCollector + .log command: capture all log4j output, server chat,
  damage/disconnect events and session info; export as zip together with
  latest.log, native injection logs and recent crash reports
- Watermark: target health panel for the player currently in combat
- New XLZen module category wired into both click GUIs
2026-09-15 05:34:26 +08:00

23 行
1003 B
Java

package shit.zen.patch;
import asm.patchify.annotation.Inject;
import asm.patchify.annotation.Patch;
import com.mojang.blaze3d.vertex.PoseStack;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.ScreenEffectRenderer;
import shit.zen.modules.impl.render.NoFireOverlay;
@Patch(ScreenEffectRenderer.class)
public class ScreenEffectRendererPatch {
// renderFire draws the first-person burning flames over the screen
// (the animated block fire texture). Cancelling it only removes that
// overlay - the underwater / powder-snow passes in the same renderer
// and the actual fire status are untouched.
@Inject(method = "renderFire", desc = "(Lnet/minecraft/client/Minecraft;Lcom/mojang/blaze3d/vertex/PoseStack;)V")
public static void onRenderFire(Minecraft minecraft, PoseStack poseStack, CallbackInfo callbackInfo) {
if (NoFireOverlay.INSTANCE != null && NoFireOverlay.INSTANCE.isEnabled()) {
callbackInfo.cancel();
}
}
}