Class ResourceClientTooltipComponent

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

public class ResourceClientTooltipComponent extends Object implements net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent
  • Constructor Details

    • ResourceClientTooltipComponent

      public ResourceClientTooltipComponent(ResourceAmount resourceAmount)
  • 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
    • 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