Modern ui scroll (Unofficial)

"Warning! This mod is AI-generated!" Adds scrolling and stopping functionality to the tooltips in modern UI.

Modern UI Scroll

English | 日本語


English

Modern UI Scroll is a lightweight, client-side utility mod for Minecraft Forge 1.20.1 that enhances tooltip interaction when running alongside the Modern UI mod.

Features

  1. Pause Auto-Scrolling with Shift:
    Holding the Shift key halts Modern UI's automatic marquee tooltip scrolling in place. This lets you inspect large tooltips (such as complex modded items, extensive lore, or NBT data) without the text moving away while reading. Releasing Shift smoothly resumes automatic movement without position jumps.
  2. Browser-Style Shift + Mouse Wheel Scrolling:
    Hold Shift + Mouse Wheel to scroll through tooltips smoothly, just like scrolling a webpage in a browser. It utilizes Modern UI's built-in physics engine to provide smooth deceleration easing.
  3. Rock-Solid Compatibility & Bug Prevention:
    Screen scroll events (ScreenEvent.MouseScrolled.Pre) are consumed (setCanceled(true)) exclusively when an overflowing tooltip is active and Shift is held. This prevents unintended item movement in inventories, accidental JEI/REI/EMI page turns, or chat scrolling.
  4. Zero Overhead & Fail-Safe Architecture:
    Uses non-invasive bytecode hooks and safe IMixinConfigPlugin checks. If Modern UI is disabled or absent, the mod gracefully idles without crashes or performance loss.
  5. Fully Configurable:
    Easily adjust scroll step (sensitivity), toggle smooth animations, invert scroll direction, or tweak pause behaviors via modernuiscroll-client.toml.

Requirements

  • Minecraft: 1.20.1
  • Mod Loader: Minecraft Forge (47.1.0 or newer recommended)
  • Dependency: Modern UI (Forge 1.20.1)
 

 

License

This mod is dual-licensed under LGPL-3.0-or-later OR GPL-3.0-or-later to preserve full compatibility with Modern UI while upholding GPL open-source principles.


日本語

Modern UI Scroll は、Minecraft Forge 1.20.1 において Modern UI 導入時のツールチップ操作性を大幅に向上させる軽量なクライアントサイドMODです。

主な特徴

  1. Shiftキーで自動スクロールを一時停止(フリーズ):
    画面外にはみ出る長文ツールチップを表示中、Shiftキー を押すだけで Modern UI の自動スクロール(マーキー往復)がその場で停止します。長い説明文やステータス、NBTデータをじっくり読みたい時にテキストが勝手に動いてしまうのを防ぎます。Shiftキーを離すと位置がワープすることなく滑らかに再開します。
  2. ブラウザ風 Shift + マウスホイールスクロール:
    Shift + マウスホイール で、Webブラウザのように直感的かつ自由にツールチップを上下スクロールできます。Modern UI内蔵の減速イージング物理コントローラーを活用し、極上のスムーズスクロール体験を提供します。
  3. 徹底した互換性保持と誤動作防止:
    画面外にはみ出しているスクロール可能なツールチップが表示されている時のみスクロールイベントを消費(キャンセル)します。これにより、ツールチップをスクロールしようとした際にインベントリ内のアイテムスロットが移動してしまったり、JEI/REI/EMIのレシピページが勝手にめくれたり、チャットログがスクロールしてしまう等の他MOD・バニラとの競合バグを100%防止します。
  4. ゼロオーバーヘッド&安全なフェイルセーフ設計:
    非侵襲的(Non-invasive)なMixin設計とMixinPluginによるクラス存在チェックを採用。Modern UI未導入時や初期化途中でもクラッシュせず安全に待機します。
  5. 充実したコンフィグ設定:
    スクロール感度(1ノッチあたりの移動量)、スムーズアニメーションのON/OFF、スクロール方向の反転、Shift時の停止挙動など、好みに合わせて modernuiscroll-client.toml から自由にカスタマイズ可能です。

導入環境・前提MOD

  • Minecraft: 1.20.1
  • Mod Loader: Minecraft Forge (47.1.0 以降推奨)
  • 前提MOD: Modern UI (Forge 1.20.1)
 

 

ライセンス

本MODは、参照・連携元である Modern UI(LGPL-3.0-or-later)との完全な法的整合性を保ち、かつGPLオープンソース原則を遵守するため、LGPL-3.0-or-later または GPL-3.0-or-later のデュアルライセンスとして公開されています。

Modern ui scroll (Unofficial) Team

profile avatar
  • 2
    Followers
  • 24
    Projects
  • 1.0K
    Downloads

A lazy, greedy, foolish, and childish person who has many ideas but completely delegates the coding to AI.

More from kaitu710View all