Render 2D event
This page goes over the onRender2D event.
This event will be called upon in-game HUD being rendered. Handler name is onRender2D
.
getPartialTicks(): Number
getPartialTicks(): Number
Returns partial render ticks.
getScaledWidth(): Number
getScaledWidth(): Number
Returns scaled width.
getScaledHeight(): Number
getScaledHeight(): Number
Returns scaled height.
getScaleFactor(): Number
getScaleFactor(): Number
Returns scale factor.
Last updated