Class SmallText
java.lang.Object
com.refinedmods.refinedstorage.common.support.tooltip.SmallText
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float
static final float
-
Method Summary
Modifier and TypeMethodDescriptionstatic float
correctScale
(float smallScale) static boolean
isSmall()
static void
render
(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, int color, org.joml.Matrix4f pose, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer, float smallScale) static void
render
(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, org.joml.Matrix4f pose, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer, float smallScale) static void
render
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean dropShadow, float smallScale) static void
render
(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, int color, boolean dropShadow, float smallScale)
-
Field Details
-
DEFAULT_SCALE
public static final float DEFAULT_SCALE- See Also:
-
TOOLTIP_SCALE
public static final float TOOLTIP_SCALE- See Also:
-
-
Method Details
-
correctScale
public static float correctScale(float smallScale) -
isSmall
public static boolean isSmall() -
render
public static void render(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, org.joml.Matrix4f pose, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer, float smallScale) -
render
public static void render(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, int color, org.joml.Matrix4f pose, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer, float smallScale) -
render
public static void render(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, int x, int y, int color, boolean dropShadow, float smallScale) -
render
public static void render(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean dropShadow, float smallScale)
-