Class UpgradeDestinationClientTooltipComponent

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

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

    • UpgradeDestinationClientTooltipComponent

      public UpgradeDestinationClientTooltipComponent(Set<UpgradeMapping> mappings)
  • Method Details

    • getHeight

      public int getHeight()
      Specified by:
      getHeight 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
    • getWidth

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