Class HelpClientTooltipComponent

java.lang.Object
com.refinedmods.refinedstorage.common.support.tooltip.HelpClientTooltipComponent
All Implemented Interfaces:
net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent

public class HelpClientTooltipComponent extends Object implements net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
    create(net.minecraft.network.chat.Component text)
     
    static net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
    createAlwaysDisplayed(net.minecraft.network.chat.Component text)
     
    int
     
    int
    getWidth(net.minecraft.client.gui.Font font)
     
    void
    renderImage(net.minecraft.client.gui.Font font, int x, int y, net.minecraft.client.gui.GuiGraphics graphics)
     
    void
    renderText(net.minecraft.client.gui.Font font, int x, int y, org.joml.Matrix4f pose, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
    • getWidth

      public int getWidth(net.minecraft.client.gui.Font font)
      Specified by:
      getWidth in interface net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
    • renderText

      public void renderText(net.minecraft.client.gui.Font font, int x, int y, org.joml.Matrix4f pose, net.minecraft.client.renderer.MultiBufferSource.BufferSource buffer)
      Specified by:
      renderText in interface net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
    • renderImage

      public void renderImage(net.minecraft.client.gui.Font font, int x, int y, net.minecraft.client.gui.GuiGraphics graphics)
      Specified by:
      renderImage in interface net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
    • create

      public static net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent create(net.minecraft.network.chat.Component text)
    • createAlwaysDisplayed

      public static net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent createAlwaysDisplayed(net.minecraft.network.chat.Component text)