Apollo
Developers
Mods
ScrollableTooltips

Scrollable Tooltips

Use your scroll wheel to read overly long item descriptions.

Integration

How to toggle the mod

public void toggleScrollableTooltipsExample(Player viewer, boolean value) {
    Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
    apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModScrollableTooltips.ENABLED, value));
}

Available options

  • ENABLED

    • Config Key: enabled
    • Values
      • Type: Boolean
      • Default: false
  • START_AT_TOP

    • When a tooltip is sufficiently long, overflow off the bottom/right of the screen instead of the top/left.
    • Config Key: start-at-top
    • Values
      • Type: Boolean
      • Default: true
  • VERTICAL_KEYBIND

    • Config Key: vertical-keybind
    • Values
      • Type: Boolean
      • Default: false
  • TOOLTIP_SCALE

    • Config Key: tooltip-scale
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 0.25F
      • Maximum: 2.5F
  • TOOLTIP_FREE_SCROLL

    • Let the user scroll whenever they want, regardless of whether or not a tooltip is sufficiently large.
    • Config Key: tooltip-free-scroll
    • Values
      • Type: Boolean
      • Default: false