promotional bannermobile promotional banner

toucanLib

Small shared multi-loader utility helpers for jvn's mods.
Back to Files

toucanlib-neoforge-1.21.1-0.4.0.jar

File nametoucanlib-neoforge-1.21.1-0.4.0.jar
Uploader
jvnjvn
Uploaded
Aug 12, 2026
Downloads
305
Size
189.2 KB
Mod Loaders
NeoForge
File ID
8628665
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:toucanlib-1542666:8628665"

Learn more about Curse Maven

What's new

Added

  • Added ToucanCrosshairCooldownIndicators for reusable hand-oriented cooldown icons beside the crosshair.

    • Positions indicators according to the player’s physical arm.
    • Automatically mirrors sprites on the right side.
    • Fills recovery progress toward the crosshair.
    • Stacks multiple visible indicators outward in registration order.
    • Respects the vanilla crosshair attack-indicator setting and rendering state.
    • Supports uniquely identified, removable registrations.
  • Added ToucanSkyDome for generating reusable position-only spherical dome vertex buffers for sky effects.

  • Added ToucanScaledAnimationClock for discontinuity-safe, variable-speed animation timing.

  • Added ToucanPlayerSkinResolver for non-blocking UUID-based player-skin resolution with:

    • Live-player skin reuse.
    • Authenticated profile loading.
    • UUID-based fallback skins.
    • Bounded caching.
    • Failed-lookup throttling.
  • Added cross-loader hovered-slot interaction routing with:

    • Modifier-key snapshots.
    • Deterministic handler ordering.
    • Removable registrations.
    • Explicit vanilla-click consumption.
    • Slot, menu, carried-stack, and pointer context.
  • Added reusable visual-slot utilities for:

    • Slot bounds and registration.
    • Hover hit testing.
    • Item, highlight, and count-label rendering.
    • Modifier-aware amount scrolling.
    • Source-stack reservation.
    • Unnumbered preview icons.
    • Hidden give-all sentinel handling.
    • Bounded item tooltips.
    • Component-key reveal hints.
  • Added progressive tooltip composition with:

    • Compact and expanded alternatives.
    • Lazy hidden-branch evaluation.
    • Current keybinding hints.
    • Custom predicates and key chords.
    • Standard 1/5/10/100 scroll instructions.
  • Added ToucanItemStateCycle for ordered component-backed item states with:

    • Forward and reverse wrapping.
    • Enum support.
    • Unknown-state recovery.
    • Default-component removal.
  • Added ToucanClientFeedback for standard action-bar messages and UI sounds for confirmed or rejected interactions.

  • Added ToucanLimitFeedback for reusable tick-based limit feedback.

  • Added ToucanModelPartAnchors for reusable model-part anchor calculations and cube access.

  • Added ToucanPostChain for reusable post-processing chain management.

  • Added ToucanBoundedCache.

  • Added ToucanColorValues for loader-neutral RGB/ARGB packing and color parsing.

  • Added ToucanItemCustomData helpers.

  • Added ToucanSegmentAabbs for generating segmented bounding boxes.

  • Added ToucanEntityLookup helpers.

  • Added vector stream codecs through ToucanStreamCodecs.

  • Added deterministic, allocation-free unit-float and signed mutable-random helpers to ToucanRandom.

  • Added double-precision smootherstep and clamping helpers to ToucanEasing.

  • Added optional NeoForge shader registration.

  • Added two-, three-, and four-component float uniform setters to ToucanShaders.

  • Added simplified NeoForge config-screen factory helpers.

  • Added supporting HUD, container-screen, model-part, and GuiGraphics mixins.

  • Added tests covering the new interaction, tooltip, rendering, timing, random, caching, networking, state-cycle, skin-resolution, and crosshair-indicator APIs.

Changed

  • Changed the project license from GNU GPL v3.0 to All Rights Reserved.
  • Expanded the README with examples for player skins, progressive tooltips, item states, hovered-slot interactions, and sky-dome rendering.
  • Expanded the API documentation to include the new client interaction, tooltip, rendering, animation, random, and crosshair cooldown APIs.

This mod has no additional files