itzbrown4r

Create a premium Minecraft Fabric 1.21.1 client-side Potion HUD inspired by the clean, modern style of Feather Client. The implementation must be completely original and not copy Feather Client's code or assets.

Requirements:

  • Minecraft Fabric 1.21.1
  • Java 21
  • Client-side only
  • High-performance rendering with minimal FPS impact

HUD Features:

  • Display every active status effect.
  • Show the effect icon.
  • Show the effect name.
  • Display the amplifier as Roman numerals (II, III, IV, etc.).
  • Display the remaining duration in MM:SS format.
  • Automatically hide when no effects are active.
  • Automatically resize based on the number of active effects.
  • Smooth vertical list layout with consistent spacing.

Design:

  • Modern, minimalistic UI.
  • Rounded corners (8–12 px radius).
  • Semi-transparent dark background.
  • Soft shadow around the HUD.
  • Thin colored accent bar or glow matching each potion effect.
  • Clean typography with balanced padding.
  • Pixel-perfect alignment.
  • Professional appearance comparable to high-end Minecraft clients.

Animations:

  • Smooth fade-in and fade-out.
  • Slide animation when appearing or disappearing.
  • Smooth movement when the order of effects changes.
  • Animated timer updates.
  • Easing animations (ease-out cubic).

Customization:

  • Draggable HUD editor.
  • Adjustable position.
  • Adjustable scale (50%–200%).
  • Adjustable opacity.
  • Toggle background.
  • Toggle icons.
  • Toggle animation.
  • Adjustable corner radius.
  • Adjustable padding.
  • Adjustable spacing.
  • Multiple color themes (Dark, Light, Purple, Blue).

Code Quality:

  • Modular and object-oriented.
  • Well documented.
  • Easy to extend.
  • Optimized rendering with minimal object allocation.
  • Clean separation between rendering, animation, and configuration.
  • Follow Fabric API best practices.

The final result should feel smooth, lightweight, modern, and polished, with the overall visual quality of premium Minecraft clients while remaining an original implementation.

Kodari AI
KodariJul 4 at 3:26 am 1

Looking at the docs, I’ll use 1.21.11 with HudElementRegistry and YACL for the config screen. Let me plan and build this Potion HUD.

<|DSML|project_name>PotionHud</|DSML|project_name> <|DSML|project_description>A premium Fabric 1.21.11 client-side Potion HUD that displays active status effects with a modern, minimalistic design. Features include smooth fade-in/out animations, slide transitions, drag-and-drop positioning, configurable appearance via YACL config screen, multiple color themes, adjustable scale/opacity, and rounded-rectangle rendering with soft shadows. Inspired by the clean style of Feather Client but fully original.</|DSML|project_description>

Let me build the entire project. Starting with build files, then config, then rendering pipeline.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code