Class GuiUtils

java.lang.Object
com.portingdeadmods.researchd.utils.GuiUtils

public final class GuiUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.gui.Font
     
    static void
    renderTooltip(List<net.minecraft.network.chat.Component> tooltip)
     
    static boolean
    spriteExists(net.minecraft.client.renderer.texture.TextureAtlas atlas, net.minecraft.resources.ResourceLocation spriteId)
     
    static net.minecraft.client.gui.components.StringWidget
     
    static net.minecraft.client.gui.components.StringWidget
    stringWidget(net.minecraft.network.chat.Component text)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static void renderTooltip(List<net.minecraft.network.chat.Component> tooltip)
    • 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

      public static net.minecraft.client.gui.components.StringWidget stringWidget(String text)