Class TooltipElementSpellList

java.lang.Object
com.binaris.wizardry.client.gui.elements.TooltipElement
com.binaris.wizardry.client.gui.elements.TooltipElementSpellList

public class TooltipElementSpellList extends TooltipElement
  • Field Summary

    Fields inherited from class com.binaris.wizardry.client.gui.elements.TooltipElement

    spaceAfter
  • Constructor Summary

    Constructors
    Constructor
    Description
    TooltipElementSpellList(int spaceAfter, TooltipElement... children)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    drawBackground(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, net.minecraft.world.item.ItemStack stack, float partialTicks, int mouseX, int mouseY)
     
    int
    drawBackgroundLayer(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, net.minecraft.world.item.ItemStack stack, float partialTicks, int mouseX, int mouseY)
     
    protected void
    drawForeground(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, net.minecraft.world.item.ItemStack stack, int mouseX, int mouseY)
     
    protected int
    getHeight(net.minecraft.world.item.ItemStack stack)
     
    protected boolean
    isVisible(net.minecraft.world.item.ItemStack stack)
     

    Methods inherited from class com.binaris.wizardry.client.gui.elements.TooltipElement

    drawForegroundLayer, getTotalHeight

    Methods inherited from class java.lang.Object

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

    • TooltipElementSpellList

      public TooltipElementSpellList(int spaceAfter, TooltipElement... children)
  • Method Details

    • isVisible

      protected boolean isVisible(net.minecraft.world.item.ItemStack stack)
      Specified by:
      isVisible in class TooltipElement
    • drawBackgroundLayer

      public int drawBackgroundLayer(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, net.minecraft.world.item.ItemStack stack, float partialTicks, int mouseX, int mouseY)
      Overrides:
      drawBackgroundLayer in class TooltipElement
    • getHeight

      protected int getHeight(net.minecraft.world.item.ItemStack stack)
      Specified by:
      getHeight in class TooltipElement
    • drawBackground

      protected void drawBackground(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, net.minecraft.world.item.ItemStack stack, float partialTicks, int mouseX, int mouseY)
      Specified by:
      drawBackground in class TooltipElement
    • drawForeground

      protected void drawForeground(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, net.minecraft.world.item.ItemStack stack, int mouseX, int mouseY)
      Specified by:
      drawForeground in class TooltipElement