Class CustomComponentTooltip

java.lang.Object
at.petrak.hexcasting.interop.patchouli.CustomComponentTooltip
All Implemented Interfaces:
vazkii.patchouli.api.ICustomComponent, vazkii.patchouli.api.IVariablesAvailableCallback

public class CustomComponentTooltip extends Object implements vazkii.patchouli.api.ICustomComponent
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    build(int componentX, int componentY, int pageNum)
     
    void
    onVariablesAvailable(UnaryOperator<vazkii.patchouli.api.IVariable> lookup)
     
    void
    render(net.minecraft.client.gui.GuiGraphics graphics, vazkii.patchouli.api.IComponentRenderContext context, float pticks, int mouseX, int mouseY)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface vazkii.patchouli.api.ICustomComponent

    mouseClicked, onDisplayed
  • Constructor Details

    • CustomComponentTooltip

      public CustomComponentTooltip()
  • Method Details

    • build

      public void build(int componentX, int componentY, int pageNum)
      Specified by:
      build in interface vazkii.patchouli.api.ICustomComponent
    • render

      public void render(net.minecraft.client.gui.GuiGraphics graphics, vazkii.patchouli.api.IComponentRenderContext context, float pticks, int mouseX, int mouseY)
      Specified by:
      render in interface vazkii.patchouli.api.ICustomComponent
    • onVariablesAvailable

      public void onVariablesAvailable(UnaryOperator<vazkii.patchouli.api.IVariable> lookup)
      Specified by:
      onVariablesAvailable in interface vazkii.patchouli.api.IVariablesAvailableCallback