Interface TooltipAppender

All Known Implementing Classes:
ArmorTrim, class_9792, DyedColorComponent, FireworkExplosionComponent, FireworksComponent, ItemEnchantmentsComponent, LoreComponent, UnbreakableComponent

public interface TooltipAppender
Mappings:
Namespace Name
named net/minecraft/item/TooltipAppender
intermediary net/minecraft/class_9299
official cxw
  • Method Details

    • appendTooltip

      void appendTooltip(Item.TooltipContext context, Consumer<Text> tooltip, TooltipType type)
      Mappings:
      Namespace Name Mixin selector
      named appendTooltip Lnet/minecraft/item/TooltipAppender;appendTooltip(Lnet/minecraft/item/Item$TooltipContext;Ljava/util/function/Consumer;Lnet/minecraft/client/item/TooltipType;)V
      intermediary method_57409 Lnet/minecraft/class_9299;method_57409(Lnet/minecraft/class_1792$class_9635;Ljava/util/function/Consumer;Lnet/minecraft/class_1836;)V
      official a Lcxw;a(Lcuj$b;Ljava/util/function/Consumer;Lcwk;)V