Kirin 1.19.3 for Minecraft 1.21.3
Changelog
- Updated to 1.21.3
- The deprecated
ScrollContainer#scrollbar
has now been removed. Color#argbToHex
, andColor#lerp
are now deprecated and will forward calls to the equivalent method inColorHelper
Color#abgrToArgb
is no longer needed asNativeImage
performs its own conversion, and thus has been deprecatedSkinFilterCallback
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)
andSkinFilterCallback.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 theSupplier<T>
interface- Form elements (Slider, Toggle, EnumSlider) all now have constructors that accept a
Supplier<T>
as their initial value to make combinging themSetting<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