Class SmallText
java.lang.Object
com.refinedmods.refinedstorage.common.support.tooltip.SmallText
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final float -
Method Summary
Modifier and TypeMethodDescriptionstatic floatcorrectScale(float smallScale) static booleanisSmall()static voidrender(net.minecraft.client.gui.GuiGraphicsExtractor graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean dropShadow, float smallScale) static voidrender(net.minecraft.client.gui.GuiGraphicsExtractor 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
-
isSmall
public static boolean isSmall() -
correctScale
public static float correctScale(float smallScale) -
render
public static void render(net.minecraft.client.gui.GuiGraphicsExtractor 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.GuiGraphicsExtractor graphics, net.minecraft.client.gui.Font font, String text, int x, int y, int color, boolean dropShadow, float smallScale)
-