Package org.moddingx.libx.render
Class FilterGuiGraphics
java.lang.Object
net.minecraft.client.gui.GuiGraphics
org.moddingx.libx.render.FilterGuiGraphics
- All Implemented Interfaces:
net.minecraftforge.client.extensions.IForgeGuiGraphics
public class FilterGuiGraphics
extends net.minecraft.client.gui.GuiGraphics
A
GuiGraphics
that overrides all methods and passes them through to the given parent. Useful if you
need to change the behaviour of some methods in some specific part of code.-
Field Summary
Fields inherited from class net.minecraft.client.gui.GuiGraphics
MAX_GUI_Z, MIN_GUI_Z
Fields inherited from interface net.minecraftforge.client.extensions.IForgeGuiGraphics
DEFAULT_BACKGROUND_COLOR, DEFAULT_BORDER_COLOR_END, DEFAULT_BORDER_COLOR_START, INVALID, RESET_CHAR, TEXT_COLOR_CODES, UNDO_CHAR, VALID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
blit
(int x, int y, int blitOffset, int width, int height, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) void
blit
(int x, int y, int blitOffset, int width, int height, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, float red, float green, float blue, float alpha) void
blit
(net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int width, int height, int textureWidth, int textureHeight) void
blit
(net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, int blitOffset, float uOffset, float vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) void
blit
(net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, int width, int height, float uWidth, float vHeight, int uOffset, int vOffset, int textureWidth, int textureHeight) void
blit
(net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight) void
blitInscribed
(net.minecraft.resources.ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight) void
blitInscribed
(net.minecraft.resources.ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight, boolean centerX, boolean centerY) void
blitNineSliced
(net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sliceSize, int sourceWidth, int sourceHeight, int sourceX, int sourceY) void
blitNineSliced
(net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sliceWidth, int sliceHeight, int sourceWidth, int sourceHeight, int sourceX, int sourceY) void
blitNineSliced
(net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int cornerWidth, int cornerHeight, int edgeWidth, int edgeHeight, int sourceWidth, int sourceHeight, int sourceX, int sourceY) void
blitNineSlicedSized
(net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sliceSize, int uWidth, int vHeight, int uOffset, int vOffset, int textureWidth, int textureHeight) void
blitNineSlicedSized
(net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sliceWidth, int sliceHeight, int uWidth, int vHeight, int uOffset, int vOffset, int textureWidth, int textureHeight) void
blitNineSlicedSized
(net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int cornerWidth, int cornerHeight, int edgeWidth, int edgeHeight, int uWidth, int vHeight, int uOffset, int vOffset, int textureWidth, int textureHeight) void
blitRepeating
(net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sourceX, int sourceY, int sourceWidth, int sourceHeight) void
blitRepeating
(net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sourceX, int sourceY, int sourceWidth, int sourceHeight, int textureWidth, int textureHeight) void
blitWithBorder
(net.minecraft.resources.ResourceLocation texture, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int borderSize) void
blitWithBorder
(net.minecraft.resources.ResourceLocation texture, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int topBorder, int bottomBorder, int leftBorder, int rightBorder) net.minecraft.client.renderer.MultiBufferSource.BufferSource
void
void
drawCenteredString
(net.minecraft.client.gui.Font font, String text, int x, int y, int color) void
drawCenteredString
(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int x, int y, int color) void
drawCenteredString
(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, int color) void
drawManaged
(Runnable action) int
drawString
(net.minecraft.client.gui.Font font, String text, float x, float y, int color, boolean dropShadow) int
drawString
(net.minecraft.client.gui.Font font, String text, int x, int y, int color) int
drawString
(net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean dropShadow) int
drawString
(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int x, int y, int color) int
drawString
(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int x, int y, int color, boolean dropShadow) int
drawString
(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, float x, float y, int color, boolean dropShadow) int
drawString
(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, int color) int
drawString
(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, int color, boolean dropShadow) void
drawWordWrap
(net.minecraft.client.gui.Font font, net.minecraft.network.chat.FormattedText text, int x, int y, int lineWidth, int color) void
enableScissor
(int minX, int minY, int maxX, int maxY) void
fill
(int minX, int minY, int maxX, int maxY, int color) void
fill
(int minX, int minY, int maxX, int maxY, int z, int color) void
fill
(net.minecraft.client.renderer.RenderType renderType, int minX, int minY, int maxX, int maxY, int color) void
fill
(net.minecraft.client.renderer.RenderType renderType, int minX, int minY, int maxX, int maxY, int z, int color) void
fillGradient
(int x1, int y1, int x2, int y2, int colorFrom, int colorTo) void
fillGradient
(int x1, int y1, int x2, int y2, int z, int colorFrom, int colorTo) void
fillGradient
(net.minecraft.client.renderer.RenderType renderType, int x1, int y1, int x2, int y2, int colorFrom, int colorTo, int z) void
flush()
int
getColorFromFormattingCharacter
(char c, boolean isLighter) int
int
guiWidth()
void
hLine
(int minX, int maxX, int y, int color) void
hLine
(net.minecraft.client.renderer.RenderType renderType, int minX, int maxX, int y, int color) void
innerBlit
(net.minecraft.resources.ResourceLocation atlasLocation, int x1, int x2, int y1, int y2, int blitOffset, float minU, float maxU, float minV, float maxV) com.mojang.blaze3d.vertex.PoseStack
pose()
void
renderComponentHoverEffect
(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Style style, int mouseX, int mouseY) void
renderComponentTooltip
(net.minecraft.client.gui.Font font, List<? extends net.minecraft.network.chat.FormattedText> tooltips, int mouseX, int mouseY, net.minecraft.world.item.ItemStack stack) void
renderComponentTooltip
(net.minecraft.client.gui.Font font, List<net.minecraft.network.chat.Component> tooltipLines, int mouseX, int mouseY) void
renderFakeItem
(net.minecraft.world.item.ItemStack stack, int x, int y) void
renderItem
(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.item.ItemStack stack, int x, int y, int seed) void
renderItem
(net.minecraft.world.item.ItemStack stack, int x, int y) void
renderItem
(net.minecraft.world.item.ItemStack stack, int x, int y, int seed) void
renderItem
(net.minecraft.world.item.ItemStack stack, int x, int y, int seed, int zOffset) void
renderItemDecorations
(net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, int x, int y) void
renderItemDecorations
(net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, int x, int y, String text) void
renderOutline
(int x, int y, int width, int height, int color) void
renderTooltip
(net.minecraft.client.gui.Font font, List<? extends net.minecraft.util.FormattedCharSequence> tooltipLines, int mouseX, int mouseY) void
renderTooltip
(net.minecraft.client.gui.Font font, List<net.minecraft.network.chat.Component> tooltipLines, Optional<net.minecraft.world.inventory.tooltip.TooltipComponent> visualTooltipComponent, int mouseX, int mouseY) void
renderTooltip
(net.minecraft.client.gui.Font font, List<net.minecraft.network.chat.Component> textComponents, Optional<net.minecraft.world.inventory.tooltip.TooltipComponent> tooltipComponent, net.minecraft.world.item.ItemStack stack, int mouseX, int mouseY) void
renderTooltip
(net.minecraft.client.gui.Font font, List<net.minecraft.util.FormattedCharSequence> tooltipLines, net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipPositioner tooltipPositioner, int mouseX, int mouseY) void
renderTooltip
(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int mouseX, int mouseY) void
renderTooltip
(net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, int mouseX, int mouseY) void
setColor
(float red, float green, float blue, float alpha) void
vLine
(int x, int minY, int maxY, int color) void
vLine
(net.minecraft.client.renderer.RenderType renderType, int x, int minY, int maxY, int color)
-
Field Details
-
parent
protected final net.minecraft.client.gui.GuiGraphics parent
-
-
Constructor Details
-
FilterGuiGraphics
public FilterGuiGraphics(net.minecraft.client.gui.GuiGraphics parent)
-
-
Method Details
-
drawManaged
- Overrides:
drawManaged
in classnet.minecraft.client.gui.GuiGraphics
-
guiWidth
public int guiWidth()- Overrides:
guiWidth
in classnet.minecraft.client.gui.GuiGraphics
-
guiHeight
public int guiHeight()- Overrides:
guiHeight
in classnet.minecraft.client.gui.GuiGraphics
-
pose
- Overrides:
pose
in classnet.minecraft.client.gui.GuiGraphics
-
bufferSource
- Overrides:
bufferSource
in classnet.minecraft.client.gui.GuiGraphics
-
flush
public void flush()- Overrides:
flush
in classnet.minecraft.client.gui.GuiGraphics
-
hLine
public void hLine(int minX, int maxX, int y, int color) - Overrides:
hLine
in classnet.minecraft.client.gui.GuiGraphics
-
hLine
public void hLine(@Nonnull net.minecraft.client.renderer.RenderType renderType, int minX, int maxX, int y, int color) - Overrides:
hLine
in classnet.minecraft.client.gui.GuiGraphics
-
vLine
public void vLine(int x, int minY, int maxY, int color) - Overrides:
vLine
in classnet.minecraft.client.gui.GuiGraphics
-
vLine
public void vLine(@Nonnull net.minecraft.client.renderer.RenderType renderType, int x, int minY, int maxY, int color) - Overrides:
vLine
in classnet.minecraft.client.gui.GuiGraphics
-
enableScissor
public void enableScissor(int minX, int minY, int maxX, int maxY) - Overrides:
enableScissor
in classnet.minecraft.client.gui.GuiGraphics
-
disableScissor
public void disableScissor()- Overrides:
disableScissor
in classnet.minecraft.client.gui.GuiGraphics
-
setColor
public void setColor(float red, float green, float blue, float alpha) - Overrides:
setColor
in classnet.minecraft.client.gui.GuiGraphics
-
fill
public void fill(int minX, int minY, int maxX, int maxY, int color) - Overrides:
fill
in classnet.minecraft.client.gui.GuiGraphics
-
fill
public void fill(int minX, int minY, int maxX, int maxY, int z, int color) - Overrides:
fill
in classnet.minecraft.client.gui.GuiGraphics
-
fill
public void fill(@Nonnull net.minecraft.client.renderer.RenderType renderType, int minX, int minY, int maxX, int maxY, int color) - Overrides:
fill
in classnet.minecraft.client.gui.GuiGraphics
-
fill
public void fill(@Nonnull net.minecraft.client.renderer.RenderType renderType, int minX, int minY, int maxX, int maxY, int z, int color) - Overrides:
fill
in classnet.minecraft.client.gui.GuiGraphics
-
fillGradient
public void fillGradient(int x1, int y1, int x2, int y2, int colorFrom, int colorTo) - Overrides:
fillGradient
in classnet.minecraft.client.gui.GuiGraphics
-
fillGradient
public void fillGradient(int x1, int y1, int x2, int y2, int z, int colorFrom, int colorTo) - Overrides:
fillGradient
in classnet.minecraft.client.gui.GuiGraphics
-
fillGradient
public void fillGradient(@Nonnull net.minecraft.client.renderer.RenderType renderType, int x1, int y1, int x2, int y2, int colorFrom, int colorTo, int z) - Overrides:
fillGradient
in classnet.minecraft.client.gui.GuiGraphics
-
drawCenteredString
public void drawCenteredString(@Nonnull net.minecraft.client.gui.Font font, @Nonnull String text, int x, int y, int color) - Overrides:
drawCenteredString
in classnet.minecraft.client.gui.GuiGraphics
-
drawCenteredString
public void drawCenteredString(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.network.chat.Component text, int x, int y, int color) - Overrides:
drawCenteredString
in classnet.minecraft.client.gui.GuiGraphics
-
drawCenteredString
public void drawCenteredString(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.util.FormattedCharSequence text, int x, int y, int color) - Overrides:
drawCenteredString
in classnet.minecraft.client.gui.GuiGraphics
-
drawString
public int drawString(@Nonnull net.minecraft.client.gui.Font font, @Nullable String text, int x, int y, int color) - Overrides:
drawString
in classnet.minecraft.client.gui.GuiGraphics
-
drawString
public int drawString(@Nonnull net.minecraft.client.gui.Font font, @Nullable String text, int x, int y, int color, boolean dropShadow) - Overrides:
drawString
in classnet.minecraft.client.gui.GuiGraphics
-
drawString
public int drawString(@Nonnull net.minecraft.client.gui.Font font, @Nullable String text, float x, float y, int color, boolean dropShadow) - Overrides:
drawString
in classnet.minecraft.client.gui.GuiGraphics
-
drawString
public int drawString(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.util.FormattedCharSequence text, int x, int y, int color) - Overrides:
drawString
in classnet.minecraft.client.gui.GuiGraphics
-
drawString
public int drawString(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.util.FormattedCharSequence text, int x, int y, int color, boolean dropShadow) - Overrides:
drawString
in classnet.minecraft.client.gui.GuiGraphics
-
drawString
public int drawString(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.util.FormattedCharSequence text, float x, float y, int color, boolean dropShadow) - Overrides:
drawString
in classnet.minecraft.client.gui.GuiGraphics
-
drawString
public int drawString(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.network.chat.Component text, int x, int y, int color) - Overrides:
drawString
in classnet.minecraft.client.gui.GuiGraphics
-
drawString
public int drawString(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.network.chat.Component text, int x, int y, int color, boolean dropShadow) - Overrides:
drawString
in classnet.minecraft.client.gui.GuiGraphics
-
drawWordWrap
public void drawWordWrap(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.network.chat.FormattedText text, int x, int y, int lineWidth, int color) - Overrides:
drawWordWrap
in classnet.minecraft.client.gui.GuiGraphics
-
blit
public void blit(int x, int y, int blitOffset, int width, int height, @Nonnull net.minecraft.client.renderer.texture.TextureAtlasSprite sprite) - Overrides:
blit
in classnet.minecraft.client.gui.GuiGraphics
-
blit
public void blit(int x, int y, int blitOffset, int width, int height, @Nonnull net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, float red, float green, float blue, float alpha) - Overrides:
blit
in classnet.minecraft.client.gui.GuiGraphics
-
renderOutline
public void renderOutline(int x, int y, int width, int height, int color) - Overrides:
renderOutline
in classnet.minecraft.client.gui.GuiGraphics
-
blit
public void blit(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight) - Overrides:
blit
in classnet.minecraft.client.gui.GuiGraphics
-
blit
public void blit(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, int blitOffset, float uOffset, float vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight) - Overrides:
blit
in classnet.minecraft.client.gui.GuiGraphics
-
blit
public void blit(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, int width, int height, float uWidth, float vHeight, int uOffset, int vOffset, int textureWidth, int textureHeight) - Overrides:
blit
in classnet.minecraft.client.gui.GuiGraphics
-
blit
public void blit(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int x, int y, float uOffset, float vOffset, int width, int height, int textureWidth, int textureHeight) - Overrides:
blit
in classnet.minecraft.client.gui.GuiGraphics
-
innerBlit
public void innerBlit(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int x1, int x2, int y1, int y2, int blitOffset, float minU, float maxU, float minV, float maxV) - Overrides:
innerBlit
in classnet.minecraft.client.gui.GuiGraphics
-
blitNineSliced
public void blitNineSliced(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sliceSize, int sourceWidth, int sourceHeight, int sourceX, int sourceY) - Overrides:
blitNineSliced
in classnet.minecraft.client.gui.GuiGraphics
-
blitNineSliced
public void blitNineSliced(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sliceWidth, int sliceHeight, int sourceWidth, int sourceHeight, int sourceX, int sourceY) - Overrides:
blitNineSliced
in classnet.minecraft.client.gui.GuiGraphics
-
blitNineSliced
public void blitNineSliced(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int cornerWidth, int cornerHeight, int edgeWidth, int edgeHeight, int sourceWidth, int sourceHeight, int sourceX, int sourceY) - Overrides:
blitNineSliced
in classnet.minecraft.client.gui.GuiGraphics
-
blitNineSlicedSized
public void blitNineSlicedSized(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sliceSize, int uWidth, int vHeight, int uOffset, int vOffset, int textureWidth, int textureHeight) -
blitNineSlicedSized
public void blitNineSlicedSized(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sliceWidth, int sliceHeight, int uWidth, int vHeight, int uOffset, int vOffset, int textureWidth, int textureHeight) -
blitNineSlicedSized
public void blitNineSlicedSized(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int cornerWidth, int cornerHeight, int edgeWidth, int edgeHeight, int uWidth, int vHeight, int uOffset, int vOffset, int textureWidth, int textureHeight) -
blitRepeating
public void blitRepeating(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sourceX, int sourceY, int sourceWidth, int sourceHeight) - Overrides:
blitRepeating
in classnet.minecraft.client.gui.GuiGraphics
-
blitRepeating
public void blitRepeating(@Nonnull net.minecraft.resources.ResourceLocation atlasLocation, int targetX, int targetY, int targetWidth, int targetHeight, int sourceX, int sourceY, int sourceWidth, int sourceHeight, int textureWidth, int textureHeight) - Overrides:
blitRepeating
in classnet.minecraft.client.gui.GuiGraphics
-
renderItem
- Overrides:
renderItem
in classnet.minecraft.client.gui.GuiGraphics
-
renderItem
- Overrides:
renderItem
in classnet.minecraft.client.gui.GuiGraphics
-
renderItem
public void renderItem(@Nonnull net.minecraft.world.item.ItemStack stack, int x, int y, int seed, int zOffset) - Overrides:
renderItem
in classnet.minecraft.client.gui.GuiGraphics
-
renderFakeItem
- Overrides:
renderFakeItem
in classnet.minecraft.client.gui.GuiGraphics
-
renderItem
public void renderItem(@Nonnull net.minecraft.world.entity.LivingEntity entity, @Nonnull net.minecraft.world.item.ItemStack stack, int x, int y, int seed) - Overrides:
renderItem
in classnet.minecraft.client.gui.GuiGraphics
-
renderItemDecorations
public void renderItemDecorations(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.world.item.ItemStack stack, int x, int y) - Overrides:
renderItemDecorations
in classnet.minecraft.client.gui.GuiGraphics
-
renderItemDecorations
public void renderItemDecorations(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.world.item.ItemStack stack, int x, int y, @Nullable String text) - Overrides:
renderItemDecorations
in classnet.minecraft.client.gui.GuiGraphics
-
renderTooltip
public void renderTooltip(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.world.item.ItemStack stack, int mouseX, int mouseY) - Overrides:
renderTooltip
in classnet.minecraft.client.gui.GuiGraphics
-
renderTooltip
public void renderTooltip(@Nonnull net.minecraft.client.gui.Font font, @Nonnull List<net.minecraft.network.chat.Component> textComponents, @Nonnull Optional<net.minecraft.world.inventory.tooltip.TooltipComponent> tooltipComponent, @Nonnull net.minecraft.world.item.ItemStack stack, int mouseX, int mouseY) - Overrides:
renderTooltip
in classnet.minecraft.client.gui.GuiGraphics
-
renderTooltip
public void renderTooltip(@Nonnull net.minecraft.client.gui.Font font, @Nonnull List<net.minecraft.network.chat.Component> tooltipLines, @Nonnull Optional<net.minecraft.world.inventory.tooltip.TooltipComponent> visualTooltipComponent, int mouseX, int mouseY) - Overrides:
renderTooltip
in classnet.minecraft.client.gui.GuiGraphics
-
renderTooltip
public void renderTooltip(@Nonnull net.minecraft.client.gui.Font font, @Nonnull net.minecraft.network.chat.Component text, int mouseX, int mouseY) - Overrides:
renderTooltip
in classnet.minecraft.client.gui.GuiGraphics
-
renderComponentTooltip
public void renderComponentTooltip(@Nonnull net.minecraft.client.gui.Font font, @Nonnull List<net.minecraft.network.chat.Component> tooltipLines, int mouseX, int mouseY) - Overrides:
renderComponentTooltip
in classnet.minecraft.client.gui.GuiGraphics
-
renderComponentTooltip
public void renderComponentTooltip(@Nonnull net.minecraft.client.gui.Font font, @Nonnull List<? extends net.minecraft.network.chat.FormattedText> tooltips, int mouseX, int mouseY, @Nonnull net.minecraft.world.item.ItemStack stack) - Overrides:
renderComponentTooltip
in classnet.minecraft.client.gui.GuiGraphics
-
renderTooltip
public void renderTooltip(@Nonnull net.minecraft.client.gui.Font font, @Nonnull List<? extends net.minecraft.util.FormattedCharSequence> tooltipLines, int mouseX, int mouseY) - Overrides:
renderTooltip
in classnet.minecraft.client.gui.GuiGraphics
-
renderTooltip
public void renderTooltip(@Nonnull net.minecraft.client.gui.Font font, @Nonnull List<net.minecraft.util.FormattedCharSequence> tooltipLines, @Nonnull net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipPositioner tooltipPositioner, int mouseX, int mouseY) - Overrides:
renderTooltip
in classnet.minecraft.client.gui.GuiGraphics
-
renderComponentHoverEffect
public void renderComponentHoverEffect(@Nonnull net.minecraft.client.gui.Font font, @Nullable net.minecraft.network.chat.Style style, int mouseX, int mouseY) - Overrides:
renderComponentHoverEffect
in classnet.minecraft.client.gui.GuiGraphics
-
getColorFromFormattingCharacter
public int getColorFromFormattingCharacter(char c, boolean isLighter) -
blitWithBorder
public void blitWithBorder(@Nonnull net.minecraft.resources.ResourceLocation texture, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int borderSize) -
blitWithBorder
public void blitWithBorder(@Nonnull net.minecraft.resources.ResourceLocation texture, int x, int y, int u, int v, int width, int height, int textureWidth, int textureHeight, int topBorder, int bottomBorder, int leftBorder, int rightBorder) -
blitInscribed
public void blitInscribed(@Nonnull net.minecraft.resources.ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight) -
blitInscribed
public void blitInscribed(@Nonnull net.minecraft.resources.ResourceLocation texture, int x, int y, int boundsWidth, int boundsHeight, int rectWidth, int rectHeight, boolean centerX, boolean centerY)
-