promotional bannermobile promotional banner

Amber Lib

A library of commonly used functionality for iamkaf mods.

File Details

amber-fabric-9.0.1+1.21.11

  • R
  • Dec 19, 2025
  • 275.36 KB
  • 948
  • 1.21.11
  • Fabric

File Name

amber-fabric-9.0.1+1.21.11.jar

Supported Versions

  • 1.21.11

Curse Maven Snippet

Fabric

modImplementation "curse.maven:amber-lib-1139910:7355009"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

See the full changelog at https://github.com/iamkaf/amber

9.0.0

Changed

  • Updated to Minecraft 1.21.11

Added

  • Added consolidated API utility classes in api.functions.v1 package:
    • PlayerFunctions - Player operations, experience, abilities, inventory, messaging
    • ItemFunctions - Item/inventory operations, armor management, crafting utilities
    • WorldFunctions - World utilities, sounds, dimension checks, distance calculations
    • ClientFunctions - Client-side utilities, HUD rendering, tooltips
    • MathFunctions - Mathematical operations, probability, random generation
  • Added ItemEvents.MODIFY_DEFAULT_COMPONENTS - Allows mods to modify default item properties and add custom data components with cross-platform support
  • Added PlayerEvents.SHIELD_BLOCK - Fires when players block damage with shields, providing access to shield data for combat mechanics and shield systems

Deprecated

  • Deprecated legacy utility classes in favor of consolidated api.functions.v1 package:
    • InventoryHelper, ItemHelper, ArmorTierHelper → Use ItemFunctions
    • LevelHelper, SoundHelper, CommonUtils, BoundingBoxMerger → Use WorldFunctions
    • FeedbackHelper → Use PlayerFunctions
    • CommonClientUtils, SmartTooltip → Use ClientFunctions
    • Chance → Use MathFunctions
  • Legacy utility classes will be removed in Amber 10.0
  • Creative tabs moved to registry.v1 package

Removed

  • Removed deprecated and unused classes:
    • JsonFileReader - Unused configuration class that was deprecated in favor of JsonConfigManager
    • LiteralSetHolder - Unused utility class that had no references in the codebase
    • AmberMod (deprecated v1 version) - Unused legacy initialization class, replaced by AmberInitializer
    • BrewingHelper - Never implemented brewing functionality that was planned but never developed
  • Removed deprecated SmartTooltip.into() method in favor of the Consumer-based implementation

Types of changes

  • Added for new features.
  • Changed for changes in existing functionality.
  • Deprecated for soon-to-be removed features.
  • Removed for now removed features.
  • Fixed for any bug fixes.
  • Security in case of vulnerabilities.