Package dev.boze.api.render


package dev.boze.api.render
  • Class
    Description
    Billboard rendering API for displaying 2D HUD elements at 3D world positions
    Provides methods to render 2D graphics (lines, quads, text) that always face the camera at specified 3D world positions.
    Controls how the original (un-blurred) text is shown under a bloom region (TextDrawer.bloomStart(int, float, BloomMode)).
    Represents a color provided by the client.
    Binding between a client color and a consumer.
    Helper class to initialize colors, and register colors in the user's colors
    Use the name-less methods when you need a default color for an option.
    HUD rendering API for drawing 2D shapes on the screen
    Provides methods for rendering lines and quads in 2D screen space
    All drawing operations must be wrapped between HudDrawer.start() and HudDrawer.draw() calls
    A single line of a HUD, made up of one or more colored HudText segments rendered left to right and separated by spaces.
    A single piece of colored text on a HudLine.
    PlaceRenderer handles rendering of block placement visualizations in the world.
    Record containing placement visualization data
    Text rendering API for drawing text in different contexts
    Provides methods for rendering text in GUI, HUD, and world contexts
    All rendering operations must be wrapped between TextDrawer.start(TextType, double) and TextDrawer.draw(GuiGraphicsExtractor) calls
    Text rendering type
    Defines different contexts for text rendering with appropriate font settings
    World rendering API for drawing 3D boxes in the world
    Provides methods for rendering boxes in 3D world space
    All drawing operations must be wrapped between WorldDrawer.start() and WorldDrawer.draw(PoseStack, RenderTarget) calls
    You can, of course, draw more than one box per start/draw call
    See EventShader before using shader renders
    Shader renders have their own fill/outline opacity, defined in Shader module.