Overview
LiquidBounce provides comprehensive rendering utilities for creating ESP (Extra Sensory Perception), overlays, boxes, lines, and other visual enhancements. Package:net.ccbluex.liquidbounce.render
Core Render Components
RenderEngine
The main rendering engine that handles all drawing operations.Environment Renderer
Handles world-space rendering:Rendering in World
WorldRenderEvent
Drawing Boxes
Drawing Lines
Drawing Entity Boxes
Overlay Rendering
OverlayRenderEvent
Drawing Text
Drawing Rectangles
Drawing Images
Color System
Color4b Class
ESP Examples
Player ESP
Block ESP
Nametags
Performance Optimization
Batch Rendering
Distance Culling
Frustum Culling
Best Practices
- Use appropriate events - WorldRenderEvent for 3D, OverlayRenderEvent for 2D
- Batch similar renders - More efficient than individual draws
- Use distance culling - Don’t render far entities
- Cache calculations - Compute once per frame, not per entity
- Use alpha for transparency - Looks better and performs well
- Consider color blindness - Use distinguishable colors
- Add toggles - Let users customize rendering
See Also
- EventListener - Event handling
- ClientModule - Module implementation
- Value Types - Color configuration