Interface GuiRenderer
- All Known Implementing Classes:
GuiRendererImpl
public interface GuiRenderer
-
Method Summary
Modifier and TypeMethodDescriptionvoidblit(net.minecraft.resources.Identifier atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight) voidblit(net.minecraft.resources.Identifier atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) voiddrawString(String s, int x, int y, int color, boolean shadow) Deprecated, for removal: This API element is subject to removal in a future version.voiddrawString(net.minecraft.network.chat.Component text, int x, int y, int color, boolean dropShadow) Deprecated, for removal: This API element is subject to removal in a future version.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 dropShadow) voidvoiddrawWidget(net.minecraft.client.gui.components.AbstractWidget widget, int mouseX, int mouseY) voidfillGradient(int pX1, int pY1, int pX2, int pY2, int pColorFrom, int pColorTo) 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.GuiGraphicsExtractorfloatcom.mojang.blaze3d.vertex.PoseStackvoidrenderSelectionList(net.minecraft.client.gui.components.AbstractSelectionList<?> e, int mouseX, int mouseY)
-
Method Details
-
guiGraphics
net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics() -
poseStack
com.mojang.blaze3d.vertex.PoseStack poseStack() -
partialTicks
float partialTicks() -
blit
void blit(net.minecraft.resources.Identifier atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight) -
blit
void blit(net.minecraft.resources.Identifier atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) -
drawString
@Deprecated(since="13.0", forRemoval=true) void drawString(String s, int x, int y, int color, boolean shadow) Deprecated, for removal: This API element is subject to removal in a future version. -
drawString
@Deprecated(since="13.0", forRemoval=true) void drawString(net.minecraft.network.chat.Component text, int x, int y, int color, boolean dropShadow) Deprecated, for removal: This API element is subject to removal in a future version. -
drawText
-
drawText
void drawText(net.minecraft.network.chat.Component text, int x, int y, Color color, boolean dropShadow) -
drawText
-
drawText
void drawText(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int x, int y, Color color, boolean dropShadow) -
drawWidget
void drawWidget(net.minecraft.client.gui.components.AbstractWidget widget, int mouseX, int mouseY) -
renderSelectionList
void renderSelectionList(net.minecraft.client.gui.components.AbstractSelectionList<?> e, int mouseX, int mouseY) -
fillOverlay
void fillOverlay(int minX, int minY, int maxX, int maxY, int color) -
fillGradient
void fillGradient(int pX1, int pY1, int pX2, int pY2, int pColorFrom, int pColorTo) -
fillGradient
void fillGradient(int x1, int y1, int x2, int y2, int z, int colorFrom, int colorTo)
-