render3D

filledBox(AxisAlignedBB bb, Color color)

Draws a filled box (bounding box) at the specified location with the given color. bb is an AxisAlignedBB object representing the bounding box, and color is a Color object specifying the fill color.

box(AxisAlignedBB bb, Color color, float thickness)

Draws the outline of a box (bounding box) with the specified thickness and color. bb is an AxisAlignedBB object representing the bounding box, color is a Color object for the outline color, and thickness is a float value for the outline thickness.

renderLine(Vec3 from, Vec3 to, float thickness, Color color)

Renders a line between two points with specified thickness and color. from and to are Vec3Wrapper objects representing the start and end points of the line, thickness is the line's thickness, and color is a Color object for the line color.

textMC(String text, int posX, int posY, Color color)

Renders Minecraft-styled text at the given screen position with the specified color. text is the string to render, posX and posY specify the screen position, and color is a Color object for the text color.

text(String text, int posX, int posY, Color color, int size)

Renders custom-styled text at the given screen position, color, and size. text is the string to render, posX and posY determine the position, color is a Color object for the text color, and size specifies the font size.

billboard(float x, float y, float z)

Positions a rendering context in a way that makes objects face the player (billboard effect) at the specified world coordinates. x, y, and z specify the world coordinates.

billboardScaled(float x, float y, float z, float scale)

Creates a scaled billboard effect at the specified world coordinates. scale determines the scaling effect (1 for constant size regardless of distance, 0 for normal scaling).

translate(float x, float y, float z)

Applies a translation transformation to the rendering context. x, y, and z specify the translation distances along each axis.

rotate(float angle, float x, float y, float z)

Applies a rotation transformation to the rendering context. angle is the rotation angle in degrees, and x, y, z specify the rotation axis vector.

scale(float x, float y, float z)

Applies scaling transformation to the rendering context. x, y, and z specify the scaling factors along each axis.

pushMatrix()

Pushes the current matrix onto the stack, saving the current rendering context.

popMatrix()

Pops the top matrix off the stack, reverting to the previous rendering context.

Last updated