render

block

render.block(Vec3 position, int color, boolean outline, boolean shade);
render.block(int x, int y, int z, int color, boolean outline, boolean shade);

Renders a block at a specified position in the world. Must be called during the onRenderWorld event.

bloom

render.bloom.prepare();
render.bloom.apply(int passes, float radius);

Applies a bloom shader to all renders between prepare and apply.

blur

render.blur.prepare();
render.blur.apply(int passes, float radius);

Applies a blur shader to all renders between prepare and apply.

entity

render.entity(Entity entity, int color, float partialTicks, boolean outline, boolean shade);

Renders an entity outline.

entityGui

Renders an entity model on the screen.

getCameraRotations

Returns the rotations of the camera as an array [yaw, pitch].

getFontHeight

Returns the height of the current font.

getFontWidth

Returns the width of the specified text.

getPosition

Returns the position of the camera.

getRotations

Returns the rotations of the camera as an array [yaw, pitch].

image

Renders an image on the screen.

isInView

Returns true if the specified entity is within the field of view of the camera.

item

Renders an item on the screen.

line2D

Renders a line on the screen.

line3D

Renders a line in the world.

rect

Renders a rectangle on the screen.

resetEquippedProgress

Resets the equipped animation.

roundedRect

Renders a rounded rectangle on the screen.

text2d

Renders text on the screen.

text3d

Renders text in the world.

tracer

Renders a tracer line to a specified entity.

worldToScreen

Returns the screen coordinates and screen depth.

property
description
type

x

x axis

double

y

y axis

double

z

depth

double

Last updated