Class GuiRenderer
java.lang.Object
meteordevelopment.meteorclient.gui.renderer.GuiRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic GuiTexturestatic GuiTexturestatic GuiTexturestatic GuiTexturestatic GuiTexturestatic GuiTexture -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabsolutePost(Runnable task) static GuiTextureaddTexture(net.minecraft.util.Identifier id) voidbegin(net.minecraft.client.gui.DrawContext drawContext) voidvoidend()voidstatic voidinit()voiditem(net.minecraft.item.ItemStack itemStack, int x, int y, float scale, boolean overlay) voidvoidquad(double x, double y, double width, double height, GuiTexture texture, Color color) voidvoidvoidquad(double x, double y, double width, double height, Color cTopLeft, Color cTopRight, Color cBottomRight, Color cBottomLeft) voidbooleanrenderTooltip(net.minecraft.client.gui.DrawContext drawContext, double mouseX, double mouseY, double delta) voidrotatedQuad(double x, double y, double width, double height, double rotation, GuiTexture texture, Color color) voidvoidscissorStart(double x, double y, double width, double height) voidsetAlpha(double a) voidvoidvoidvoid
-
Field Details
-
CIRCLE
-
TRIANGLE
-
EDIT
-
RESET
-
FAVORITE_NO
-
FAVORITE_YES
-
theme
-
tooltip
-
lastTooltip
-
tooltipWidget
-
-
Constructor Details
-
GuiRenderer
public GuiRenderer()
-
-
Method Details
-
addTexture
-
init
public static void init() -
begin
public void begin(net.minecraft.client.gui.DrawContext drawContext) -
end
public void end() -
beginRender
public void beginRender() -
endRender
public void endRender() -
scissorStart
public void scissorStart(double x, double y, double width, double height) -
scissorEnd
public void scissorEnd() -
renderTooltip
public boolean renderTooltip(net.minecraft.client.gui.DrawContext drawContext, double mouseX, double mouseY, double delta) -
setAlpha
public void setAlpha(double a) -
tooltip
-
quad
-
quad
-
quad
-
quad
-
quad
-
rotatedQuad
public void rotatedQuad(double x, double y, double width, double height, double rotation, GuiTexture texture, Color color) -
triangle
-
text
-
texture
public void texture(double x, double y, double width, double height, double rotation, Texture texture) -
post
-
item
public void item(net.minecraft.item.ItemStack itemStack, int x, int y, float scale, boolean overlay) -
absolutePost
-