Class TooltipElementProgressionBar
java.lang.Object
com.binaris.wizardry.client.gui.elements.TooltipElement
com.binaris.wizardry.client.gui.elements.TooltipElementProgressionBar
-
Field Summary
Fields inherited from class com.binaris.wizardry.client.gui.elements.TooltipElement
spaceAfter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawBackground(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, net.minecraft.world.item.ItemStack stack, float partialTicks, int mouseX, int mouseY) protected voiddrawForeground(net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, net.minecraft.world.item.ItemStack stack, int mouseX, int mouseY) protected intgetHeight(net.minecraft.world.item.ItemStack stack) protected booleanisVisible(net.minecraft.world.item.ItemStack stack) Methods inherited from class com.binaris.wizardry.client.gui.elements.TooltipElement
drawBackgroundLayer, drawForegroundLayer, getTotalHeight
-
Constructor Details
-
TooltipElementProgressionBar
public TooltipElementProgressionBar(int height, int spaceAfter)
-
-
Method Details
-
isVisible
protected boolean isVisible(net.minecraft.world.item.ItemStack stack) - Specified by:
isVisiblein classTooltipElement
-
getHeight
protected int getHeight(net.minecraft.world.item.ItemStack stack) - Specified by:
getHeightin classTooltipElement
-
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:
drawBackgroundin classTooltipElement
-
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:
drawForegroundin classTooltipElement
-