Interface ItemTooltipEvents.Modify

Enclosing class:
ItemTooltipEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ItemTooltipEvents.Modify
The finished tooltip lines, name included, to add to or change.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    modify(net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.Item.TooltipContext context, net.minecraft.world.item.TooltipFlag flag, List<net.minecraft.network.chat.Component> lines)
     
  • Method Details

    • modify

      void modify(net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.Item.TooltipContext context, net.minecraft.world.item.TooltipFlag flag, List<net.minecraft.network.chat.Component> lines)