-
Notifications
You must be signed in to change notification settings - Fork 0
26.3 Architecture and Mixins
Dasik edited this page Aug 20, 2026
·
1 revision
Camera Culling is engineered with a strict "1 File, 1 Purpose" architecture and zero-overhead Mixin hooks designed specifically for the modern non-obfuscated Minecraft 26.3 rendering engine.
| Mixin Class | Target Minecraft Class | Target Method & Injection Point | Function |
|---|---|---|---|
EntityRendererMixin |
net.minecraft.client.renderer.entity.EntityRenderer |
shouldRender @At("HEAD")
|
Multi-point raycast occlusion culling & crowd density checks |
BlockEntityRenderDispatcherMixin |
net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher |
tryExtractRenderState @At("HEAD")
|
6-sided enclosure & raycast block entity culling |
BlockEntityRenderDispatcherMixin |
net.minecraft.client.renderer.blockentity.BlockEntityRenderDispatcher |
tryExtractRenderState @At("RETURN")
|
2-sided sign back-face & blank text culling |
LivingEntityRendererMixin |
net.minecraft.client.renderer.entity.LivingEntityRenderer |
submit @At("HEAD") & @At("RETURN")
|
Applies & resets OpenGL Texture LOD mipmap bias (GL_TEXTURE_LOD_BIAS) |
SingleQuadParticleMixin |
net.minecraft.client.particle.SingleQuadParticle |
extract @At("HEAD")
|
QuadParticle occlusion culling against solid geometry |
TextureAtlasMixin |
net.minecraft.client.renderer.texture.TextureAtlas |
cycleAnimationFrames @At("HEAD")
|
Suppresses off-screen animated texture uploads |
net.vanillaoutsider.culling
βββ CameraCullingClient.java (ClientModInitializer & stats counters)
βββ ModVersionGuard.java (Knot classloader version integrity guard)
β
βββ command
β βββ CameraCullingCommand.java (FabricClientCommandSource Brigadier syntax tree)
β
βββ config
β βββ CameraCullingConfig.java (JSON serialization for client & server configs)
β βββ CullingLevel.java (LOW, MEDIUM, HIGH, SUPER intensity profiles)
β βββ ModMenuIntegration.java (ModMenu API entrypoint with deferred YACL factory)
β βββ YaclScreenHelper.java (YetAnotherConfigLib v3 screen builder)
β
βββ mixin
β βββ BlockEntityRenderDispatcherMixin.java
β βββ EntityRendererMixin.java
β βββ LivingEntityRendererMixin.java
β βββ SingleQuadParticleMixin.java
β βββ TextureAtlasMixin.java
β
βββ util
βββ AnimationCullingHelper.java (Pauses atlas upload when paused/in menus)
βββ BlacklistHelper.java (Client & server entity blacklist evaluation)
βββ BossDetectionHelper.java (Dynamic HP thresholding & name heuristics)
βββ CullingDiagnosticsHelper.java (Real-time chat & log state transition tracing)
βββ CullingRaycastHelper.java (Zero-allocation primitive raycasting & hysteresis)
βββ ParticleCullingHelper.java (4m proximity bubble & visual clip raycasting)
βββ SignTextCullingHelper.java (Vector normal dot products for 2-sided signs)
βββ TextureLodHelper.java (3-tier OpenGL mipmap LOD bias calculation)
Camera Culling Documentation β’ Part of the Vanilla Outsider Collection
Author: Dasik (Rifaditya) β’ Licensed under GNU General Public License v3.0 (GPLv3)
π Repository Source Disclaimer: The documentation in this Wiki reflects the current source code state in the repository, which may include recent unreleased commits ahead of public release builds on CurseForge/Modrinth.
- MC 26.3 Overview
- Entity Occlusion Culling
- Block Entity Culling
- Sign & Hanging Sign Culling
- Particle & Animation Culling
- Mob Crowd Overdraw Defense
- Distance Texture LOD
- Boss & Blacklist Immunity
- Temporal Hysteresis & Math
- Commands & Configuration
- GUI Configuration (YACL)
- Debug Tracing & Diagnostics
- Architecture & Mixins
- Developer Setup & Building
- API & Mod Integration
- MC 26.2 Overview
- Entity Occlusion Culling
- Block Entity Culling
- Sign & Hanging Sign Culling
- Particle & Animation Culling
- Mob Crowd Overdraw Defense
- Distance Texture LOD
- Boss & Blacklist Immunity
- Temporal Hysteresis & Math
- Commands & Configuration
- GUI Configuration (YACL)
- Debug Tracing & Diagnostics
- Architecture & Mixins
- Developer Setup & Building
- API & Mod Integration
- MC 26.1.2 Overview
- Entity Occlusion Culling
- Block Entity Culling
- Sign & Hanging Sign Culling
- Particle & Animation Culling
- Mob Crowd Overdraw Defense
- Distance Texture LOD
- Boss & Blacklist Immunity
- Temporal Hysteresis & Math
- Commands & Configuration
- GUI Configuration (YACL)
- Debug Tracing & Diagnostics
- Architecture & Mixins
- Developer Setup & Building
- API & Mod Integration