Interface ITooltipFunction

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

@ZenRegister @FunctionalInterface public interface ITooltipFunction
  • Method Summary

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

    • apply

      void apply(IItemStack stack, List<net.minecraft.network.chat.Component> tooltip, net.minecraft.world.item.Item.TooltipContext context, net.minecraft.world.item.TooltipFlag flag)