Class GuiRendererImpl
java.lang.Object
com.stereowalker.unionlib.client.gui.GuiRendererImpl
- All Implemented Interfaces:
GuiRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionnet.minecraft.client.gui.GuiGraphicsfloat -
Constructor Summary
ConstructorsConstructorDescriptionGuiRendererImpl(net.minecraft.client.gui.GuiGraphics guiGraphics, float partialTicks) -
Method Summary
Modifier and TypeMethodDescriptionvoidblit(net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight) voidblit(net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) voiddrawString(String text, int x, int y, int color, boolean shadow) voiddrawString(net.minecraft.network.chat.Component text, int x, int y, int color, boolean shadow) voidvoiddrawText(net.minecraft.client.gui.Font font, String text, int x, int y, Color color, boolean shadow) voiddrawText(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int x, int y, Color color, boolean shadow) voidvoiddrawWidget(net.minecraft.client.gui.components.AbstractWidget widget, int mouseX, int mouseY) voidfillGradient(int x1, int y1, int x2, int y2, int colorFrom, int colorTo) voidfillGradient(int x1, int y1, int x2, int y2, int z, int colorFrom, int colorTo) voidfillOverlay(int minX, int minY, int maxX, int maxY, int color) net.minecraft.client.gui.GuiGraphicsfloatcom.mojang.blaze3d.vertex.PoseStackvoidrenderSelectionList(net.minecraft.client.gui.components.AbstractSelectionList<?> e, int mouseX, int mouseY)
-
Field Details
-
guiGraphics
public net.minecraft.client.gui.GuiGraphics guiGraphics -
partialTicks
public float partialTicks
-
-
Constructor Details
-
GuiRendererImpl
public GuiRendererImpl(net.minecraft.client.gui.GuiGraphics guiGraphics, float partialTicks)
-
-
Method Details
-
renderSelectionList
public void renderSelectionList(net.minecraft.client.gui.components.AbstractSelectionList<?> e, int mouseX, int mouseY) - Specified by:
renderSelectionListin interfaceGuiRenderer
-
blit
public void blit(net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight) - Specified by:
blitin interfaceGuiRenderer
-
blit
public void blit(net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) - Specified by:
blitin interfaceGuiRenderer
-
drawString
- Specified by:
drawStringin interfaceGuiRenderer
-
drawString
public void drawString(net.minecraft.network.chat.Component text, int x, int y, int color, boolean shadow) - Specified by:
drawStringin interfaceGuiRenderer
-
drawText
- Specified by:
drawTextin interfaceGuiRenderer
-
drawText
public void drawText(net.minecraft.network.chat.Component text, int x, int y, Color color, boolean shadow) - Specified by:
drawTextin interfaceGuiRenderer
-
drawText
public void drawText(net.minecraft.client.gui.Font font, String text, int x, int y, Color color, boolean shadow) - Specified by:
drawTextin interfaceGuiRenderer
-
drawText
public void drawText(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int x, int y, Color color, boolean shadow) - Specified by:
drawTextin interfaceGuiRenderer
-
drawWidget
public void drawWidget(net.minecraft.client.gui.components.AbstractWidget widget, int mouseX, int mouseY) - Specified by:
drawWidgetin interfaceGuiRenderer
-
fillGradient
public void fillGradient(int x1, int y1, int x2, int y2, int colorFrom, int colorTo) - Specified by:
fillGradientin interfaceGuiRenderer
-
fillGradient
public void fillGradient(int x1, int y1, int x2, int y2, int z, int colorFrom, int colorTo) - Specified by:
fillGradientin interfaceGuiRenderer
-
fillOverlay
public void fillOverlay(int minX, int minY, int maxX, int maxY, int color) - Specified by:
fillOverlayin interfaceGuiRenderer
-
poseStack
public com.mojang.blaze3d.vertex.PoseStack poseStack()- Specified by:
poseStackin interfaceGuiRenderer
-
partialTicks
public float partialTicks()- Specified by:
partialTicksin interfaceGuiRenderer
-
guiGraphics
public net.minecraft.client.gui.GuiGraphics guiGraphics()- Specified by:
guiGraphicsin interfaceGuiRenderer
-