Interface TooltipEvent.Item
- Enclosing interface:
 - TooltipEvent
 
@Environment(CLIENT)
public static interface TooltipEvent.Item
- 
Method Summary
 
- 
Method Details
- 
append
void append(net.minecraft.world.item.ItemStack stack, List<net.minecraft.network.chat.Component> lines, net.minecraft.world.item.TooltipFlag flag) Invoked whenever an item tooltip is rendered. Equivalent to Forge'sItemTooltipEventevent and Fabric'sItemTooltipCallback.- Parameters:
 stack- The rendered stack.lines- The mutable list of tooltip components.flag- A flag indicating if advanced mode is active.
 
 -