I'm trying to add a colorMultiplier to a block and its itemblock, pulling the color from a cut-down EnumDyeColor for it, because I don't want to make textures and blockstates for every single color variant. The textures all work, everything works except I can't get the actual color to change for either.
The particles are properly colored when breaking the blocks so I know it's registered. A chat output on block activation shows BlockColors itself is returning the correct value, so I know the code for that is correct. So I can't figure out where I've gone wrong, or whether I'm missing an obvious thing. Does anything immediately pop out to anyone?
Color registration here.
BlockState JSON for the block here.
Model JSON for the block here.