Skip to content

choc422/GlowPick

Repository files navigation

GlowPick

A small client-side Fabric mod that highlights newly received items in your inventory with a soft pulsing glow colored by item rarity.

  • Minecraft: 1.21.5 — 1.21.11 (separate branch per version)
  • Loader: Fabric
  • Side: client-only (works on any server)
  • Author: choco422
  • License: MIT

Available builds / branches

Branch Minecraft Build status
master 1.21.5 (development) builds
1.21.5 1.21.5 builds
1.21.6 1.21.6 builds
1.21.7 1.21.7 builds
1.21.8 1.21.8 builds
1.21.9 1.21.9 builds
1.21.10 1.21.10 builds
1.21.11 1.21.11 builds
26.1 26.1 placeholder — waiting on Fabric
26.1.1 26.1.1 placeholder — waiting on Fabric
26.1.2 26.1.2 placeholder — waiting on Fabric

Each version branch has its own gradle.properties pinned to the matching yarn / fabric-api versions. To add a new MC version, branch from master and run scripts/update-version.sh <mc> <yarn> <fabric-api>.

The 26.x branches exist as placeholders — Fabric has not yet published yarn mappings or a working fabric-api artifact for these versions, so the build will fail on them. The CI matrix marks them as continue-on-error. Once Fabric publishes, run scripts/update-version.sh on the corresponding branch and the build should start passing.

Final jars are produced as build/libs/glowpick_<mc>_<mod_version>.jar, e.g. glowpick_1.21.5_1.0.0.jar.

CI on GitHub Actions builds every branch on push (.github/workflows/build.yml).


English

What it does

When you pick up an item from the ground, receive one via /give, or place an item into your inventory through the creative menu, a small 5×5 indicator appears in the top-left corner of the inventory slot. The color of the indicator matches the item's rarity:

Rarity Color
Common White
Uncommon Gold
Rare Cyan
Epic Purple

The indicator pulses slowly (about a 2.25-second cycle) to draw a calm, ambient attention without being distracting.

The mark is removed automatically when:

  • you select the slot in the hotbar (the item is held in hand), or
  • you hover over the slot in an inventory screen.

Items that were already in your inventory at the moment you joined the world are not marked — only genuinely new items are.

Features

  • Top-left in-slot indicator, both in the hotbar and in open inventory screens.
  • Three concentric layers (halo / core / center pixel) for a soft glow effect.
  • Color matches DataComponentTypes.RARITY, including modded items that set their rarity.
  • Creative inventory placement is detected and marked.
  • All rendering and event handlers are wrapped in error guards, so the mod cannot crash the client.

Installation

  1. Install Fabric Loader for Minecraft 1.21.5.
  2. Install Fabric API.
  3. Drop glowpick-1.0.jar into your mods folder.

Building from source

./gradlew build

The resulting jar will be in build/libs/.


Русский

Что делает

Когда вы поднимаете предмет с земли, получаете его командой /give или кладёте предмет в инвентарь через креативное меню, в верхнем-левом углу слота появляется небольшой индикатор 5×5 пикселей. Цвет индикатора соответствует редкости предмета:

Редкость Цвет
Common Белый
Uncommon Золотой
Rare Голубой
Epic Фиолетовый

Индикатор медленно пульсирует (период около 2.25 секунды), чтобы спокойно привлекать внимание, не раздражая.

Метка снимается автоматически, когда:

  • вы выбираете слот в хотбаре (предмет в руке), либо
  • наводите курсор на слот в открытом инвентаре.

Предметы, которые уже лежали в инвентаре в момент входа в мир, не помечаются — выделяются только действительно новые.

Возможности

  • Индикатор в верхнем-левом углу слота, как в хотбаре, так и во всех открытых инвентарях.
  • Три концентрических слоя (внешнее свечение / ядро / центральный пиксель) для мягкого пульсирующего эффекта.
  • Цвет берётся из DataComponentTypes.RARITY — поддерживаются модовые предметы со своей редкостью.
  • Корректно отслеживается выдача предметов через креативное меню.
  • Все рендер- и событийные обработчики обёрнуты в защиту от ошибок — мод не способен уронить клиент.

Установка

  1. Установите Fabric Loader для Minecraft 1.21.5.
  2. Установите Fabric API.
  3. Положите glowpick-1.0.jar в папку mods.

Сборка из исходников

./gradlew build

Готовый jar появится в build/libs/.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors