Class GuiUtils
java.lang.Object
com.portingdeadmods.researchd.utils.GuiUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.gui.FontgetFont()static voidrenderTooltip(List<net.minecraft.network.chat.Component> tooltip) static booleanspriteExists(net.minecraft.client.renderer.texture.TextureAtlas atlas, net.minecraft.resources.ResourceLocation spriteId) static net.minecraft.client.gui.components.StringWidgetstringWidget(String text) static net.minecraft.client.gui.components.StringWidgetstringWidget(net.minecraft.network.chat.Component text)
-
Constructor Details
-
GuiUtils
public GuiUtils()
-
-
Method Details
-
spriteExists
public static boolean spriteExists(net.minecraft.client.renderer.texture.TextureAtlas atlas, net.minecraft.resources.ResourceLocation spriteId) -
renderTooltip
-
getFont
public static net.minecraft.client.gui.Font getFont() -
stringWidget
public static net.minecraft.client.gui.components.StringWidget stringWidget(net.minecraft.network.chat.Component text) -
stringWidget
-