#**BUG REPORT**

1 messages · Page 1 of 1 (latest)

acoustic plank
#

Is this a problem with normalized float values and uint8 values mixing in without context?

crimson notch
#

No, both are normalized float values.

#

the majority of vanilla code seems to use getColor():getR() but some uses getColorRed(), both are 0~1 scale. I have no idea why there is 2 entirely separate color systems that are 'often' but not always synced.

#

It feels like getColorRed() is some legacy system that should just be abandoned for clarity.
If a second color is needed for some obscure property of items, it should be accessed like getSubColor():getR() to clarify its intended usage as separate from getColor() and prevent bugs.