Class NeoForgeClientHelpers.Tooltips

java.lang.Object
net.rebel459.unified.neoforge.client.core.NeoForgeClientHelpers.Tooltips
All Implemented Interfaces:
CommonClientHelpers.Tooltips
Enclosing class:
NeoForgeClientHelpers

public static class NeoForgeClientHelpers.Tooltips extends Object implements CommonClientHelpers.Tooltips
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends net.minecraft.world.inventory.tooltip.TooltipComponent>
    void
    bind(Class<T> type, Function<T, net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent> factory)
     
    static void
    registerTooltipFactories(net.neoforged.neoforge.client.event.RegisterClientTooltipComponentFactoriesEvent event)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Tooltips

      public Tooltips()
  • Method Details

    • bind

      public <T extends net.minecraft.world.inventory.tooltip.TooltipComponent> void bind(Class<T> type, Function<T, net.minecraft.client.gui.screens.inventory.tooltip.ClientTooltipComponent> factory)
      Specified by:
      bind in interface CommonClientHelpers.Tooltips
    • registerTooltipFactories

      public static void registerTooltipFactories(net.neoforged.neoforge.client.event.RegisterClientTooltipComponentFactoriesEvent event)