Class TooltipElementUpgradeList
java.lang.Object
com.binaris.wizardry.client.gui.elements.TooltipElement
com.binaris.wizardry.client.gui.elements.TooltipElementText
com.binaris.wizardry.client.gui.elements.TooltipElementUpgradeList
-
Nested Class Summary
Nested classes/interfaces inherited from class com.binaris.wizardry.client.gui.elements.TooltipElementText
TooltipElementText.TooltipElementItemName, TooltipElementText.TooltipElementManaReadout -
Field Summary
Fields inherited from class com.binaris.wizardry.client.gui.elements.TooltipElement
spaceAfter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetHeight(net.minecraft.world.item.ItemStack stack) Returns the vertical height of this element (excluding children or spacing).protected booleanisVisible(net.minecraft.world.item.ItemStack stack) Whether this tooltip element should be visible for the given item stack.Methods inherited from class com.binaris.wizardry.client.gui.elements.TooltipElementText
drawBackground, drawForeground, getColour, getFontRenderer, getStyle, getTextMethods inherited from class com.binaris.wizardry.client.gui.elements.TooltipElement
drawBackgroundLayer, drawForegroundLayer, getTotalHeight
-
Constructor Details
-
TooltipElementUpgradeList
-
-
Method Details
-
getHeight
protected int getHeight(net.minecraft.world.item.ItemStack stack) Description copied from class:TooltipElementReturns the vertical height of this element (excluding children or spacing).- Overrides:
getHeightin classTooltipElementText
-
isVisible
protected boolean isVisible(net.minecraft.world.item.ItemStack stack) Description copied from class:TooltipElementWhether this tooltip element should be visible for the given item stack. Used to conditionally render elements based on item tags or state.- Overrides:
isVisiblein classTooltipElementText
-