[Suggestion] Sign Text Alignment & Scaling
Tim3Game opened this issue · 2 comments
Sign Text Alignment
Pack creators would have the ability to align the text in different textLines. Would look much nicer and more realistic.
sign json file:
"textLines" : [
{
"align": "left|center|right"
},
]
For instance here you can see, some of the text is aligned left and some right:
Sign Text Scaling
This would scale the text to fit the defined width, if activated, in the json file. With this, signs wouldn’t need multiple textLines for different sizes, but would simply just set the width and the text would automatically scale to size. And if the author wouldn’t need this behavior on specific lines, he would simply disable it.
sign json file:
"textLines" : [
{
"scaling": "true|false",
"scaleWidth": 5,
},
]
``
The only tricky thing to do on this would be the right-aligned text. MC doesn't allow for such alignment with its standard system, so you'd have to calculate the width of the text and offset the render by that amount. Still, it's do-able, so will do my best to get it working.