Interface FabricTooltipFlag


public interface FabricTooltipFlag

General-purpose Fabric-provided extensions for TooltipFlag.

Note: This interface is automatically implemented on all tooltip flags via interface injection.

  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns all information that it may show under varying circumstances.
  • Method Details

    • shouldDisplayAllInformation

      default boolean shouldDisplayAllInformation()

      Returns all information that it may show under varying circumstances.

      Modded tooltips often have requirements to hold keys like Shift or Ctrl in order to see more information. With this flag enabled, all information provided by this tooltip should be shown regardless of whether a key is held.

      Returns:
      all information that it may show under varying circumstances