INeonRenderer
public interface INeonRenderer {
void rectangle2D(NeonRenderStack stack, float x, float y, float width, float height, Color color);
void rectangleBatch2D(NeonRenderStack stack, Consumer<INeonRectanglePublisher> consumer);
void roundRectangle2D(NeonRenderStack stack, float x, float y, float width, float height, float radius, Color color);
void roundRectangleBatch2D(NeonRenderStack stack, Consumer<INeonRoundRectanglePublisher> consumer);
void minecraftText2D(String text, float x, float y, boolean shadow, Color color);
float minecraftTextWidth(String text);
void customText2D(NeonFontType font, String text, float x, float y, float scale, boolean shadow, Color color);
float customTextWidth(NeonFontType font, String text, float scale);
void playerHead2D(NeonRenderStack stack, EntityPlayer player, float x, float y, float size, float roundness);
void playerModel2D(EntityPlayer player, float x, float y, float scale, float mouseX, float mouseY);
void boundingBox3D(NeonRenderStack stack, AxisAlignedBB box, Color color);
void circle3D(NeonRenderStack stack, float x, float y, float z, float radius, float thickness, Color color);
void line2D(NeonRenderStack stack, float x, float y, float x2, float y2, float thickness, Color color);
void lines3D(NeonRenderStack stack, Collection<Vector3f> positions, float thickness, Color color);
void setTextureColor(Color color);
void resetTextureColor();
Vector2f worldToScreen(Vector3d worldPosition);
}
Last updated