Page 1 of 1

Add "placeable-off-grid" to flying-text

Posted: Mon Jun 05, 2017 1:53 am
by Mooncat
Request:
Add the flag "placeable-off-grid" to the vanilla flying-text entity, so we don't need to modify it or create a new one.


During the update of Copy & Paste Modules, I managed to replicate the item insertion message flying text:
Image
AFAIK there is no API that can create the text without mining the entity. Correct me if I'm wrong.
But with the help of the other APIs, it is not so difficult to replicate it.
The problem is when multiple item types are being inserted, the y-offset between the previous flying text and the next one is 0.5, but since flying-text is not placeable off grid, such offset will be ignored, unless we add the "placeable-off-grid" flag to it.

Re: Add "placeable-off-grid" to flying-text

Posted: Fri Jun 09, 2017 12:50 am
by 321freddy
I would like to add that adding "placeable-off-grid" to a flying text is bugged. Zooming in and out changes the x and y coordinates of the text relative to it's origin even if the text is not supposed to move at all. This makes multiline text very hard to do since it might look perfectly fine when fully zoomed in but is overlapping and way off it's origin when zoomed out.

Re: Add "placeable-off-grid" to flying-text

Posted: Fri Jun 09, 2017 5:35 am
by Rseding91
321freddy wrote:I would like to add that adding "placeable-off-grid" to a flying text is bugged. Zooming in and out changes the x and y coordinates of the text relative to it's origin even if the text is not supposed to move at all. This makes multiline text very hard to do since it might look perfectly fine when fully zoomed in but is overlapping and way off it's origin when zoomed out.
Flying text was never designed to do multi-line and as such is working correctly based off how we designed it and it's normal use.