Class TooltipElementText.TooltipElementManaReadout

java.lang.Object
com.binaris.wizardry.client.gui.elements.TooltipElement
com.binaris.wizardry.client.gui.elements.TooltipElementText
com.binaris.wizardry.client.gui.elements.TooltipElementText.TooltipElementManaReadout
Enclosing class:
TooltipElementText

public static class TooltipElementText.TooltipElementManaReadout extends TooltipElementText
  • Constructor Details

    • TooltipElementManaReadout

      public TooltipElementManaReadout(int spaceAfter)
  • Method Details

    • getText

      protected net.minecraft.network.chat.Component getText(net.minecraft.world.item.ItemStack stack)
      Overrides:
      getText in class TooltipElementText
    • getColour

      protected int getColour(net.minecraft.world.item.ItemStack stack)
      Overrides:
      getColour in class TooltipElementText
    • isVisible

      protected boolean isVisible(net.minecraft.world.item.ItemStack stack)
      Description copied from class: TooltipElement
      Whether this tooltip element should be visible for the given item stack. Used to conditionally render elements based on item tags or state.
      Overrides:
      isVisible in class TooltipElementText