Render Utility
Utility used for rendering various objects on the screen - includes 2D and 3D rendering
render_util.drawRainbowBox
Parameters
Type
Description
x
double
Top-Left Point of a box
y
double
Bottom-Left Point of a box
x2
double
Top-Right Point of a box
y2
double
Bottom-Right point of a box
lineWidth
float
Width of the lines
cornered
boolean
Same for playerESP
retardedRainbow
boolean
Asstolfo color
bordered
boolean
Black outline of the lines
render_util.drawBlockBox
Parameters
Type
Description
x
double
X coordinate
y
double
Y coordinate
z
double
Z coordinate
color
integer
color
Parameters
Type
Description
pos
BlockPos
The BlockPos object
color
integer
color
render_util.drawEntityOnScreen
Parameters
Type
Description
posX
integer
X position on the screen
posY
integer
Y position on the screen
scale
float
The scale of an entity being rendered
entity
EntityLivingBase
render_util.drawBorderedRectangle
Parameters
Type
Description
x
double
Top-Left Point of a box
y
double
Bottom-Left Point of a box
x2
double
Top-Right Point of a box
y2
double
Bottom-Right point of a box
lineWidth
float
Width of the line
colorOutline
integer
Color of the outline (border)
colorFill
integer
Color which the rectangle is going to be filled with
render_util.drawRoundedRectangle
Parameters
Type
Description
x
float
Top-Left Point of a box
y
float
Bottom-Left Point of a box
width
float
height
float
smoothness
float
Roundness of the rectangle
color
integer
render_util.drawFilledRectangle
Parameters
Type
Description
x
double
Top-Left Point of a box
y
double
Bottom-Left Point of a box
x2
double
Top-Right Point of a box
y2
double
Bottom-Right point of a box
color
integer
render_util.drawCircle
Parameters
Type
Description
x
float
Top-Left Point of a circle
y
float
Bottom-Left Point of a circle
radius
float
Radius of a circle
color
integer
render_util.getRenderPosX
Returns the render pos X
render_util.getRenderPosY
Returns the render posY
render_util.getRenderPosZ
Returns the render pos Z
render_util.worldToScreen
Returns the screen position of the desired coordinates
Parameter
Type
Description
scaledresolution
ScaledResoltion
Scaled Resolution
x
double
X position
y
double
Y position
z
double
Z position
render_util.renderString
Parameter
Type
Description
text
String
The text
x
float
X position
y
float
Y position
color
int
Color of a string
dropShadow
boolean
Is there going to be a shadow behind the text
Last updated