Package dev.boze.api.render
package dev.boze.api.render
-
ClassDescriptionBillboard 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 betweenHudDrawer.start()andHudDrawer.draw()callsA single line of a HUD, made up of one or more coloredHudTextsegments rendered left to right and separated by spaces.A single piece of colored text on aHudLine.PlaceRenderer handles rendering of block placement visualizations in the world.Record containing placement visualization dataText 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 betweenTextDrawer.start(TextType, double)andTextDrawer.draw(GuiGraphicsExtractor)callsText rendering type
Defines different contexts for text rendering with appropriate font settingsWorld rendering API for drawing 3D boxes in the world
Provides methods for rendering boxes in 3D world space
All drawing operations must be wrapped betweenWorldDrawer.start()andWorldDrawer.draw(PoseStack, RenderTarget)calls
You can, of course, draw more than one box per start/draw call
SeeEventShaderbefore using shader renders
Shader renders have their own fill/outline opacity, defined in Shader module.