Auto Config Updated API

Auto Config Updated API

5M Downloads

BoundedDiscrete for Floats/Doubles

naqaden opened this issue ยท 2 comments

commented

The option to render sliders for bounded floats/doubles would improve UX for my mod.

I have configs for RGBA values and just like in CSS, RGB values are between 0 and 255 while A is between 0.0 and 1.0. Currently only the RGB values can have sliders, or I have to change A into a 0-255 int.

commented

Consider using @ConfigEntry.ColorPicker on int or long

commented

I was following the Annotations page, but I'll check the class directly. Thanks for the tip!