Skip to content

Kirin 1.19.3 for Minecraft 1.21.3

Compare
Choose a tag to compare
@Sollace Sollace released this 14 Nov 17:03
· 11 commits to 1.21 since this release
d9feff1

Changelog

  • Updated to 1.21.3
  • The deprecated ScrollContainer#scrollbar has now been removed.
  • Color#argbToHex, and Color#lerp are now deprecated and will forward calls to the equivalent method in ColorHelper
  • Color#abgrToArgb is no longer needed as NativeImage performs its own conversion, and thus has been deprecated
  • SkinFilterCallback now receives the original width and height of the element being converted and can now return a different (or the same) NativeImage. Note that implementors are required to handle cleaning up the old image if they do return a new instance.
  • Added static SkinFilterCallback.isLegacyAspectRatio(w, h) and SkinFilterCallback.getResolutionScale(w, h).
  • Added better error handling to the ItemStackSprite so failing to render the sprite will only cause the sprite to not render rather than crashing the entire game
  • Setting<T> objects now implement the Supplier<T> interface
  • Form elements (Slider, Toggle, EnumSlider) all now have constructors that accept a Supplier<T> as their initial value to make combinging them Setting<T> from the config system easier

Installation (Users):

This is an internal API made available for other mods to use.
You should not install it directly.

Installation (Modders):

Maven: http://repo.minelittlepony-mod.com/maven/release
Dependency: com.minelittlepony:Kirin:1.19.3+1.21.3